Hi Kenney, OK, I downloaded the latest M2 precompiled snapshot from http://maven.zones.apache.org/~maven/builds/ Things went smoothly until maven-antrun-plugin. I had to change .m2/repository/org/apache/maven/plugins/maven-xdoclet-plugin/1.0-SNAPSHOT/ma ven-xdoclet-plugin-1.0-20050813.152803-4.pom:
<dependency> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-antrun-plugin</artifactId> <version>1.0-alpha-1-SNAPSHOT</version> </dependency> to <dependency> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-antrun-plugin</artifactId> <version>1.0-SNAPSHOT</version> </dependency> to get it to download. Is 1.0-alpha-1-SNAPSHOT available somewhere? Eventually I got this message and now I'm stumped: > m2 compile [INFO] ---------------------------------------------------------------------------- [INFO] Building Nobill Boot [INFO] task-segment: [compile] [INFO] ---------------------------------------------------------------------------- [INFO] maven-resources-plugin: resolved to version 2.0-alpha-3 from local repository [INFO] maven-compiler-plugin: resolved to version 2.0-alpha-3 from local repository [INFO] maven-xdoclet-plugin: resolved to version 1.0-20050813.152803-4 from local repository [INFO] maven-plugin-parent: checking for updates from repo1 [INFO] Retrieving snapshot information for maven-plugin-parent 2.0-beta-1-SNAPSHOT [INFO] maven-plugin-parent: checking for updates from Codehaus [INFO] Retrieving snapshot information for maven-plugin-parent 2.0-beta-1-SNAPSHOT [INFO] maven-plugin-parent: checking for updates from Neonics [INFO] Retrieving snapshot information for maven-plugin-parent 2.0-beta-1-SNAPSHOT [INFO] maven-plugin-parent: checking for updates from KevinsPlugins [INFO] Retrieving snapshot information for maven-plugin-parent 2.0-beta-1-SNAPSHOT Downloading: http://www.neonics.com/maven2//org/apache/maven/plugins/maven-plugin-parent/ 2.0-beta-1-SNAPSHOT/maven-plugin-parent-2.0-beta-1-SNAPSHOT.pom [WARNING] Unable to get resource from repository http://www.neonics.com/maven2/ Downloading: http://snapshots.maven.codehaus.org/maven2//org/apache/maven/plugins/maven-p lugin-parent/2.0-beta-1-SNAPSHOT/maven-plugin-parent-2.0-beta-1-SNAPSHOT.pom [WARNING] Unable to get resource from repository http://snapshots.maven.codehaus.org/maven2/ Downloading: http://www.neonics.com/maven2/org/apache/maven/plugins/maven-plugin-parent/2 .0-beta-1-SNAPSHOT/maven-plugin-parent-2.0-beta-1-SNAPSHOT.pom [WARNING] Unable to get resource from repository http://www.neonics.com/maven2 Downloading: file:/home/kevin/repository2/org/apache/maven/plugins/maven-plugin-parent/2. 0-beta-1-SNAPSHOT/maven-plugin-parent-2.0-beta-1-SNAPSHOT.pom [WARNING] Unable to get resource from repository file:/home/kevin/repository2 [WARNING] ***** Using defaults for missing POM org.apache.maven.plugins:maven-plugin-parent:pom:2.0-beta-1-SNAPSHOT ***** [INFO] maven-antrun-plugin: resolved to version 1.0-20050725.135135-15 from local repository [INFO] plexus-override-component-configurator: resolved to version 1.0-20050712.081815-4 from local repository ----------------------------------------------------- this realm = app0.child-container[org.apache.maven.plugins:maven-xdoclet-plugin] urls[0] = file:/home/kevin/.m2/repository/org/apache/maven/plugins/maven-xdoclet-plugi n/1.0-SNAPSHOT/maven-xdoclet-plugin-1.0-20050813.152803-4.jar urls[1] = file:/home/kevin/.m2/repository/xdoclet/xdoclet-wsee-module/1.2.3/xdoclet-ws ee-module-1.2.3.jar urls[2] = file:/home/kevin/.m2/repository/xdoclet/xdoclet-jboss-module/1.2.3/xdoclet-j boss-module-1.2.3.jar urls[3] = file:/home/kevin/.m2/repository/junit/junit/3.7/junit-3.7.jar urls[4] = file:/home/kevin/.m2/repository/xdoclet/xdoclet-orion-module/1.2.3/xdoclet-o rion-module-1.2.3.jar urls[5] = file:/home/kevin/.m2/repository/xdoclet/xdoclet-xdoclet-module/1.2.3/xdoclet -xdoclet-module-1.2.3.jar urls[6] = file:/home/kevin/.m2/repository/xdoclet/xdoclet-ibm-module/1.2.3/xdoclet-ibm -module-1.2.3.jar urls[7] = file:/home/kevin/.m2/repository/xdoclet/xdoclet-jmx-module/1.2.3/xdoclet-jmx -module-1.2.3.jar urls[8] = file:/home/kevin/.m2/repository/org/apache/maven/plugins/maven-antrun-plugin /1.0-SNAPSHOT/maven-antrun-plugin-1.0-20050725.135135-15.jar urls[9] = file:/home/kevin/.m2/repository/commons-collections/commons-collections/2.1/ commons-collections-2.1.jar urls[10] = file:/home/kevin/.m2/repository/commons-logging/commons-logging/1.1-dev/comm ons-logging-1.1-dev.jar urls[11] = file:/home/kevin/.m2/repository/xdoclet/xdoclet-apache-module/1.2.3/xdoclet- apache-module-1.2.3.jar urls[12] = file:/home/kevin/.m2/repository/xdoclet/xdoclet-fr_FR-locale/1.2.3/xdoclet-f r_FR-locale-1.2.3.jar urls[13] = file:/home/kevin/.m2/repository/xdoclet/xdoclet-objectweb-module/1.2.3/xdocl et-objectweb-module-1.2.3.jar urls[14] = file:/home/kevin/.m2/repository/xdoclet/xdoclet-java-module/1.2.3/xdoclet-ja va-module-1.2.3.jar urls[15] = file:/home/kevin/.m2/repository/xdoclet/xdoclet-exolab-module/1.2.3/xdoclet- exolab-module-1.2.3.jar urls[16] = file:/home/kevin/.m2/repository/plexus/plexus-override-component-configurato r/1.0-SNAPSHOT/plexus-override-component-configurator-1.0-20050712.081815-4. jar urls[17] = file:/home/kevin/.m2/repository/xdoclet/xdoclet-bea-module/1.2.3/xdoclet-bea -module-1.2.3.jar urls[18] = file:/home/kevin/.m2/repository/xdoclet/xdoclet-mvcsoft-module/1.2.3/xdoclet -mvcsoft-module-1.2.3.jar urls[19] = file:/home/kevin/.m2/repository/xdoclet/xdoclet-sun-module/1.2.3/xdoclet-sun -module-1.2.3.jar urls[20] = file:/home/kevin/.m2/repository/xdoclet/xdoclet-spring-module/1.2.3/xdoclet- spring-module-1.2.3.jar urls[21] = file:/home/kevin/.m2/repository/xdoclet/xdoclet-de-locale/1.2.3/xdoclet-de-l ocale-1.2.3.jar urls[22] = file:/home/kevin/.m2/repository/jboss/jboss-j2ee/3.2.1/jboss-j2ee-3.2.1.jar urls[23] = file:/home/kevin/.m2/repository/xdoclet/xdoclet-caucho-module/1.2.3/xdoclet- caucho-module-1.2.3.jar urls[24] = file:/home/kevin/.m2/repository/xdoclet/xdoclet-web-module/1.2.3/xdoclet-web -module-1.2.3.jar urls[25] = file:/home/kevin/.m2/repository/xdoclet/xdoclet-jdo-module/1.2.3/xdoclet-jdo -module-1.2.3.jar urls[26] = file:/home/kevin/.m2/repository/servletapi/servletapi/2.3/servletapi-2.3.jar urls[27] = file:/home/kevin/.m2/repository/xdoclet/xdoclet-tjdo-module/1.2.3/xdoclet-tj do-module-1.2.3.jar urls[28] = file:/home/kevin/.m2/repository/xdoclet/xdoclet-openejb-module/1.2.3/xdoclet -openejb-module-1.2.3.jar urls[29] = file:/home/kevin/.m2/repository/ant/ant-launcher/1.6.3/ant-launcher-1.6.3.ja r urls[30] = file:/home/kevin/.m2/repository/xdoclet/xdoclet-oracle-module/1.2.3/xdoclet- oracle-module-1.2.3.jar urls[31] = file:/home/kevin/.m2/repository/xdoclet/xdoclet-hp-module/1.2.3/xdoclet-hp-m odule-1.2.3.jar urls[32] = file:/home/kevin/.m2/repository/xdoclet/xdoclet-webwork-module/1.2.3/xdoclet -webwork-module-1.2.3.jar urls[33] = file:/home/kevin/.m2/repository/xdoclet/xdoclet-mx4j-module/1.2.3/xdoclet-mx 4j-module-1.2.3.jar urls[34] = file:/home/kevin/.m2/repository/xdoclet/xdoclet/1.2.3/xdoclet-1.2.3.jar urls[35] = file:/home/kevin/.m2/repository/xdoclet/xdoclet-solarmetric-module/1.2.3/xdo clet-solarmetric-module-1.2.3.jar urls[36] = file:/home/kevin/.m2/repository/xdoclet/xdoclet-jsf-module/1.2.3/xdoclet-jsf -module-1.2.3.jar urls[37] = file:/home/kevin/.m2/repository/xdoclet/xdoclet-pramati-module/1.2.3/xdoclet -pramati-module-1.2.3.jar urls[38] = file:/home/kevin/.m2/repository/xdoclet/xdoclet-pt_BR-locale/1.2.3/xdoclet-p t_BR-locale-1.2.3.jar urls[39] = file:/home/kevin/.m2/repository/xdoclet/xdoclet-borland-module/1.2.3/xdoclet -borland-module-1.2.3.jar urls[40] = file:/home/kevin/.m2/repository/xdoclet/xdoclet-ejb-module/1.2.3/xdoclet-ejb -module-1.2.3.jar urls[41] = file:/home/kevin/.m2/repository/ant/ant/1.6.3/ant-1.6.3.jar urls[42] = file:/home/kevin/.m2/repository/xdoclet/xdoclet-hibernate-module/1.2.3/xdocl et-hibernate-module-1.2.3.jar urls[43] = file:/home/kevin/.m2/repository/xdoclet/xdoclet-sybase-module/1.2.3/xdoclet- sybase-module-1.2.3.jar urls[44] = file:/home/kevin/.m2/repository/xdoclet/xdoclet-libelis-module/1.2.3/xdoclet -libelis-module-1.2.3.jar urls[45] = file:/home/kevin/.m2/repository/xdoclet/xdoclet-mockobjects-module/1.2.3/xdo clet-mockobjects-module-1.2.3.jar urls[46] = file:/home/kevin/.m2/repository/xdoclet/xdoclet-portlet-module/1.2.3/xdoclet -portlet-module-1.2.3.jar urls[47] = file:/home/kevin/.m2/repository/xdoclet/xjavadoc/1.1/xjavadoc-1.1.jar urls[48] = file:/home/kevin/.m2/repository/xdoclet/xdoclet-macromedia-module/1.2.3/xdoc let-macromedia-module-1.2.3.jar Number of imports: 0 this realm = plexus.core.maven urls[0] = file:/proj/local/maven-2.0-SNAPSHOT/lib/maven-profile-2.0-beta-1-SNAPSHOT.ja r urls[1] = file:/proj/local/maven-2.0-SNAPSHOT/lib/doxia-sink-api-1.0-alpha-4-20050721. 064859-1.jar urls[2] = file:/proj/local/maven-2.0-SNAPSHOT/lib/maven-plugin-api-2.0-beta-1-SNAPSHOT .jar urls[3] = file:/proj/local/maven-2.0-SNAPSHOT/lib/maven-artifact-manager-2.0-beta-1-SN APSHOT.jar urls[4] = file:/proj/local/maven-2.0-SNAPSHOT/lib/wagon-ssh-1.0-alpha-4.jar urls[5] = file:/proj/local/maven-2.0-SNAPSHOT/lib/maven-plugin-mapping-2.0-beta-1-SNAP SHOT.jar urls[6] = file:/proj/local/maven-2.0-SNAPSHOT/lib/maven-settings-2.0-beta-1-SNAPSHOT.j ar urls[7] = file:/proj/local/maven-2.0-SNAPSHOT/lib/wagon-file-1.0-alpha-4.jar urls[8] = file:/proj/local/maven-2.0-SNAPSHOT/lib/wagon-http-lightweight-1.0-alpha-4.j ar urls[9] = file:/proj/local/maven-2.0-SNAPSHOT/lib/jline-0.9.1.jar urls[10] = file:/proj/local/maven-2.0-SNAPSHOT/lib/jsch-0.1.21.jar urls[11] = file:/proj/local/maven-2.0-SNAPSHOT/lib/maven-reporting-api-2.0-beta-1-SNAPS HOT.jar urls[12] = file:/proj/local/maven-2.0-SNAPSHOT/lib/maven-model-2.0-beta-1-SNAPSHOT.jar urls[13] = file:/proj/local/maven-2.0-SNAPSHOT/lib/maven-artifact-2.0-beta-1-SNAPSHOT.j ar urls[14] = file:/proj/local/maven-2.0-SNAPSHOT/lib/wagon-provider-api-1.0-alpha-4.jar urls[15] = file:/proj/local/maven-2.0-SNAPSHOT/lib/maven-project-2.0-beta-1-SNAPSHOT.ja r urls[16] = file:/proj/local/maven-2.0-SNAPSHOT/lib/maven-plugin-registry-2.0-beta-1-SNA PSHOT.jar urls[17] = file:/proj/local/maven-2.0-SNAPSHOT/lib/commons-cli-1.0-beta-2.jar urls[18] = file:/proj/local/maven-2.0-SNAPSHOT/lib/maven-plugin-descriptor-2.0-beta-1-S NAPSHOT.jar urls[19] = file:/proj/local/maven-2.0-SNAPSHOT/lib/plexus-input-handler-1.0-alpha-2.jar urls[20] = file:/proj/local/maven-2.0-SNAPSHOT/lib/maven-monitor-2.0-beta-1-SNAPSHOT.ja r urls[21] = file:/proj/local/maven-2.0-SNAPSHOT/lib/maven-core-2.0-beta-1-SNAPSHOT.jar Number of imports: 0 this realm = plexus.core urls[0] = file:/proj/local/maven-2.0-SNAPSHOT/core/plexus-container-default-1.0-alpha- 6-20050810.123108-2.jar urls[1] = file:/proj/local/maven-2.0-SNAPSHOT/core/plexus-utils-1.0.2-20050810.123806- 3.jar Number of imports: 0 ----------------------------------------------------- [INFO] ---------------------------------------------------------------------------- [ERROR] BUILD ERROR [INFO] ---------------------------------------------------------------------------- [INFO] Diagnosis: Error looking up plugin: [INFO] ---------------------------------------------------------------------------- [ERROR] Cause: org.apache.maven.plugin.MojoExecutionException: Error looking up plugin: at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManage r.java:346) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLife cycleExecutor.java:470) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle (DefaultLifecycleExecutor.java:443) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifec ycleExecutor.java:429) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(Defa ultLifecycleExecutor.java:266) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycle Executor.java:125) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:186) at org.apache.maven.cli.MavenCli.main(MavenCli.java:316) 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:324) 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) Caused by: org.codehaus.plexus.component.repository.exception.ComponentLookupException: Unable to lookup component 'org.apache.maven.plugin.Mojoorg.apache.maven.plugins:maven-xdoclet-plugin:1 .0-SNAPSHOT:xdoclet', it could not be created at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.jav a:311) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.jav a:416) at org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(DefaultPlugin Manager.java:484) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManage r.java:337) ... 15 more Caused by: org.codehaus.plexus.component.factory.ComponentInstantiationException: Could not instanciate component: role: 'null', implementation: 'org.apache.maven.plugin.xdoclet.XDocletMojo' at org.codehaus.plexus.component.factory.java.JavaComponentFactory.makeExceptio n(JavaComponentFactory.java:77) at org.codehaus.plexus.component.factory.java.JavaComponentFactory.newInstance( JavaComponentFactory.java:62) at org.codehaus.plexus.DefaultPlexusContainer.createComponentInstance(DefaultPl exusContainer.java:1407) at org.codehaus.plexus.component.manager.AbstractComponentManager.createCompone ntInstance(AbstractComponentManager.java:93) at org.codehaus.plexus.component.manager.PerLookupComponentManager.getComponent (PerLookupComponentManager.java:48) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.jav a:307) ... 18 more Caused by: java.lang.NoClassDefFoundError: org/apache/maven/plugin/antrun/AbstractAntMojo at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:537) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) at java.net.URLClassLoader.defineClass(URLClassLoader.java:251) at java.net.URLClassLoader.access$100(URLClassLoader.java:55) at java.net.URLClassLoader$1.run(URLClassLoader.java:194) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:187) at java.lang.ClassLoader.loadClass(ClassLoader.java:289) at org.codehaus.classworlds.RealmClassLoader.loadClassDirect(RealmClassLoader.j ava:195) at org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java: 255) at org.codehaus.plexus.component.factory.java.JavaComponentFactory.newInstance( JavaComponentFactory.java:30) ... 22 more [INFO] ---------------------------------------------------------------------------- [INFO] Total time: 10 seconds [INFO] Finished at: Fri Aug 19 16:00:01 MEST 2005 [INFO] Final Memory: 2M/7M [INFO] ---------------------------------------------------------------------------- -----Original Message----- From: Kenney Westerhof [mailto:[EMAIL PROTECTED] Sent: 18 August 2005 11:00 To: Maven Users List Subject: RE: [m2] Xdoclet trial On Thu, 18 Aug 2005, Kevin McNamee wrote: > Hi Kenney, > > Ok now it downloads. Then I get the following exception > > Caused by: org.apache.maven.project.ProjectBuildingException: Failed to > parse model from file > '/home/kevin/.m2/repository/org/apache/maven/plugins/maven-xdoclet-plugin/1. > 0-20050813.152803-4/maven-xdoclet-plugin-1.0-20050813.152803-4.pom'. > Error: 'TEXT must be immediately followed by END_TAG and not START_TAG > (position: START_TAG seen ...<snapshotRepository>\n <id>... @311:11) ' That version is meant to work with the latest m2 from trunk. You'll need to bootstrap. If you want it to work with alpha-3, you need to specify version 1.0-20050615.091250-3 for the plugin. > Looking at the project descriptor > http://maven.apache.org/maven2/maven-model/maven.html > There is no "<snapshotRepository>" tag defined there or in the XSD. Correct, those are alpha-3 docs. > I commented out that tag block and things proceeded smoothly until: > > [INFO] Retrieving snapshot information for maven-plugin-parent > 2.0-beta-1-SNAPSHOT > Downloading: > http://repo1.maven.org/maven2/maven/plugins/maven-plugin-parent/2.0-beta-1-S > NAPSHOT/maven-plugin-parent-2.0-beta-1-SNAPSHOT.pom > [WARNING] Unable to get resource from repository > http://repo1.maven.org/maven2 > Downloading: > http://www.neonics.com/maven2//maven/plugins/maven-plugin-parent/2.0-beta-1- > SNAPSHOT/maven-plugin-parent-2.0-beta-1-SNAPSHOT.pom > [WARNING] Unable to get resource from repository > http://www.neonics.com/maven2/ > > Looking at the repository in by browser, it does not look as expected. > I am tempted to recreate the maven-plugin-parent repository locally. Have > you a better idea? Yes, fix the version in your pom to 1.0-20050615.091250-3, or bootstrap m2 from the svn repository.. Sorry this isn't documented on the site! > Much appreciated, > Kevin No problem, thanks! Kenney > > > -----Original Message----- > From: Kenney Westerhof [mailto:[EMAIL PROTECTED] > Sent: 17 August 2005 19:22 > To: Maven Users List > Subject: Re: [m2] Xdoclet trial > > On Wed, 17 Aug 2005, Adam Hardy wrote: > > Hi, > > Permissions are fixed now. Seems the 'm2 deploy' doesn't set the proper > file permissions. Sorry! > > Btw: the latest version (-4) needs m2 trunk (because of > maven-antrun-plugin). The previous versions don't but need > plexus-override-component-configurator. I'm thinking about dropping > support for alpha-3 and require beta-1(-SNAPSHOT). > > -- Kenney > > > Kevin McNamee on 17/08/05 14:22, wrote: > > > > > > > > > Hi, > > > > > > > > > > > > I am trying to get Xdoclet working with m2. > > > > > > Has anyone encountered a "403 Forbidden" when downloading the latest > > > xdoclet plugin from > > > > > > > http://www.neonics.com/maven2/org/apache/maven/plugins/maven-xdoclet-plugin/ > 1.0-SNAPSHOT/ > > > > > > > > > I see that too. > > > > A couple of weeks ago I managed to download it fine - are you sure it's > > the right directory or perhaps there's a message on the website? > > > > If you're desperate I can email you the jar. > > > > > > Adam > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > -- > Kenney Westerhof > http://www.neonics.com > GPG public key: http://www.gods.nl/~forge/kenneyw.key > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > -- Kenney Westerhof http://www.neonics.com GPG public key: http://www.gods.nl/~forge/kenneyw.key --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]