Excluding pom.properties and pom.xml from produced artifact 
------------------------------------------------------------

         Key: MNG-1520
         URL: http://jira.codehaus.org/browse/MNG-1520
     Project: Maven 2
        Type: Wish
  Components: maven-jar-plugin  
    Reporter: Anuerin Diaz


Although the files are supposed to be used in capturing as much build 
information as necessary, they are considered to be a security risk in some 
situations. There must be a way to exclude these files even during development 
packaging. 

The released Maven plugins do not contain these files so there is a way to 
remove them. The following configuration do not work when added to the project 
descriptor:

<plugin>
   <artifactId>maven-jar-plugin</artifactId>
   <configuration>
      <excludes>**/pom.*</excludes>
   </configuration>

</plugin>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to