maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dennis Lundberg (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (MEJB-24) It should be possible not to include the META-INF/maven directory in produced jars
Date Mon, 07 Jul 2008 13:37:26 GMT

    [ http://jira.codehaus.org/browse/MEJB-24?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=140924#action_140924
] 

Dennis Lundberg commented on MEJB-24:
-------------------------------------

This works for me with version 2.1 of the plugin.

I use this plugin configuration:

{noformat}
        <configuration>
          <archive>
            <addMavenDescriptor>false</addMavenDescriptor>
          </archive> 
        </configuration>
{noformat}

> It should be possible not to include the META-INF/maven directory in produced jars
> ----------------------------------------------------------------------------------
>
>                 Key: MEJB-24
>                 URL: http://jira.codehaus.org/browse/MEJB-24
>             Project: Maven 2.x Ejb Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0
>            Reporter: Prasad Kashyap
>
> http://jira.codehaus.org/browse/MNG-1598
> The <addMavenDescriptor> in the other archiver plugins exclude the pom and .properties
files from the created archives. If the packaging of a pom is set to "ejb", then the produced
jar still contains these maven descriptors.
> My 2.1 maven-jar-plugin is configured to <addMavenDescriptor>false</addMavenDescriptor>.
When my pom packaging is set to "jar", the descriptors does get excluded.
> Problem is with the "ejb" packaging and/or maven-ejb-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

        

Mime
View raw message