Hi,
I saw same problem both for trunk and 3.2 branch after clean up my local repo, before I clean up, everything is ok. I think it's the same problem with another thread "JDK required to build and run servicemix-3-SNAPSHOT"

create jira [1] to track it

[1]https://issues.apache.org/activemq/browse/SM-1312

Freeman

Nico74 wrote:
No


cmoulliard wrote:
Is it working for you now ? If yes, what have you done ?



Nico74 wrote:
nico74 wrote:
Hello all,

I have the same problem and I make differents tests : changing maven
version, jdk version (1.5.10, 1.5.15, 1.6.4 ..), manually download jaxb
versions ... with always the same result. The only difference with
working configuration is that I use XP.
Regards,

Nicolas


cmoulliard wrote:
Bruce,

I use the maven commands mentioned in your email.

mvn -Dmaven.test.skip=true -Pstep1 install
mvn -Dmaven.test.skip=true -Pstep2 install

My JDK is : Java(TM) 2 Runtime Environment, Standard Edition (build
1.5.0_15-b04)

My OS is Windows XP

The problem is always there even if I clean = delete all the jar/POM
files downloaded previously from my maven repository.
Regards,

Charles


bsnyder wrote:
On Mon, Apr 7, 2008 at 4:31 AM, cmoulliard <[EMAIL PROTECTED]>
wrote:
 Hi,

 When I try to build the last code available from SVN using maven
command, I
 receive the following error during the build of the module
 servicemix-wsn2005 ?

 Retrieving schema at 'ws-addr.xsd', relative to

'file:/D:/Soft/opensource/apache-servicemix-3.x/deployables/serviceengin

es/servicemix-wsn2005/src/main/resources/org/apache/servicemix/wsn/br-2.xsd'.
 [INFO]

------------------------------------------------------------------------
 [ERROR] FATAL ERROR
 [INFO]

------------------------------------------------------------------------
 [INFO] com/sun/istack/SAXParseException2
 [INFO]

------------------------------------------------------------------------
 [INFO] Trace
 java.lang.NoClassDefFoundError: com/sun/istack/SAXParseException2
        at
com.sun.tools.xjc.api.XJC.createSchemaCompiler(XJC.java:51)
        at

org.codehaus.xfire.gen.jaxb.JAXBSchemaSupport.initialize(JAXBSchemaSupport.java:59)
        at

org.codehaus.xfire.gen.Wsdl11Generator.generate(Wsdl11Generator.java:151)
        at
org.codehaus.xfire.gen.WsGenTask.execute(WsGenTask.java:66)
        at

org.apache.servicemix.maven.plugin.xfire.WsgenMojo.exec(WsgenMojo.java:190)
        at

org.apache.servicemix.maven.plugin.xfire.WsgenMojo.execute(WsgenMojo.java:105)
        at

org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:447)
        at

org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
        at

org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:48
 0)
        at

org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkProjectLifecycle(DefaultLifecycleExecutor.java:896)
        at

org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkLifecycle(DefaultLifecycleExecutor.java:739)
        at

org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:510)
        at

org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:493)
        at

org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:463)
        at

org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.jav
 a:311)
        at

org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
        at

org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
        at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333)
        at
org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:282)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
        at

sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
 org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at
org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at

org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
I just checked out a fresh copy of the trunk, moved my local Maven
repo aside and built successfully using the following two commands:

$ mvn -Dmaven.test.skip=true -Pstep1 install
...
$ mvn -Dmaven.test.skip=true -Pstep2 install

(This is as listed here:
http://servicemix.apache.org/building.html#Building-Gettingstarted)

Everything built without error for me using JDK 1.5.0_14-b03 on Linux.

What Maven commands are you using to build the source?

Bruce
--
perl -e 'print
unpack("u30","D0G)[EMAIL PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

Apache ActiveMQ - http://activemq.org/
Apache Camel - http://activemq.org/camel/
Apache ServiceMix - http://servicemix.org/
Apache Geronimo - http://geronimo.apache.org/

Blog: http://bruceblog.org/





Reply via email to