Jean-Sebastien Delfino wrote:
I have been looking into JIRA issue 1676, reporting that our top-down
build is broken.
With the fixes that went into SVN revision r583587, people should now
be able to build the whole java/sca tree from an empty Maven
repository on Maven 2.0.7.
P.S. Thanks to Luciano and Raymond for helping troubleshoot the build
issues.
So that was for the good news.
The bad news is that the build machine at
http://vmbuild1.apache.org/continuum uses JDK6. This breaks our build
again as JDK 6 ships JAXB and JAXWS 2.0, older than the JAXB and JAXWS
2.1 that we're using in Tuscany.
It looks like many other projects are running into this 2.0 vs 2.1 issue
with JAX-* and JDK6 as well...
Here are a few options to fix our build:
1) Ask the build team to run our build with JDK5
2) Ask the build team to run our build with MAVEN_OPTS -Djava.endorsed.dirs
3) Patch the JDK6 on the build machine and copy the JAXB and JAX-WS API
Jars to a <JRE>/lib/endorsed directory
4) Port Tuscany back to JAXB and JAX-WS 2.0
5) Tweak the few pom.xml files that generate/compile/run JAXB/JAXWS code
to pass -Djava.endorsed.dirs to the relevant plugins/tasks/classes.
I'm investigating option (5) right now, plowing through pom.xml files
and Maven plugin configuration... as I think that supporting JDK 6 will
be good anyway and that it's also better to avoid requiring special
Maven command line options as everybody will run into this... but at
this point I'm not sure that I'll be able to get it working.
What do people think?
--
Jean-Sebastien
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]