I am new to using maven, but understand a little.
I need to create a pom file that makes the destination of a minified file be
where the source file is.
here is a snippet of my code
<plugins>
<plugin>
<groupId>com.samaxes.maven</groupId>
<artifactId>maven-minify-plugin</artifactId>
<version>1.3.5</version>
<executions>
<execution>
<id>default-minify</id>
<phase>process-resources</phase>
<configuration>
<cssSourceDir>css</cssSourceDir>
<cssSourceFiles>
<cssSourceFile>src/main/**/*.css</cssSourceFile>
</cssSourceFiles>
<cssFinalFile>style.css</cssFinalFile>
<jsSourceDir>js</jsSourceDir>
<jsSourceFiles>
<jsSourceFile>tablefilter.js</jsSourceFile>
</jsSourceFiles>
<jsFinalFile>script.js</jsFinalFile>
</configuration>
<goals>
<goal>minify</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
I also need it to search for all js and css files in the subfolders.
Please let me know if you guys need any more info. Thanks
--
View this message in context:
http://maven.40175.n5.nabble.com/Make-Source-directory-the-Destination-directory-tp5323988p5323988.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]