Fixed the issues with repository IDs and built this: http://cvs.apache.org/maven-snapshot-repository/org/apache/maven/maven-artifact-ant/2.0.2-SNAPSHOT/maven-artifact-ant-2.0.2-20051220.231658-1-dep.jar It successfully run through the test builds script.
This is not an officially endorsed release by the Maven PMC. Use at your own risk :) You shouldn't need to build maven-repository-tools (and it is not included in the root POM - in fact it should be sandboxed). To build shoul djust require mvn install at the root of the project, then a follow up build maven-artifact-ant. - Brett On 12/21/05, Matt Raible <[EMAIL PROTECTED]> wrote: > Hmmm, I'm able to build the JAR just fine by cd-ing into > maven-artifact-ant and running "mvn assembly:assembly". However, when > I copy it to my project, I get: > > BUILD FAILED > C:\Source\equinox\build.xml:24: Unable to find component: > org.apache.maven.artif > act.repository.layout.ArtifactRepositoryLayout[default] > > Total time: 0 seconds > > I've tried running "mvn install" on a number of other modules before > running "assembly", but I can't get maven-repository-tools to build. > The error I'm getting is: > > [INFO] Failed to resolve artifact. > > required artifacts missing: > org.apache.maven:maven-core:jar:2.0-SNAPSHOT > org.apache.maven:maven-artifact:jar:2.0-SNAPSHOT > plexus:plexus:jar:1.0-alpha-1 > org.apache.maven:maven-model:jar:2.0-SNAPSHOT > xstream:xstream:jar:1.0-SNAPSHOT > > for the artifact: > org.apache.maven:maven-repository-tools:jar:1.0-SNAPSHOT > > from the specified remote repositories: > central (http://repo1.maven.org/maven2) > > Also, the Repository.java has a System.out.println that should > probably be removed. > > Index: src/main/java/org/apache/maven/artifact/ant/Repository.java > > =================================================================== > > --- src/main/java/org/apache/maven/artifact/ant/Repository.java (revision > 357937) > > +++ src/main/java/org/apache/maven/artifact/ant/Repository.java (working copy) > > @@ -36,7 +36,6 @@ > > > public String getId() > { > - System.out.println("Repository.getId() == " + getInstance().id); > if (getInstance().id == null) > { > throw new BuildException("id must be specified for a > repository definition"); > > Thanks, > > Matt > > On 12/19/05, Brett Porter <[EMAIL PROTECTED]> wrote: > > The 2.0.2-SNAPSHOT is here: > > > > https://svn.apache.org/repos/asf/maven/components/branches/maven-2.0.x/ > > > > Sorry, the dev docs haven't been updated to reflect this yet, it was a > > recent change. > > > > - Brett > > > > On 12/20/05, Matt Raible <[EMAIL PROTECTED]> wrote: > > > I'd like to build a version of maven-artifact-ant-2.0.2-dep.jar for > > > distribution with a project of mine (Equinox). I could wait for the > > > 2.0.2 release, but I'd prefer to get the release done before COB > > > tomorrow b/c that's when I go on vacation. ;-) > > > > > > I checked out "maven" from svn using: > > > > > > svn co https://svn.apache.org/repos/asf/maven/trunks maven > > > > > > I've been able to build everything, but versions are showing up with > > > version 2.1-SNAPSHOT, and I can't figure out how to build the > > > artifact-ant-*-dep.jar. Am I checking out from the wrong repository? > > > > > > Thanks, > > > > > > Matt > > > > > > --------------------------------------------------------------------- > > > 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]