[ http://jira.codehaus.org/browse/MJAR-52?page=comments#action_70008 ] 
            
Jimisola Laursen commented on MJAR-52:
--------------------------------------

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'

> Make it option to include META-INF directory with pom.xml and pom.properties
> ----------------------------------------------------------------------------
>
>                 Key: MJAR-52
>                 URL: http://jira.codehaus.org/browse/MJAR-52
>             Project: Maven 2.x Jar Plugin
>          Issue Type: Improvement
>    Affects Versions: 2.0
>         Environment: Maven 2.0.4
>            Reporter: Jimisola Laursen
>
> For different reason I don't want to ship the pom.xml and pom.properties 
> files to customers.
> Therefore, a single boolean specifying whether the information (files) should 
> be included or not would come in handy.
> Don't know if there are cases when one would want to include pom.properties 
> but not pom.xml or vice versa,
> but perhaps that enhancement can be implemented when asked for.

-- 
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

        

Reply via email to