Maven resource filtering should work for resources used by the GWT plugin
-------------------------------------------------------------------------
Key: MGWT-222
URL: http://jira.codehaus.org/browse/MGWT-222
Project: Maven 2.x GWT Plugin
Issue Type: Bug
Affects Versions: 1.2
Reporter: Geoffrey De Smet
We have public interface BuildConstants extends ConstantsWithLookup
which has a String projectVersion();
The property file src/main/filtered-resources/.../BuildConstants.properties
contains projectVersion=${pom.version}
The pom.xml contains the necessary plumbing:
<build>
<resources>
<resource>
<directory>src/main/resources</directory>
</resource>
<resource>
<directory>src/main/filtered-resources</directory>
<filtering>true</filtering>
</resource>
</resources>
...
After I run "mvn clean install" the file
target.classes/.../BuildConstants.properties
contains projectVersion=5.2.0-SNAPSHOT
yes in the GWT application "mvn gwt:run" it still shows ${pom.version} because
the GWT compiler is run with src/main/resources instead of target/classes
apparently.
Relates to MGWT-216.
--
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