HI, I am moving forward, I changed my maven version and it's far better.
So it build the following frameworks : ERExtensions JavaWOExtensions But it failed to build the ERDirectToWeb Framework : [INFO] ------------------------------------------------------------------------ [INFO] Building ERDirectToWeb Framework [INFO] task-segment: [clean, install] [INFO] ------------------------------------------------------------------------ [INFO] [clean:clean {execution: default-clean}] [INFO] Deleting directory C:\JCOMMOPS\passage-sous-maven\wonder_09_2010\Framewor ks\Core\ERDirectToWeb\target [INFO] [wolifecycle:define-woframework-resources {execution: default-define-wofr amework-resources}] [INFO] Creating output folders [INFO] Defining WO resources [INFO] [resources:resources {execution: default-resources}] [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory C:\JCOMMOPS\passage-sous-maven\wonder _09_2010\Frameworks\Core\ERDirectToWeb\src\main\resources [INFO] Copying 179 resources to ../ERDirectToWeb.framework\Resources [INFO] Copying 552 resources to ../ERDirectToWeb.framework\Resources [INFO] Copying 8 resources to ../ERDirectToWeb.framework\Resources [INFO] Copying 2 resources to ../ERDirectToWeb.framework\Resources\Dutch.lproj [INFO] Copying 2 resources to ../ERDirectToWeb.framework\Resources\English.lproj [INFO] Copying 2 resources to ../ERDirectToWeb.framework\Resources\French.lproj [INFO] Copying 2 resources to ../ERDirectToWeb.framework\Resources\German.lproj [INFO] Copying 2 resources to ../ERDirectToWeb.framework\Resources\Italian.lproj [INFO] Copying 2 resources to ../ERDirectToWeb.framework\Resources\Japanese.lpro j [INFO] Copying 2 resources to ../ERDirectToWeb.framework\Resources\Norwegian.lpr oj [INFO] Copying 7 resources to ../ERDirectToWeb.framework\WebServerResources Downloading: http://maven.wocommunity.org/content/groups/public/com/webobjects/J avaDirectToWeb/5.4.3/JavaDirectToWeb-5.4.3.pom [INFO] Unable to find resource 'com.webobjects:JavaDirectToWeb:pom:5.4.3' in rep ository wocommunity.releases (http://maven.wocommunity.org/content/groups/public ) Downloading: http://mvnrepo.cls.fr:8081/nexus/content/groups/public/com/webobjec ts/JavaDirectToWeb/5.4.3/JavaDirectToWeb-5.4.3.pom [INFO] Unable to find resource 'com.webobjects:JavaDirectToWeb:pom:5.4.3' in rep ository central (http://repo1.maven.org/maven2) [INFO] [compiler:compile {execution: default-compile}] [INFO] Compiling 300 source files to C:\JCOMMOPS\passage-sous-maven\wonder_09_20 10\Frameworks\Core\ERDirectToWeb\target\classes [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Compilation failure C:\JCOMMOPS\passage-sous-maven\wonder_09_2010\Frameworks\Core\ERDirectToWeb\Sour ces\er\directtoweb\components\ERD2WStatelessComponent.java:[9,7] cannot access c om.webobjects.directtoweb.generation.DTWGeneration class file for com.webobjects.directtoweb.generation.DTWGeneration not found public class ERD2WStatelessComponent extends D2WStatelessComponent { C:\JCOMMOPS\passage-sous-maven\wonder_09_2010\Frameworks\Core\ERDirectToWeb\Sour ces\er\directtoweb\components\ERD2WStatelessComponent.java:[33,8] cannot find sy mbol symbol : variable super location: class er.directtoweb.components.ERD2WStatelessComponent C:\JCOMMOPS\passage-sous-maven\wonder_09_2010\Frameworks\Core\ERDirectToWeb\Sour ces\er\directtoweb\components\ERD2WStatelessComponent.java:[34,50] cannot find s ymbol symbol : method getClass() location: class er.directtoweb.components.ERD2WStatelessComponent C:\JCOMMOPS\passage-sous-maven\wonder_09_2010\Frameworks\Core\ERDirectToWeb\Sour ces\er\directtoweb\components\ERD2WStatelessComponent.java:[29,4] method does no t override or implement a method from a supertype [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1 minute 9 seconds [INFO] Finished at: Thu Jun 10 16:35:25 CEST 2010 [INFO] Final Memory: 38M/63M [INFO] ------------------------------------------------------------------------ C:\JCOMMOPS\passage-sous-maven\wonder_09_2010> It seems that the resources 'com.webobjects:JavaDirectToWeb:pom:5.4.3' is not found in the wocommounity maven repository ! If someone could have the solution that would be great ! Do you know if there a wonder and/or maven mailing list . Thanks a lot guys ! laurent -----Message d'origine----- De : Cros Laurent Envoyé : jeudi 10 juin 2010 15:51 À : 'Henrique Prange'; webobjects-dev@lists.apple.com Cc : wonder-...@lists.sourceforge.net Objet : RE: 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=cls...@lists.apple.com [mailto:webobjects-dev-bounces+lcros=cls...@lists.apple.com] De la part de Henrique Prange Envoyé : jeudi 10 juin 2010 15:16 À : webobjects-dev@lists.apple.com Cc : wonder-...@lists.sourceforge.net 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 (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/lcros%40cls.fr This email sent to lc...@cls.fr 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 (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com