You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Prasad Kashyap (JIRA)" <ji...@codehaus.org> on 2007/02/14 16:53:21 UTC

[jira] Created: (MEJB-24) It should be possible not to include the META-INF/maven directory in produced jars

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

        

[jira] Commented: (MEJB-24) It should be possible not to include the META-INF/maven directory in produced jars

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
    [ 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

        

[jira] Commented: (MEJB-24) It should be possible not to include the META-INF/maven directory in produced jars

Posted by "EJ Ciramella (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MEJB-24?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_113354 ] 

EJ Ciramella commented on MEJB-24:
----------------------------------

Because of this behavior, the ejbs ALWAYS get built and installed into the repository.

(I've got the same issue right now as well)

> 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

        

[jira] Closed: (MEJB-24) It should be possible not to include the META-INF/maven directory in produced jars

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MEJB-24?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dennis Lundberg closed MEJB-24.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1

> 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
>             Fix For: 2.1
>
>
> 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