Luciano Resende wrote:
This change breaks the build using JDK 5 for me. Moving the pom.xml to
a revision previous to this change allow me to build ok. Should we use
a profile activated by JDK version ?
Builds with both JDK5 and JDK6 worked for me, but I'm starting to have a
little too many combinations with the different JDKs and Maven levels,
so I may have missed something... What error are you getting?
On 10/10/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Author: jsdelfino
Date: Wed Oct 10 16:22:16 2007
New Revision: 583639
URL: http://svn.apache.org/viewvc?rev=583639&view=rev
Log:
Configure surefire plugin to use JAXB 2.1 using the endorsed lib mechanism to
get it to build on JDK6 as this is what the nightly build machine uses.
Modified:
incubator/tuscany/java/sca/modules/databinding-jaxb/pom.xml
Modified: incubator/tuscany/java/sca/modules/databinding-jaxb/pom.xml
URL:
http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/databinding-jaxb/pom.xml?rev=583639&r1=583638&r2=583639&view=diff
==============================================================================
--- incubator/tuscany/java/sca/modules/databinding-jaxb/pom.xml (original)
+++ incubator/tuscany/java/sca/modules/databinding-jaxb/pom.xml Wed Oct 10
16:22:16 2007
@@ -107,6 +107,13 @@
<build>
<plugins>
<plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+
<argLine>-Djava.endorsed.dirs=${settings.localRepository}/javax/xml/bind/jaxb-api/2.1</argLine>
+ </configuration>
+ </plugin>
+ <plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>1.0</version>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Jean-Sebastien
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]