Author: aheritier
Date: 2010-04-27 12:42:05 -0400 (Tue, 27 Apr 2010)
New Revision: 2845
Modified:
components/wsrp/trunk/common/pom.xml
components/wsrp/trunk/common/src/test/java/org/gatein/wsrp/WSRPConstantsTestCase.java
Log:
WORKAROUND for :
http://jira.codehaus.org/browse/MRESOURCES-104 - there is a @ charcter in
header
Modified: components/wsrp/trunk/common/pom.xml
===================================================================
--- components/wsrp/trunk/common/pom.xml 2010-04-27 16:37:20 UTC (rev 2844)
+++ components/wsrp/trunk/common/pom.xml 2010-04-27 16:42:05 UTC (rev 2845)
@@ -82,5 +82,17 @@
<filtering>true</filtering>
</resource>
</resources>
+ <plugins>
+ <!-- WORKAROUND for :
http://jira.codehaus.org/browse/MRESOURCES-104 -->
+ <plugin>
+ <artifactId>maven-resources-plugin</artifactId>
+ <configuration>
+ <delimiters>
+ <delimiter>${*}</delimiter>
+ </delimiters>
+ <useDefaultDelimiters>false</useDefaultDelimiters>
+ </configuration>
+ </plugin>
+ </plugins>
</build>
-</project>
\ No newline at end of file
+</project>
Modified:
components/wsrp/trunk/common/src/test/java/org/gatein/wsrp/WSRPConstantsTestCase.java
===================================================================
---
components/wsrp/trunk/common/src/test/java/org/gatein/wsrp/WSRPConstantsTestCase.java 2010-04-27
16:37:20 UTC (rev 2844)
+++
components/wsrp/trunk/common/src/test/java/org/gatein/wsrp/WSRPConstantsTestCase.java 2010-04-27
16:42:05 UTC (rev 2845)
@@ -35,7 +35,7 @@
{
// should be equals to the interpolated ${project.version} value,
"1.1.0-CR02-SNAPSHOT" when written
// assertEquals("1.1.0-CR02-SNAPSHOT",
WSRPConstants.WSRP_SERVICE_VERSION);
-// System.out.println("WSRPConstants.WSRP_SERVICE_VERSION = " +
WSRPConstants.WSRP_SERVICE_VERSION);
-//
assertFalse(WSRPConstants.WSRP_SERVICE_VERSION.equals("${project.version}"));
+ System.out.println("WSRPConstants.WSRP_SERVICE_VERSION = " +
WSRPConstants.WSRP_SERVICE_VERSION);
+
assertFalse(WSRPConstants.WSRP_SERVICE_VERSION.equals("${project.version}"));
}
}