jira-importer commented on issue #238:
URL: 
https://github.com/apache/maven-jar-plugin/issues/238#issuecomment-2956685288

   **[Jimisola 
Laursen](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=jimisola)**
 commented
   
   Followed the instructions and added:
   
   \<plugin>
   \<groupId>org.apache.maven.plugins\</groupId>
   \<artifactId>maven-jar-plugin\</artifactId>
   \<configuration>
   \<archive>
   \<addMavenDescriptor>false\</addMavenDescriptor>
   \</archive>
   \</configuration>
   \</plugin>
   
   to \<build>...\</build>
   
   However, I get the following error with Maven 2.0.4:
   
   [ERROR] BUILD ERROR
   [INFO] 
------------------------------------------------------------------------
   [INFO] Failed to configure plugin parameters for: 
org.apache.maven.plugins:maven-jar-plugin:2.0
   
   Cause: Cannot find setter nor field in 
org.apache.maven.archiver.MavenArchiveConfiguration for 'addMavenDescriptor'
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to