I am getting a build error on trunk (console output given below) due to
maven-rar-plugin. If I comment out the following fragment in
pom.xml in the root, the build runs fine.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-rar-plugin</artifactId>
<version>2.2-SNAPSHOT</version>
<configuration>
<archive>
<!-- Do not include META-INF/maven to avoid long file problems on
windows -->
<addMavenDescriptor>false</addMavenDescriptor>
</archive>
</configuration>
</plugin>
How to get past the build error without commenting the above xml fragment? Where is the maven-rar-plugin needed?
CONSOLE OUTPUT:
[INFO] Building Geronimo Test Support, Test Deployment J2EE 1.3 :: RAR
[INFO] task-segment: [install]
[INFO] -------------------------------------------------------------------------
---
Downloading: http://people.apache.org/repo/m2-snapshot-repository/org/apache/mav
en/plugins/maven-rar-plugin/2.2-SNAPSHOT/maven-rar-plugin-2.2-SNAPSHOT.pom
[WARNING] Unable to get resource from repository apache-snapshots (http://people
.apache.org/repo/m2-snapshot-repository)
Downloading: http://snapshots.repository.codehaus.org/org/apache/maven/plugins/m
aven-rar-plugin/2.2-SNAPSHOT/maven-rar-plugin-2.2-SNAPSHOT.pom
[WARNING] Unable to get resource from repository codehaus-snapshots (http://snap
shots.repository.codehaus.org)
Downloading: http://people.apache.org/repo/m2-snapshot-repository/org/apache/mav
en/plugins/maven-rar-plugin/2.2-SNAPSHOT/maven-rar-plugin-2.2-SNAPSHOT.pom
[WARNING] Unable to get resource from repository apache-snapshots (http://people
.apache.org/repo/m2-snapshot-repository)
Downloading: http://snapshots.repository.codehaus.org/org/apache/maven/plugins/m
aven-rar-plugin/2.2-SNAPSHOT/maven-rar-plugin-2.2-SNAPSHOT.pom
[WARNING] Unable to get resource from repository codehaus-snapshots (http://snap
shots.repository.codehaus.org)
Downloading: http://people.apache.org/maven-snapshot-repository/org/apache/maven
/plugins/maven-rar-plugin/2.2-SNAPSHOT/maven-rar-plugin-2.2-SNAPSHOT.pom
[WARNING] Unable to get resource from repository apache.snapshots (http://people
.apache.org/maven-snapshot-repository)
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
GroupId: org.apache.maven.plugins
ArtifactId: maven-rar-plugin
Version: 2.2-SNAPSHOT
Reason: Unable to download the artifact from any repository
org.apache.maven.plugins:maven-rar-plugin:pom:2.2-SNAPSHOT
from the specified remote repositories:
central (http://repo1.maven.org/maven2),
apache.snapshots (http://people.apache.org/maven-snapshot-repository),
codehaus (http://repository.codehaus.org),
apache-snapshots (http://people.apache.org/repo/m2-snapshot-repository),
codehaus-snapshots (http://snapshots.repository.codehaus.org)
- build error due to maven-rar-plugin Vamsavardhana Reddy
- Re: build error due to maven-rar-plugin Jason Dillon