Yes, exactly same thing here... Java SDK : java version "1.5.0_11" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_11-b03) Java HotSpot(TM) Client VM (build 1.5.0_11-b03, mixed mode, sharing)
Maven : Maven version: 2.0.7 Java version: 1.5.0_11 OS name: "windows xp" version: "5.1" arch: "x86" [INFO] Compiling 15 source files to D:\dev\Opensource\Apache\Tuscany\source\java-sca-data\modules\databinding-jaxb\target\test-classes [INFO] [surefire:test] [INFO] Surefire report directory: D:\dev\Opensource\Apache\Tuscany\source\java-sca-data\modules\databinding-jaxb\target\surefire-reports java.lang.NoClassDefFoundError: and Exception in thread "main" [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] There are test failures. [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 57 seconds [INFO] Finished at: Thu Oct 11 23:19:55 PDT 2007 [INFO] Final Memory: 8M/15M [INFO] ------------------------------------------------------------------------ On 10/11/07, Venkata Krishnan <[EMAIL PROTECTED]> wrote: > Its the same with me too... here is what I get.. > > [INFO] [compiler:compile] > [INFO] Compiling 9 source files to > F:\LatestTrunk\sca\modules\databinding-jaxb\target\classes > [INFO] [jaxb:generate {execution: generate-jaxb}] > [INFO] > F:\LatestTrunk\sca\modules\databinding-jaxb\target\jaxb-source\com\example\ipo\jaxb > is not found and thus excl > uded from the dependency check > [INFO] Compiling > file:/F:/LatestTrunk/sca/modules/databinding-jaxb/src/test/resources/ipo.xsd > [INFO] Writing output to > F:\LatestTrunk\sca\modules\databinding-jaxb\target\jaxb-source > [INFO] [resources:testResources] > [INFO] Using default encoding to copy filtered resources. > [INFO] [compiler:testCompile] > [INFO] Compiling 15 source files to > F:\LatestTrunk\sca\modules\databinding-jaxb\target\test-classes > [INFO] snapshot > org.apache.maven.surefire:surefire-booter:2.3.1-SNAPSHOT:checking for > updates from > java.net > [INFO] snapshot > org.apache.maven.surefire:surefire-booter:2.3.1-SNAPSHOT:checking for > updates from > apache.snapshots > [INFO] snapshot > org.apache.maven.surefire:surefire-booter:2.3.1-SNAPSHOT:checking for > updates from codehaus-snapshot > > [INFO] snapshot > org.apache.maven.surefire:surefire-booter:2.3.1-SNAPSHOT:checking for > updates from > apache.incubator > [INFO] snapshot > org.apache.maven.surefire:surefire-api:2.3.1-SNAPSHOT:checking for > updates from > java.net > [INFO] snapshot > org.apache.maven.surefire:surefire-api:2.3.1-SNAPSHOT:checking for > updates from > apache.snapshots > [INFO] snapshot > org.apache.maven.surefire:surefire-api:2.3.1-SNAPSHOT:checking for > updates from codehaus-snapshot > [INFO] snapshot > org.apache.maven.surefire:surefire-api:2.3.1-SNAPSHOT:checking for > updates from > apache.incubator > [INFO] [surefire:test] > [INFO] snapshot > org.apache.maven.surefire:surefire-junit4:2.3.1-SNAPSHOT:checking for > updates from > java.net > [INFO] snapshot > org.apache.maven.surefire:surefire-junit4:2.3.1-SNAPSHOT:checking for > updates from > apache.snapshots > [INFO] snapshot > org.apache.maven.surefire:surefire-junit4:2.3.1-SNAPSHOT:checking for > updates from codehaus-snapshot > > [INFO] snapshot > org.apache.maven.surefire:surefire-providers:2.3.1-SNAPSHOT:checking > for updates from > java.net > [INFO] snapshot > org.apache.maven.surefire:surefire-providers:2.3.1-SNAPSHOT:checking > for updates from > apache.snapsho > ts > [INFO] snapshot > org.apache.maven.surefire:surefire-providers:2.3.1-SNAPSHOT:checking > for updates from codehaus-snaps > hot > [INFO] Surefire report directory: > F:\LatestTrunk\sca\modules\databinding-jaxb\target\surefire-reports > java.lang.NoClassDefFoundError: and > Exception in thread "main" > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] There are test failures. > [INFO] > ------------------------------------------------------------------------ > [INFO] For more information, run Maven with the -e switch > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 10 seconds > [INFO] Finished at: Fri Oct 12 10:36:54 IST 2007 > [INFO] Final Memory: 8M/17M > [INFO] > ------------------------------------------------------------------------ > > - Venkat > > On 10/11/07, Jean-Sebastien Delfino <[EMAIL PROTECTED]> wrote: > > > > 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] > > > > > -- Luciano Resende Apache Tuscany Committer http://people.apache.org/~lresende http://lresende.blogspot.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]