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

[jira] Created: (MSOURCES-45) Test Source Jar has wrong name.

Test Source Jar has wrong name.
-------------------------------

                 Key: MSOURCES-45
                 URL: http://jira.codehaus.org/browse/MSOURCES-45
             Project: Maven 2.x Source Plugin
          Issue Type: Bug
            Reporter: Jason Zaugg


maven-jar-plugin generates:

module-1.0-tests.jar

maven-sources plugin generates:

module-1.0-test-sources.jar

I would expect:

module-1.0-tests-sources.jar

IntelliJ also expects this, and cannot bind to the test sources JAR.

Either change the classifier, or make it configurable.



-- 
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] Issue Comment Edited: (MSOURCES-45) Test Source Jar has wrong name.

Posted by "Grégory Joseph (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MSOURCES-45?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=234053#action_234053 ] 

Grégory Joseph edited comment on MSOURCES-45 at 9/2/10 12:18 PM:
-----------------------------------------------------------------

Now using IntelliJ 9.0.2, and I can see it's expecting module-1.0-test-sources.jar, so maybe this issue can be close (despite the inconsistency)

_edit: hmm no, it's still expecting m-tests-sources.jar, my bad_

      was (Author: gjoseph):
    Now using IntelliJ 9.0.2, and I can see it's expecting module-1.0-test-sources.jar, so maybe this issue can be close (despite the inconsistency)

  
> Test Source Jar has wrong name.
> -------------------------------
>
>                 Key: MSOURCES-45
>                 URL: http://jira.codehaus.org/browse/MSOURCES-45
>             Project: Maven 2.x Source Plugin
>          Issue Type: Bug
>            Reporter: Jason Zaugg
>         Attachments: test-sources.patch
>
>
> maven-jar-plugin generates:
> module-1.0-tests.jar
> maven-sources plugin generates:
> module-1.0-test-sources.jar
> I would expect:
> module-1.0-tests-sources.jar
> IntelliJ also expects this, and cannot bind to the test sources JAR.
> Either change the classifier, or make it configurable.

-- 
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: (MSOURCES-45) Test Source Jar has wrong name.

Posted by "Grégory Joseph (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MSOURCES-45?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=234053#action_234053 ] 

Grégory Joseph commented on MSOURCES-45:
----------------------------------------

Now using IntelliJ 9.0.2, and I can see it's expecting module-1.0-test-sources.jar, so maybe this issue can be close (despite the inconsistency)


> Test Source Jar has wrong name.
> -------------------------------
>
>                 Key: MSOURCES-45
>                 URL: http://jira.codehaus.org/browse/MSOURCES-45
>             Project: Maven 2.x Source Plugin
>          Issue Type: Bug
>            Reporter: Jason Zaugg
>         Attachments: test-sources.patch
>
>
> maven-jar-plugin generates:
> module-1.0-tests.jar
> maven-sources plugin generates:
> module-1.0-test-sources.jar
> I would expect:
> module-1.0-tests-sources.jar
> IntelliJ also expects this, and cannot bind to the test sources JAR.
> Either change the classifier, or make it configurable.

-- 
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: (MSOURCES-45) Test Source Jar has wrong name.

Posted by "Grégory Joseph (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MSOURCES-45?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=234088#action_234088 ] 

Grégory Joseph commented on MSOURCES-45:
----------------------------------------

For the record, there IS a related issue on Jetbrains' side: http://youtrack.jetbrains.net/issue/IDEA-26928

> Test Source Jar has wrong name.
> -------------------------------
>
>                 Key: MSOURCES-45
>                 URL: http://jira.codehaus.org/browse/MSOURCES-45
>             Project: Maven 2.x Source Plugin
>          Issue Type: Bug
>            Reporter: Jason Zaugg
>         Attachments: test-sources.patch
>
>
> maven-jar-plugin generates:
> module-1.0-tests.jar
> maven-sources plugin generates:
> module-1.0-test-sources.jar
> I would expect:
> module-1.0-tests-sources.jar
> IntelliJ also expects this, and cannot bind to the test sources JAR.
> Either change the classifier, or make it configurable.

-- 
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: (MSOURCES-45) Test Source Jar has wrong name.

Posted by "Sebastien Bonnet (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MSOURCES-45?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=210215#action_210215 ] 

Sebastien Bonnet commented on MSOURCES-45:
------------------------------------------

Could we have an optional parameter to specify the jar suffix instead of hardcoding it to "-sources" for the source:jar goal and "-test-sources" for the source:test-jar goal?
This way we avoid any backward compatibility issues.

> Test Source Jar has wrong name.
> -------------------------------
>
>                 Key: MSOURCES-45
>                 URL: http://jira.codehaus.org/browse/MSOURCES-45
>             Project: Maven 2.x Source Plugin
>          Issue Type: Bug
>            Reporter: Jason Zaugg
>         Attachments: test-sources.patch
>
>
> maven-jar-plugin generates:
> module-1.0-tests.jar
> maven-sources plugin generates:
> module-1.0-test-sources.jar
> I would expect:
> module-1.0-tests-sources.jar
> IntelliJ also expects this, and cannot bind to the test sources JAR.
> Either change the classifier, or make it configurable.

-- 
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: (MSOURCES-45) Test Source Jar has wrong name.

Posted by "Jason Zaugg (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MSOURCES-45?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason Zaugg updated MSOURCES-45:
--------------------------------

    Attachment: test-sources.patch

> Test Source Jar has wrong name.
> -------------------------------
>
>                 Key: MSOURCES-45
>                 URL: http://jira.codehaus.org/browse/MSOURCES-45
>             Project: Maven 2.x Source Plugin
>          Issue Type: Bug
>            Reporter: Jason Zaugg
>         Attachments: test-sources.patch
>
>
> maven-jar-plugin generates:
> module-1.0-tests.jar
> maven-sources plugin generates:
> module-1.0-test-sources.jar
> I would expect:
> module-1.0-tests-sources.jar
> IntelliJ also expects this, and cannot bind to the test sources JAR.
> Either change the classifier, or make it configurable.

-- 
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: (MSOURCES-45) Test Source Jar has wrong name.

Posted by "Grégory Joseph (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MSOURCES-45?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=207665#action_207665 ] 

Grégory Joseph commented on MSOURCES-45:
----------------------------------------

Is there a related issue opened with Jetbrains, so we can follow on both sides and see who blames who ? :)

> Test Source Jar has wrong name.
> -------------------------------
>
>                 Key: MSOURCES-45
>                 URL: http://jira.codehaus.org/browse/MSOURCES-45
>             Project: Maven 2.x Source Plugin
>          Issue Type: Bug
>            Reporter: Jason Zaugg
>         Attachments: test-sources.patch
>
>
> maven-jar-plugin generates:
> module-1.0-tests.jar
> maven-sources plugin generates:
> module-1.0-test-sources.jar
> I would expect:
> module-1.0-tests-sources.jar
> IntelliJ also expects this, and cannot bind to the test sources JAR.
> Either change the classifier, or make it configurable.

-- 
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] (MSOURCES-45) Test Source Jar has wrong name.

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

Olivier Lamy closed MSOURCES-45.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 2.2
         Assignee: Olivier Lamy

classifier is now configurable.
                
> Test Source Jar has wrong name.
> -------------------------------
>
>                 Key: MSOURCES-45
>                 URL: https://jira.codehaus.org/browse/MSOURCES-45
>             Project: Maven 2.x Source Plugin
>          Issue Type: Bug
>            Reporter: Jason Zaugg
>            Assignee: Olivier Lamy
>             Fix For: 2.2
>
>         Attachments: test-sources.patch
>
>
> maven-jar-plugin generates:
> module-1.0-tests.jar
> maven-sources plugin generates:
> module-1.0-test-sources.jar
> I would expect:
> module-1.0-tests-sources.jar
> IntelliJ also expects this, and cannot bind to the test sources JAR.
> Either change the classifier, or make it configurable.

--
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] Commented: (MSOURCES-45) Test Source Jar has wrong name.

Posted by "Arnaud Heritier (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MSOURCES-45?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=194327#action_194327 ] 

Arnaud Heritier commented on MSOURCES-45:
-----------------------------------------

I think that changing the classifier will have impacts on existing builds even if this one is erroneous. I would like to have the feedback of some others committers before trying to fix this one.

> Test Source Jar has wrong name.
> -------------------------------
>
>                 Key: MSOURCES-45
>                 URL: http://jira.codehaus.org/browse/MSOURCES-45
>             Project: Maven 2.x Source Plugin
>          Issue Type: Bug
>            Reporter: Jason Zaugg
>         Attachments: test-sources.patch
>
>
> maven-jar-plugin generates:
> module-1.0-tests.jar
> maven-sources plugin generates:
> module-1.0-test-sources.jar
> I would expect:
> module-1.0-tests-sources.jar
> IntelliJ also expects this, and cannot bind to the test sources JAR.
> Either change the classifier, or make it configurable.

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