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