jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
Signup
Maven 2.x Source Plugin
  • Maven 2.x Source Plugin
  • MSOURCES-45

Test Source Jar has wrong name.

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 2.2
  • Labels:
    None
  • Number of attachments :
    1

Description

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.

  • Options
    • Sort By Name
    • Sort By Date
    • Ascending
    • Descending
    • Download All

Attachments

  1. Text File
    test-sources.patch
    14/May/09 7:36 AM
    1 kB
    Jason Zaugg

Issue Links

duplicates

New Feature - A new feature of the product, which has yet to be developed. MSOURCES-50 Add optional 'classifier' for source artifact

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Arnaud Heritier added a comment - 11/Oct/09 5:56 PM

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.

Show
Arnaud Heritier added a comment - 11/Oct/09 5:56 PM 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.
Hide
Permalink
Grégory Joseph added a comment - 20/Jan/10 3:54 PM

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

Show
Grégory Joseph added a comment - 20/Jan/10 3:54 PM Is there a related issue opened with Jetbrains, so we can follow on both sides and see who blames who ?
Hide
Permalink
Sebastien Bonnet added a comment - 15/Feb/10 8:46 AM

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.

Show
Sebastien Bonnet added a comment - 15/Feb/10 8:46 AM 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.
Hide
Permalink
Grégory Joseph added a comment - 02/Sep/10 11:50 AM - edited

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

Show
Grégory Joseph added a comment - 02/Sep/10 11:50 AM - edited 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
Hide
Permalink
Grégory Joseph added a comment - 03/Sep/10 2:05 AM

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

Show
Grégory Joseph added a comment - 03/Sep/10 2:05 AM For the record, there IS a related issue on Jetbrains' side: http://youtrack.jetbrains.net/issue/IDEA-26928
Hide
Permalink
Olivier Lamy added a comment - 29/Jun/12 10:26 AM

classifier is now configurable.

Show
Olivier Lamy added a comment - 29/Jun/12 10:26 AM classifier is now configurable.

People

  • Assignee:
    Olivier Lamy
    Reporter:
    Jason Zaugg
Vote (4)
Watch (6)

Dates

  • Created:
    14/May/09 7:22 AM
    Updated:
    29/Jun/12 10:26 AM
    Resolved:
    29/Jun/12 10:26 AM
  • Atlassian JIRA (v5.2.7#850-sha1:b2af0c8)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.