You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Marek Novotný (JIRA)" <ji...@codehaus.org> on 2011/02/10 10:09:22 UTC

[jira] Created: (MSHARED-185) maven-archiver doesn't generate META-INF/maven/groupid/artifactId/pom.* files in JAR

maven-archiver doesn't generate META-INF/maven/groupid/artifactId/pom.* files in JAR
------------------------------------------------------------------------------------

                 Key: MSHARED-185
                 URL: http://jira.codehaus.org/browse/MSHARED-185
             Project: Maven Shared Components
          Issue Type: Bug
          Components: maven-archiver
    Affects Versions: maven-archiver-2.4.1, maven-archiver-2.4
         Environment: maven 2.2.1/3.0.2, java 6
            Reporter: Marek Novotný


I am using maven-jar-plugin 2.3.1, which using maven-archiver 2.4.1. In that configuration in generated jar is not added META-INF/maven/* files. There is only empty file META-INF/maven.

I tried to donwgrade to maven-jar-plugin 2.2/2.1, which uses maven-archiver 2.3/2.2 and it works fine - files META-INF/maven/groupId/artifactId/pom.* files were added/generated.

I tried also to add into archive configuration <addMavenDescriptor/> and <addMavenDescriptor>true</addMavenDescriptor>, although it should be set true by default, but it doesn't help.

-- 
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: (MSHARED-185) maven-archiver doesn't generate META-INF/maven/groupid/artifactId/pom.* files in JAR

Posted by "Marek Novotný (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MSHARED-185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=255553#action_255553 ] 

Marek Novotný commented on MSHARED-185:
---------------------------------------

I should update that I am on linux

> maven-archiver doesn't generate META-INF/maven/groupid/artifactId/pom.* files in JAR
> ------------------------------------------------------------------------------------
>
>                 Key: MSHARED-185
>                 URL: http://jira.codehaus.org/browse/MSHARED-185
>             Project: Maven Shared Components
>          Issue Type: Bug
>          Components: maven-archiver
>    Affects Versions: maven-archiver-2.4, maven-archiver-2.4.1
>         Environment: maven 2.2.1/3.0.2, java 6
>            Reporter: Marek Novotný
>            Assignee: Benjamin Bentmann
>         Attachments: maven-bug.zip, MSHARED-185.zip
>
>
> I am using maven-jar-plugin 2.3.1, which using maven-archiver 2.4.1. In that configuration in generated jar is not added META-INF/maven/* files. There is only empty file META-INF/maven.
> I tried to donwgrade to maven-jar-plugin 2.2/2.1, which uses maven-archiver 2.3/2.2 and it works fine - files META-INF/maven/groupId/artifactId/pom.* files were added/generated.
> I tried also to add into archive configuration <addMavenDescriptor/> and <addMavenDescriptor>true</addMavenDescriptor>, although it should be set true by default, but it doesn't help.

-- 
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] Updated: (MSHARED-185) maven-archiver doesn't generate META-INF/maven/groupid/artifactId/pom.* files in JAR

Posted by "Marek Novotný (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MSHARED-185?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marek Novotný updated MSHARED-185:
----------------------------------

    Attachment: maven-bug.zip

zipped built project

> maven-archiver doesn't generate META-INF/maven/groupid/artifactId/pom.* files in JAR
> ------------------------------------------------------------------------------------
>
>                 Key: MSHARED-185
>                 URL: http://jira.codehaus.org/browse/MSHARED-185
>             Project: Maven Shared Components
>          Issue Type: Bug
>          Components: maven-archiver
>    Affects Versions: maven-archiver-2.4, maven-archiver-2.4.1
>         Environment: maven 2.2.1/3.0.2, java 6
>            Reporter: Marek Novotný
>            Assignee: Benjamin Bentmann
>         Attachments: maven-bug.zip, MSHARED-185.zip
>
>
> I am using maven-jar-plugin 2.3.1, which using maven-archiver 2.4.1. In that configuration in generated jar is not added META-INF/maven/* files. There is only empty file META-INF/maven.
> I tried to donwgrade to maven-jar-plugin 2.2/2.1, which uses maven-archiver 2.3/2.2 and it works fine - files META-INF/maven/groupId/artifactId/pom.* files were added/generated.
> I tried also to add into archive configuration <addMavenDescriptor/> and <addMavenDescriptor>true</addMavenDescriptor>, although it should be set true by default, but it doesn't help.

-- 
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] Updated: (MSHARED-185) maven-archiver doesn't generate META-INF/maven/groupid/artifactId/pom.* files in JAR

Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MSHARED-185?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Bentmann updated MSHARED-185:
--------------------------------------

    Attachment: MSHARED-185.zip

Works for the attached example, so please consider to provide a runnable project that actually exhibits the issue.

> maven-archiver doesn't generate META-INF/maven/groupid/artifactId/pom.* files in JAR
> ------------------------------------------------------------------------------------
>
>                 Key: MSHARED-185
>                 URL: http://jira.codehaus.org/browse/MSHARED-185
>             Project: Maven Shared Components
>          Issue Type: Bug
>          Components: maven-archiver
>    Affects Versions: maven-archiver-2.4, maven-archiver-2.4.1
>         Environment: maven 2.2.1/3.0.2, java 6
>            Reporter: Marek Novotný
>         Attachments: MSHARED-185.zip
>
>
> I am using maven-jar-plugin 2.3.1, which using maven-archiver 2.4.1. In that configuration in generated jar is not added META-INF/maven/* files. There is only empty file META-INF/maven.
> I tried to donwgrade to maven-jar-plugin 2.2/2.1, which uses maven-archiver 2.3/2.2 and it works fine - files META-INF/maven/groupId/artifactId/pom.* files were added/generated.
> I tried also to add into archive configuration <addMavenDescriptor/> and <addMavenDescriptor>true</addMavenDescriptor>, although it should be set true by default, but it doesn't help.

-- 
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] Reopened: (MSHARED-185) maven-archiver doesn't generate META-INF/maven/groupid/artifactId/pom.* files in JAR

Posted by "Marek Novotný (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MSHARED-185?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marek Novotný reopened MSHARED-185:
-----------------------------------


I took your attached maven project and reproduced it.

> maven-archiver doesn't generate META-INF/maven/groupid/artifactId/pom.* files in JAR
> ------------------------------------------------------------------------------------
>
>                 Key: MSHARED-185
>                 URL: http://jira.codehaus.org/browse/MSHARED-185
>             Project: Maven Shared Components
>          Issue Type: Bug
>          Components: maven-archiver
>    Affects Versions: maven-archiver-2.4, maven-archiver-2.4.1
>         Environment: maven 2.2.1/3.0.2, java 6
>            Reporter: Marek Novotný
>            Assignee: Benjamin Bentmann
>         Attachments: MSHARED-185.zip
>
>
> I am using maven-jar-plugin 2.3.1, which using maven-archiver 2.4.1. In that configuration in generated jar is not added META-INF/maven/* files. There is only empty file META-INF/maven.
> I tried to donwgrade to maven-jar-plugin 2.2/2.1, which uses maven-archiver 2.3/2.2 and it works fine - files META-INF/maven/groupId/artifactId/pom.* files were added/generated.
> I tried also to add into archive configuration <addMavenDescriptor/> and <addMavenDescriptor>true</addMavenDescriptor>, although it should be set true by default, but it doesn't help.

-- 
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: (MSHARED-185) maven-archiver doesn't generate META-INF/maven/groupid/artifactId/pom.* files in JAR

Posted by "Marek Novotný (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MSHARED-185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=255554#action_255554 ] 

Marek Novotný commented on MSHARED-185:
---------------------------------------

I can now see the issue, it was in extraction from jar, SORRY!



> maven-archiver doesn't generate META-INF/maven/groupid/artifactId/pom.* files in JAR
> ------------------------------------------------------------------------------------
>
>                 Key: MSHARED-185
>                 URL: http://jira.codehaus.org/browse/MSHARED-185
>             Project: Maven Shared Components
>          Issue Type: Bug
>          Components: maven-archiver
>    Affects Versions: maven-archiver-2.4, maven-archiver-2.4.1
>         Environment: maven 2.2.1/3.0.2, java 6
>            Reporter: Marek Novotný
>            Assignee: Benjamin Bentmann
>         Attachments: maven-bug.zip, MSHARED-185.zip
>
>
> I am using maven-jar-plugin 2.3.1, which using maven-archiver 2.4.1. In that configuration in generated jar is not added META-INF/maven/* files. There is only empty file META-INF/maven.
> I tried to donwgrade to maven-jar-plugin 2.2/2.1, which uses maven-archiver 2.3/2.2 and it works fine - files META-INF/maven/groupId/artifactId/pom.* files were added/generated.
> I tried also to add into archive configuration <addMavenDescriptor/> and <addMavenDescriptor>true</addMavenDescriptor>, although it should be set true by default, but it doesn't help.

-- 
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: (MSHARED-185) maven-archiver doesn't generate META-INF/maven/groupid/artifactId/pom.* files in JAR

Posted by "Marek Novotný (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MSHARED-185?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marek Novotný closed MSHARED-185.
---------------------------------

    Resolution: Not A Bug

> maven-archiver doesn't generate META-INF/maven/groupid/artifactId/pom.* files in JAR
> ------------------------------------------------------------------------------------
>
>                 Key: MSHARED-185
>                 URL: http://jira.codehaus.org/browse/MSHARED-185
>             Project: Maven Shared Components
>          Issue Type: Bug
>          Components: maven-archiver
>    Affects Versions: maven-archiver-2.4, maven-archiver-2.4.1
>         Environment: maven 2.2.1/3.0.2, java 6
>            Reporter: Marek Novotný
>            Assignee: Benjamin Bentmann
>         Attachments: maven-bug.zip, MSHARED-185.zip
>
>
> I am using maven-jar-plugin 2.3.1, which using maven-archiver 2.4.1. In that configuration in generated jar is not added META-INF/maven/* files. There is only empty file META-INF/maven.
> I tried to donwgrade to maven-jar-plugin 2.2/2.1, which uses maven-archiver 2.3/2.2 and it works fine - files META-INF/maven/groupId/artifactId/pom.* files were added/generated.
> I tried also to add into archive configuration <addMavenDescriptor/> and <addMavenDescriptor>true</addMavenDescriptor>, although it should be set true by default, but it doesn't help.

-- 
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: (MSHARED-185) maven-archiver doesn't generate META-INF/maven/groupid/artifactId/pom.* files in JAR

Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MSHARED-185?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Bentmann closed MSHARED-185.
-------------------------------------

    Resolution: Cannot Reproduce
      Assignee: Benjamin Bentmann

> maven-archiver doesn't generate META-INF/maven/groupid/artifactId/pom.* files in JAR
> ------------------------------------------------------------------------------------
>
>                 Key: MSHARED-185
>                 URL: http://jira.codehaus.org/browse/MSHARED-185
>             Project: Maven Shared Components
>          Issue Type: Bug
>          Components: maven-archiver
>    Affects Versions: maven-archiver-2.4, maven-archiver-2.4.1
>         Environment: maven 2.2.1/3.0.2, java 6
>            Reporter: Marek Novotný
>            Assignee: Benjamin Bentmann
>         Attachments: MSHARED-185.zip
>
>
> I am using maven-jar-plugin 2.3.1, which using maven-archiver 2.4.1. In that configuration in generated jar is not added META-INF/maven/* files. There is only empty file META-INF/maven.
> I tried to donwgrade to maven-jar-plugin 2.2/2.1, which uses maven-archiver 2.3/2.2 and it works fine - files META-INF/maven/groupId/artifactId/pom.* files were added/generated.
> I tried also to add into archive configuration <addMavenDescriptor/> and <addMavenDescriptor>true</addMavenDescriptor>, although it should be set true by default, but it doesn't help.

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