When I run maven-assembly-plugin version 2.1 it gives the following error:
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Internal error in the plugin manager executing goal
'org.apache.maven.plu
gins:maven-assembly-plugin:2.1:assembly': Unable to find the mojo
'org.apache.ma
ven.plugins:maven-assembly-plugin:2.1:assembly' in the plugin
'org.apache.maven.
plugins:maven-assembly-plugin'
org/codehaus/plexus/archiver/ArchiverException
I run it like
mvn assembly:assembly
I am using in my pom:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<descriptors>
<descriptor>src/main/assembly/release.xml</descriptor>
</descriptors>
</configuration>
</plugin>
and the assembly file:
<?xml version="1.0" ?>
<assembly>
<id>src</id>
<formats>
<format>tar.gz</format>
<format>tar.bz2</format>
<format>zip</format>
</formats>
<fileSets>
<fileSet>
<includes>
<include>README*</include>
<include>LICENSE*</include>
<include>NOTICE*</include>
<include>pom.xml</include>
</includes>
</fileSet>
<fileSet>
<directory>src</directory>
</fileSet>
</fileSets>
</assembly>
ccadete
--
View this message in context:
http://www.nabble.com/-M2--Maven-Assembly-Error-tf2172791.html#a6007683
Sent from the Maven - Users forum at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]