I am using maven 2.0.2 and I wish to filter pom.xml and pom.properties
and the META-INF/maven directory from built jar archives. I have tried this:
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<addMavenDescriptor>false</addMavenDescriptor>
</archive>
</configuration>
</plugin>
</plugins>
</build>
But I receive the following message:
[ERROR] BUILD ERROR
[INFO]
-------------------------------------------------------------------------
---
[INFO] Error building POM (may not be this project's POM).
Project ID: org.apache.maven.plugins:maven-jar-plugin
Reason: Error getting POM for
'org.apache.maven.plugins:maven-jar-plugin' from t
he repository: Failed to resolve artifact, possibly due to a repository
list tha
t is not appropriately equipped for this artifact's metadata.
org.apache.maven.plugins:maven-jar-plugin:pom:2.1-SNAPSHOT
from the specified remote repositories:
central (http://repo1.maven.org/maven2)
What am I missing? How can I make this work?
Thanks,
Brad
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]