I am using maven for build on our purposes, I need to copy the javascript resources to a folder, can the folder name be the buildnumber , can we do this. I am planning to copy the javascript files to a folder name with build number and trying to write the build number in manifest file also to get this in JSP, could you please tell how i can implement this
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>2.6</version>
<executions>
<execution>
<id>copy-prod-resources</id>
<phase>process-resources</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<encoding>UTF-8</encoding>
<configuration>
<outputDirectory>${basedir}/target/cp/BUILD NUMBER /js</outputDirectory>
<resources>
<resource>
<directory>${basedir}/src/main/webapp/js</directory>
<filtering>true</filtering>
</resource>
</resources>
</configuration>
</execution>
</executions>
can I have some way to give the build number in this logic instead of the BUILD NUMBER text
Regards Hari