You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Lefebvre JF (JIRA)" <ji...@codehaus.org> on 2013/01/07 10:59:13 UTC

[jira] (MJAR-162) skipIfEmpty not work for test-jar goal

Lefebvre JF created MJAR-162:
--------------------------------

             Summary: skipIfEmpty not work for test-jar goal
                 Key: MJAR-162
                 URL: https://jira.codehaus.org/browse/MJAR-162
             Project: Maven 2.x JAR Plugin
          Issue Type: Bug
    Affects Versions: 2.4
            Reporter: Lefebvre JF


skipIfEmpty not work for test-jar goal

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (MJAR-162) skipIfEmpty not work for test-jar goal and empty directories

Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/MJAR-162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olivier Lamy closed MJAR-162.
-----------------------------

    Resolution: Fixed

fixed http://svn.apache.org/r1444045

                
> skipIfEmpty not work for test-jar goal  and empty directories
> -------------------------------------------------------------
>
>                 Key: MJAR-162
>                 URL: https://jira.codehaus.org/browse/MJAR-162
>             Project: Maven 2.x JAR Plugin
>          Issue Type: Bug
>    Affects Versions: 2.4
>            Reporter: Lefebvre JF
>            Assignee: Olivier Lamy
>             Fix For: 2.5
>
>         Attachments: wsTestMaven.zip
>
>
> skipIfEmpty not work for test-jar goal

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (MJAR-162) skipIfEmpty not work for test-jar goal

Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MJAR-162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=318167#comment-318167 ] 

Olivier Lamy commented on MJAR-162:
-----------------------------------

There is an integration test for MJAR-139 and it works (test jar not created)
So do you have a sample project to demonstrate your trouble ?
Thanks
                
> skipIfEmpty not work for test-jar goal
> --------------------------------------
>
>                 Key: MJAR-162
>                 URL: https://jira.codehaus.org/browse/MJAR-162
>             Project: Maven 2.x JAR Plugin
>          Issue Type: Bug
>    Affects Versions: 2.4
>            Reporter: Lefebvre JF
>
> skipIfEmpty not work for test-jar goal

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (MJAR-162) skipIfEmpty not work for test-jar goal

Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/MJAR-162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olivier Lamy updated MJAR-162:
------------------------------

    Fix Version/s: 2.5
         Assignee: Olivier Lamy
    
> skipIfEmpty not work for test-jar goal
> --------------------------------------
>
>                 Key: MJAR-162
>                 URL: https://jira.codehaus.org/browse/MJAR-162
>             Project: Maven 2.x JAR Plugin
>          Issue Type: Bug
>    Affects Versions: 2.4
>            Reporter: Lefebvre JF
>            Assignee: Olivier Lamy
>             Fix For: 2.5
>
>         Attachments: wsTestMaven.zip
>
>
> skipIfEmpty not work for test-jar goal

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (MJAR-162) skipIfEmpty not work for test-jar goal

Posted by "Lefebvre JF (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MJAR-162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=318888#comment-318888 ] 

Lefebvre JF commented on MJAR-162:
----------------------------------

I know this workaround but if you take the source plugin, it does not create jar even if src/test/java and src/test/resouces are present but empty.
                
> skipIfEmpty not work for test-jar goal
> --------------------------------------
>
>                 Key: MJAR-162
>                 URL: https://jira.codehaus.org/browse/MJAR-162
>             Project: Maven 2.x JAR Plugin
>          Issue Type: Bug
>    Affects Versions: 2.4
>            Reporter: Lefebvre JF
>         Attachments: wsTestMaven.zip
>
>
> skipIfEmpty not work for test-jar goal

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (MJAR-162) skipIfEmpty not work for test-jar goal

Posted by "Lefebvre JF (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MJAR-162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=318891#comment-318891 ] 

Lefebvre JF commented on MJAR-162:
----------------------------------

Thanks a lot.
                
> skipIfEmpty not work for test-jar goal
> --------------------------------------
>
>                 Key: MJAR-162
>                 URL: https://jira.codehaus.org/browse/MJAR-162
>             Project: Maven 2.x JAR Plugin
>          Issue Type: Bug
>    Affects Versions: 2.4
>            Reporter: Lefebvre JF
>            Assignee: Olivier Lamy
>             Fix For: 2.5
>
>         Attachments: wsTestMaven.zip
>
>
> skipIfEmpty not work for test-jar goal

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (MJAR-162) skipIfEmpty not work for test-jar goal

Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MJAR-162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=318884#comment-318884 ] 

Olivier Lamy commented on MJAR-162:
-----------------------------------

you  child project contains directories src/test/java and src/test/resources so that create target/test-classes that's why the test jar is created.
Remove those directories and not test jar will be created.
                
> skipIfEmpty not work for test-jar goal
> --------------------------------------
>
>                 Key: MJAR-162
>                 URL: https://jira.codehaus.org/browse/MJAR-162
>             Project: Maven 2.x JAR Plugin
>          Issue Type: Bug
>    Affects Versions: 2.4
>            Reporter: Lefebvre JF
>         Attachments: wsTestMaven.zip
>
>
> skipIfEmpty not work for test-jar goal

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (MJAR-162) skipIfEmpty not work for test-jar goal

Posted by "Lefebvre JF (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MJAR-162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=318049#comment-318049 ] 

Lefebvre JF commented on MJAR-162:
----------------------------------

Just launch à jar-test on a project without test source
The test jar source is generate even if you set skipifempty = true
                
> skipIfEmpty not work for test-jar goal
> --------------------------------------
>
>                 Key: MJAR-162
>                 URL: https://jira.codehaus.org/browse/MJAR-162
>             Project: Maven 2.x JAR Plugin
>          Issue Type: Bug
>    Affects Versions: 2.4
>            Reporter: Lefebvre JF
>
> skipIfEmpty not work for test-jar goal

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] (MJAR-162) skipIfEmpty not work for test-jar goal and empty directories

Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/MJAR-162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olivier Lamy updated MJAR-162:
------------------------------

    Summary: skipIfEmpty not work for test-jar goal  and empty directories  (was: skipIfEmpty not work for test-jar goal)
    
> skipIfEmpty not work for test-jar goal  and empty directories
> -------------------------------------------------------------
>
>                 Key: MJAR-162
>                 URL: https://jira.codehaus.org/browse/MJAR-162
>             Project: Maven 2.x JAR Plugin
>          Issue Type: Bug
>    Affects Versions: 2.4
>            Reporter: Lefebvre JF
>            Assignee: Olivier Lamy
>             Fix For: 2.5
>
>         Attachments: wsTestMaven.zip
>
>
> skipIfEmpty not work for test-jar goal

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (MJAR-162) skipIfEmpty not work for test-jar goal

Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MJAR-162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=318889#comment-318889 ] 

Olivier Lamy commented on MJAR-162:
-----------------------------------

you are correct. I will fix that .
                
> skipIfEmpty not work for test-jar goal
> --------------------------------------
>
>                 Key: MJAR-162
>                 URL: https://jira.codehaus.org/browse/MJAR-162
>             Project: Maven 2.x JAR Plugin
>          Issue Type: Bug
>    Affects Versions: 2.4
>            Reporter: Lefebvre JF
>             Fix For: 2.5
>
>         Attachments: wsTestMaven.zip
>
>
> skipIfEmpty not work for test-jar goal

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (MJAR-162) skipIfEmpty not work for test-jar goal

Posted by "Lefebvre JF (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/MJAR-162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lefebvre JF updated MJAR-162:
-----------------------------

    Attachment: wsTestMaven.zip

Please lauch package on the parent project, you will see that the child/target/child-0.0.1-SNAPSHOT-tests.jar is created even if there is no test class.
                
> skipIfEmpty not work for test-jar goal
> --------------------------------------
>
>                 Key: MJAR-162
>                 URL: https://jira.codehaus.org/browse/MJAR-162
>             Project: Maven 2.x JAR Plugin
>          Issue Type: Bug
>    Affects Versions: 2.4
>            Reporter: Lefebvre JF
>         Attachments: wsTestMaven.zip
>
>
> skipIfEmpty not work for test-jar goal

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (MJAR-162) skipIfEmpty not work for test-jar goal

Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MJAR-162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=318039#comment-318039 ] 

Olivier Lamy commented on MJAR-162:
-----------------------------------

MJAR-139 fixed that
Any sample project to show your issue ?
                
> skipIfEmpty not work for test-jar goal
> --------------------------------------
>
>                 Key: MJAR-162
>                 URL: https://jira.codehaus.org/browse/MJAR-162
>             Project: Maven 2.x JAR Plugin
>          Issue Type: Bug
>    Affects Versions: 2.4
>            Reporter: Lefebvre JF
>
> skipIfEmpty not work for test-jar goal

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira