You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Alexandre Navarro (JIRA)" <ji...@codehaus.org> on 2009/11/14 23:59:55 UTC

[jira] Created: (MJAR-132) Test jar is generated on mvn install or deploy when the type of artifact is pom (and herited by a parent pom)

Test jar is generated on mvn install or deploy when the type of artifact is pom (and herited by a parent pom)
-------------------------------------------------------------------------------------------------------------

                 Key: MJAR-132
                 URL: http://jira.codehaus.org/browse/MJAR-132
             Project: Maven 2.x Jar Plugin
          Issue Type: Bug
    Affects Versions: 2.2
            Reporter: Alexandre Navarro
         Attachments: maven-jar-plugin-issue.zip

Test jar is generated on mvn install or deploy when the type of artifact is pom (and herited by a parent pom).
I added jar plugin in a parent in my enterprise to force project to add test jar but it is so painful to have test jar where there is no jar.

I let a sample to show the issue.

-- 
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: (MJAR-132) Test jar is generated on mvn install or deploy when the type of artifact is pom (and herited by a parent pom)

Posted by "Alexandre Navarro (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MJAR-132?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=199652#action_199652 ] 

Alexandre Navarro commented on MJAR-132:
----------------------------------------

You can close it because it is duplicate with http://jira.codehaus.org/browse/MJAR-20

> Test jar is generated on mvn install or deploy when the type of artifact is pom (and herited by a parent pom)
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: MJAR-132
>                 URL: http://jira.codehaus.org/browse/MJAR-132
>             Project: Maven 2.x Jar Plugin
>          Issue Type: Bug
>    Affects Versions: 2.2
>            Reporter: Alexandre Navarro
>         Attachments: maven-jar-plugin-issue.zip
>
>
> Test jar is generated on mvn install or deploy when the type of artifact is pom (and herited by a parent pom).
> I added jar plugin in a parent in my enterprise to force project to add test jar but it is so painful to have test jar where there is no jar.
> I let a sample to show the issue.

-- 
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: (MJAR-132) Test jar is generated on mvn install or deploy when the type of artifact is pom (and herited by a parent pom)

Posted by "Alexandre Navarro (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MJAR-132?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=199649#action_199649 ] 

Alexandre Navarro commented on MJAR-132:
----------------------------------------

The problem exists also you package the parent pom.

> Test jar is generated on mvn install or deploy when the type of artifact is pom (and herited by a parent pom)
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: MJAR-132
>                 URL: http://jira.codehaus.org/browse/MJAR-132
>             Project: Maven 2.x Jar Plugin
>          Issue Type: Bug
>    Affects Versions: 2.2
>            Reporter: Alexandre Navarro
>         Attachments: maven-jar-plugin-issue.zip
>
>
> Test jar is generated on mvn install or deploy when the type of artifact is pom (and herited by a parent pom).
> I added jar plugin in a parent in my enterprise to force project to add test jar but it is so painful to have test jar where there is no jar.
> I let a sample to show the issue.

-- 
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: (MJAR-132) Test jar is generated on mvn install or deploy when the type of artifact is pom (and herited by a parent pom)

Posted by "Minas Manthos (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MJAR-132?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=229281#action_229281 ] 

Minas Manthos commented on MJAR-132:
------------------------------------

I think this issue should stay open... it is not a duplicate of MJAR-20

Issue 20 is an Improvement to not create empty jars, even if packaging is jar... This Issue describes, that <goal>test-jar</goal> creates a test-jar for pom's that are <packaging>pom</packaging> and this is IMO a bug...


> Test jar is generated on mvn install or deploy when the type of artifact is pom (and herited by a parent pom)
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: MJAR-132
>                 URL: http://jira.codehaus.org/browse/MJAR-132
>             Project: Maven 2.x Jar Plugin
>          Issue Type: Bug
>    Affects Versions: 2.2
>            Reporter: Alexandre Navarro
>         Attachments: maven-jar-plugin-issue.zip
>
>
> Test jar is generated on mvn install or deploy when the type of artifact is pom (and herited by a parent pom).
> I added jar plugin in a parent in my enterprise to force project to add test jar but it is so painful to have test jar where there is no jar.
> I let a sample to show the issue.

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