You can't use the bootstrap for tagged versions - it must be built with Maven 2 (mvn install; cd maven-core; mvn assembly:assembly).
Maven 2.0.1's bootstrap will be able to build the tagged version. - Brett Pascal GRANGE wrote: > Hi all, > > I am trying to build the version 2.0 of maven buit it fails claiming that a > remote metedata version can't be found. > > I followed the steps described at : > http://maven.apache.org/guides/development/guide-building-m2.html > > 1) I checked-out the 2.0 version of maven : > svn co https://svn.apache.org/repos/asf/maven/components/tags/maven-2.0 > maven-components > > 2) then I entered the corresponding directory and set the environment : > export M2_HOME=~/softs/maven-perso > PATH=$M2_HOME/bin:$PATH > > 3) After that, I launched the bootstrap : > ./m2-bootstrap-all.sh > > But it failed with the following output : > > > ----------------------------------------------------------------------- > Building mboot ... > ----------------------------------------------------------------------- > ----------------------------------------------------------------------- > Building maven2 components ... > ----------------------------------------------------------------------- > You SHOULD have a ~/.m2/settings.xml file and must contain at least the > following information: > > <settings> > <localRepository>/path/to/your/repository</localRepository> > </settings> > > Alternatively, you can specify -Dmaven.repo.local=/path/to/m2/repository > > HOWEVER, since you did not specify a repository path, maven will > use: /home/pascal/.m2/repository to store artifacts locally. > Maven installation directory: /home/pascal/softs/maven-perso > Using the following for your local repository: /home/pascal/.m2/repository > Using the following for your remote repository: > [http://repo1.maven.org/maven2, http://snapshots.maven.codehaus.org/maven2/] > Installing > POM: /home/pascal/.m2/repository/org/apache/maven/maven/2.0/maven-2.0.pom > Installing > POM: > /home/pascal/.m2/repository/org/apache/maven/plugins/maven-plugin-parent/2.0/maven-plugin-parent-2.0.pom > Installing > POM: > /home/pascal/.m2/repository/org/apache/maven/maven-plugin-tools/2.0/maven-plugin-tools-2.0.pom > Installing > POM: > /home/pascal/.m2/repository/org/apache/maven/maven-script/2.0/maven-script-2.0.pom > Installing > POM: > /home/pascal/.m2/repository/org/apache/maven/reporting/maven-reporting/2.0/maven-reporting-2.0.pom > Checking for dependencies ... > Downloading > http://snapshots.maven.codehaus.org/maven2//org/apache/maven/plugins/maven-plugin-parent/2.0-beta-4-SNAPSHOT/maven-metadata.xml > WARNING: remote metadata version not found, using local: > http://snapshots.maven.codehaus.org/maven2//org/apache/maven/plugins/maven-plugin-parent/2.0-beta-4-SNAPSHOT/maven-metadata.xml > > (HTTP Error: 404 Not Found) > Downloading > http://snapshots.maven.codehaus.org/maven2//org/apache/maven/plugins/maven-plugin-parent/2.0-beta-4-SNAPSHOT/maven-plugin-parent-2.0-beta-4-SNAPSHOT.pom > Artifact not found at > [http://snapshots.maven.codehaus.org/maven2//org/apache/maven/plugins/maven-plugin-parent/2.0-beta-4-SNAPSHOT/maven-plugin-parent-2.0-beta-4-SNAPSHOT.pom] > Error reading > POM: > /home/pascal/softs/maven-2-src/maven-components/maven-plugins/maven-surefire-plugin/pom.xml > Exception in thread "main" download.DownloadFailedException: Failed to > download org.apache.maven.plugins:maven-plugin-parent:2.0-beta-4-SNAPSHOT:pom > at model.ModelReader.retrievePom(ModelReader.java:562) > at model.ModelReader.endElement(ModelReader.java:253) > at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1720) > at org.apache.crimson.parser.Parser2.content(Parser2.java:1963) > at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691) > at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:667) > at org.apache.crimson.parser.Parser2.parse(Parser2.java:337) > at > org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448) > at javax.xml.parsers.SAXParser.parse(SAXParser.java:345) > at util.AbstractReader.parse(AbstractReader.java:63) > at MBoot.run(MBoot.java:362) > at MBoot.main(MBoot.java:140) > > > > Any idea of a way to solve this problem ? > > Thanks in advance, > Pascal. > > --------------------------------------------------------------------- > 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]