Open btiernay opened 11 years ago
Hi @btiernay, yes. You need to change the following lines of the pom.xml
file:
<plugin>
<groupId>org.mule.tools.javascript</groupId>
<artifactId>npm-maven-plugin</artifactId>
<version>1.1-SNAPSHOT</version>
<executions>
<execution>
<phase>generate-sources</phase>
<goals>
<goal>fetch-modules</goal>
</goals>
<configuration>
<outputDirectory>${basedir}/src/main/resources/META-INF/node_modules</outputDirectory>
<packages>
<package>mocha:1.4.2</package>
<package>chokidar:0.5.1</package>
<package>brunch:1.4.4</package>
</packages>
</configuration>
</execution>
</executions>
</plugin>
Change brunch:1.4.4
with the version you want to use. Hope it helps!
Thanks
Great. I suppose I would need to build in order to do this?
Thanks again!
Yes. It would be great if you can send me a pull request (so I can update it to the latest brunch version).
Thanks in advance,
Is it possible to make the version of brunch configurable?
Cheers!