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]