RE: wonder maven problem
RE: wonder maven problem
- Subject: RE: wonder maven problem
- From: "Cros Laurent" <email@hidden>
- Date: Thu, 10 Jun 2010 15:50:45 +0200
- Thread-topic: wonder maven problem
Henrique,
That what I though.
So I take the latest wonder source (date of 09/2010)
I execute the command : C:\JCOMMOPS\passage-sous-maven\wonder_09_2010>mvn -e clean install -P wo54 -Dwoversion=5.4.3
And tried to build it by maven and I got the following errors :
[INFO] [compiler:compile]
[INFO] Compiling 58 source files to C:\JCOMMOPS\passage-sous-maven\wonder_09_201
0\Frameworks\Core\JavaWOExtensions\target\classes
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] loader constraint violation: loader (instance of org/codehaus/classworlds
/RealmClassLoader) previously initiated loading for a different type with name "
org/codehaus/plexus/component/repository/ComponentDescriptor"
[INFO] ------------------------------------------------------------------------
[INFO] Trace
java.lang.LinkageError: loader constraint violation: loader (instance of org/cod
ehaus/classworlds/RealmClassLoader) previously initiated loading for a different
type with name "org/codehaus/plexus/component/repository/ComponentDescriptor"
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
4)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at org.codehaus.classworlds.RealmClassLoader.loadClassDirect(RealmClassL
oader.java:195)
at org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassReal
m.java:255)
at org.codehaus.classworlds.RealmClassLoader.loadClass(RealmClassLoader.
java:214)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at org.codehaus.plexus.component.factory.ant.AntScriptInvoker.<init>(Ant
ScriptInvoker.java:63)
at org.codehaus.plexus.component.factory.ant.AntComponentFactory.newInst
ance(AntComponentFactory.java:20)
at org.apache.maven.script.ant.AntMojoComponentFactory.newInstance(AntMo
joComponentFactory.java:36)
at org.codehaus.plexus.DefaultPlexusContainer.createComponentInstance(De
faultPlexusContainer.java:1464)
at org.codehaus.plexus.component.manager.AbstractComponentManager.create
ComponentInstance(AbstractComponentManager.java:93)
at org.codehaus.plexus.component.manager.PerLookupComponentManager.getCo
mponent(PerLookupComponentManager.java:48)
at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContai
ner.java:331)
at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContai
ner.java:440)
at org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(Defaul
tPluginManager.java:609)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:429)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:558)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
fecycle(DefaultLifecycleExecutor.java:499)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
ltLifecycleExecutor.java:478)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:330)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:291)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:142)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
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)
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 12 seconds
[INFO] Finished at: Thu Jun 10 15:49:15 CEST 2010
[INFO] Final Memory: 30M/55M
[INFO] ------------------------------------------------------------------------
C:\JCOMMOPS\passage-sous-maven\wonder_09_2010>
Thanks for the help.
Laurent.
-----Message d'origine-----
De : webobjects-dev-bounces+lcros=email@hidden [mailto:webobjects-dev-bounces+lcros=email@hidden] De la part de Henrique Prange
Envoyé : jeudi 10 juin 2010 15:16
À : email@hidden
Cc : email@hidden
Objet : Re: wonder maven problem
Hi Laurent,
On 10/06/10 06:37, Cros Laurent wrote:
>
> [INFO] Installing C:\Apple\wonder\5.4\src\Wonder\Common\pom.xml to
> C:\Documents and
> Settings\lcros\.m2\repository\wonder\common\common\4.0.0-SNAPSHOT\common-4.0.0-SNAPSHOT.pom
Looks like you are trying to build a very old version of Wonder. I don't
think Wonder 4.0.0-SNAPSHOT was completely mavenized. Did you download
the source code from trunk?
By the way, it is probably easier to proxy the WOCommunity Maven
repository in your Nexus instance if you want the latest version of
Wonder libraries.
Cheers,
Henrique
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
Cliquez sur l'url suivante
https://www.mailcontrol.com/sr/HM+OOTdU5dPTndxI!oX7UlK7uOqmL!e83NW!I+S7FSSjuisqey8jqRJ4ZeL58NzKt!8eMRt!CuazpFBU8KFm0g==
si ce message est indésirable (pourriel).
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden