You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commons-dev@ws.apache.org by ve...@apache.org on 2010/09/27 23:19:38 UTC
svn commit: r1001914 -
/webservices/commons/trunk/modules/axiom/modules/axiom-api/pom.xml
Author: veithen
Date: Mon Sep 27 21:19:37 2010
New Revision: 1001914
URL: http://svn.apache.org/viewvc?rev=1001914&view=rev
Log:
Added a Maven profile that allows to easily add IBM's XLXP2 to the StAX dialect test suite if a local WAS 7 installation is available. Note that since XLXP2's charset encoding algorithm is broken (as of WAS 7.0.0.11), activating this profile will actually cause test failures.
Modified:
webservices/commons/trunk/modules/axiom/modules/axiom-api/pom.xml
Modified: webservices/commons/trunk/modules/axiom/modules/axiom-api/pom.xml
URL: http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/axiom-api/pom.xml?rev=1001914&r1=1001913&r2=1001914&view=diff
==============================================================================
--- webservices/commons/trunk/modules/axiom/modules/axiom-api/pom.xml (original)
+++ webservices/commons/trunk/modules/axiom/modules/axiom-api/pom.xml Mon Sep 27 21:19:37 2010
@@ -221,4 +221,43 @@
</plugin>
</plugins>
</build>
+ <profiles>
+ <profile>
+ <!-- This profile adds IBM's XLXP2 StAX implementation to the dialect test suite
+ if the was7.root property is set to the root directory of a WAS 7.0 installation -->
+ <id>test-xlxp2</id>
+ <activation>
+ <property>
+ <name>was7.root</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-resources-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>copy-xlxp2</id>
+ <phase>generate-test-resources</phase>
+ <goals>
+ <goal>copy-resources</goal>
+ </goals>
+ <configuration>
+ <outputDirectory>${project.build.directory}/parsers</outputDirectory>
+ <resources>
+ <resource>
+ <directory>${was7.root}/plugins</directory>
+ <includes>
+ <include>com.ibm.ws.prereq.xlxp.jar</include>
+ </includes>
+ </resource>
+ </resources>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>