have an inplace-clean goal
--------------------------
Key: MOJO-1034
URL: http://jira.codehaus.org/browse/MOJO-1034
Project: Mojo
Issue Type: New Feature
Components: javascript-tools
Reporter: Jim Sellers
It would be great if there was a mojo that could clean any files copied into
the src/main/webapp because of the inplace goal.
That way the knowledge of the script location doesn't have to "leak" to another
plugin config.
Then the config for the js tools could be done like this:
<plugin>
<groupId>org.codehaus.mojo.javascript</groupId>
<artifactId>javascript-maven-plugin</artifactId>
<extensions>true</extensions>
<executions>
<execution>
<phase>generate-sources</phase>
<goals>
<goal>inplace</goal>
</goals>
<configuration>
<useArtifactId>true</useArtifactId>
</configuration>
</execution>
<execution>
<phase>clean</phase>
<goals>
<goal>inplace-clean</goal>
</goals>
<configuration>
<useArtifactId>true</useArtifactId>
</configuration>
</execution>
</executions>
</plugin>
Does that make sense? Let me know if I'm missing something or going against
the "maven way".
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email