That didn't work for me either. But if I go to that URL in my browser, I do see a 2.2-SNAPSHOT directory under the assembly plugin. So it is there, but not being found for some reason?
Here's my entire POM for a simple test project: <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>org.myorg.test</groupId> <artifactId>simple</artifactId> <packaging>jar</packaging> <version>1.0-SNAPSHOT</version> <name>Maven Quick Start Archetype</name> <url>http://maven.apache.org</url> <dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>3.8.1</version> <scope>test</scope> </dependency> </dependencies> <build> <plugins> <plugin> <artifactId>maven-assembly-plugin </artifactId> <version>2.2-SNAPSHOT</version> <configuration> <descriptors> <descriptor> src/assembly/bin.xml</descriptor> </descriptors> </configuration> </plugin> </plugins> </build> <pluginRepositories> <pluginRepository> <id>apache.snapshots</id> <url> http://people.apache.org/repo/m2-snapshot-repository</url> </pluginRepository> <pluginRepository> <id>apache.org</id> <name>Maven Plugin Snapshots</name> <url> http://people.apache.org/maven-snapshot-repository</url> </pluginRepository> <pluginRepository> <id>codehaus.org</id> <name>Codehaus Maven Plugin Snapshots</name> <url>http://snapshots.repository.codehaus.org/ </url> </pluginRepository> </pluginRepositories> </project> I just created it from the archetype and added the assembly plugin and the pluginRepositories. If I try to do a build it complains that maven-assembly-plugin is not being found. Does this work for other people? Thanks, -Adam "John Casey" <[EMAIL PROTECTED]> 09/29/2006 03:11 PM Please respond to "Maven Users List" <[email protected]> To "Maven Users List" <[email protected]> cc Subject Re: How to use latest snapshot of assembly plugin? You can also add this to your POM: <pluginRepositories> <pluginRepository> <id>apache.snapshots</id> <url>http://people.apache.org/repo/m2-snapshot-repository</url> </pluginRepository> </pluginRepository> Cheers, john On 9/29/06, Wayne Fay <[EMAIL PROTECTED]> wrote: > > I'd just pull the code down yourself from SVN and build/install > locally if you're going to depend on SNAPSHOT versioned code and > having trouble finding it deployed anywhere. > > Wayne > > On 9/29/06, Adam Lally <[EMAIL PROTECTED]> wrote: > > I'm new to Maven and have been trying to figure out how to get the > > assembly plugin to do what I want for my multi-module project. I've > seen > > some messages on the list recommending to use version 2.2-SNAPSHOT which > > may have fixed some issues. But how do I do that? > > > > I put the following in my pom.xml: > > <build> > > <plugins> > > <plugin> > > <artifactId>maven-assembly-plugin</artifactId> > > <version>2.2-SNAPSHOT</version> > > <configuration> > > <descriptors> > > <descriptor>src/assembly/bin.xml</descriptor> > > </descriptors> > > </configuration> > > </plugin> > > </plugins> > > </build> > > > > <pluginRepositories> > > <pluginRepository> > > <id>apache.org</id> > > <name>Maven Plugin Snapshots</name> > > <url>http://people.apache.org/maven-snapshot-repository</url> > > <releases> > > <enabled>false</enabled> > > </releases> > > <snapshots> > > <enabled>true</enabled> > > </snapshots> > > </pluginRepository> > > <pluginRepository> > > <id>codehaus.org</id> > > <name>Codehaus Maven Plugin Snapshots</name> > > <url>http://snapshots.repository.codehaus.org/</url> > > <releases> > > <enabled>false</enabled> > > </releases> > > <snapshots> > > <enabled>true</enabled> > > </snapshots> > > </pluginRepository> > > </pluginRepositories> > > > > > > but when I try to build I get: > > > > [INFO] Failed to resolve artifact. > > > > GroupId: org.apache.maven.plugins > > ArtifactId: maven-assembly-plugin > > Version: 2.2-SNAPSHOT > > > > Reason: Unable to download the artifact from any repository > > > > org.apache.maven.plugins:maven-assembly-plugin:pom:2.2-SNAPSHOT > > > > from the specified remote repositories: > > codehaus.org (http://snapshots.repository.codehaus.org/), > > central (http://repo1.maven.org/maven2), > > apache.org (http://people.apache.org/maven-snapshot-repository) > > > > > > > > Any ideas what I am doing wrong? I also tried putting the > > pluginRepositories in my settings.xml as described here: > > > http://maven.apache.org/guides/development/guide-plugin-snapshot-repositories.html > , > > but I still get the same error. > > > > Thanks in advance for any help, > > -Adam > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
