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

   **[Allan Q. 
Ramirez](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=aramirez)**
 commented
   
   I have added a flag that would handle this.
   
   you can exclude the pom.xml and pom.properties by setting a 
-DexcludePomFiles=true in the command line or
   in your pom.xml
   ...
   \<build>
   \<plugins>
   \<plugin>
   \<groupId>org.apache.maven.plugins\</groupId>
   \<artifactId>maven-jar-plugin\</artifactId>
   \<version>2.1-SNAPSHOT\</version>
   \<configuration>
   \<excludePomFiles>true\</excludePomFiles>
   \</configuration>
   \</plugin>
   \</plugins>
   \</build>
   ...
   
   However MNG-1650 needed to be patch before I can make this works. :)
   


-- 
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: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to