Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Duplicate
-
Affects Version/s: 1.2
-
Fix Version/s: None
-
Labels:None
-
Number of attachments :
Description
We have public interface BuildConstants extends ConstantsWithLookup
which has a String projectVersion();
The property file src/main/filtered-resources/.../BuildConstants.properties
contains projectVersion=$
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.
Issue Links
- duplicates
-
MGWT-216
Resource Filtering, does not filter all copy's of the resources.
-
can you try with the trunk and using the copyWebapp mojo parameter ? (-Dgwt.copyWebapp=true)