Maven 2.x IDEA Plugin

source code is not linked to dependencies with a classifier

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None
  • Environment:
    Sun-JDK 1.5.0_06, Fedora Core 5
  • Number of attachments :
    1

Description

Using the latest copy of the plugin from SVN, it correctly downloads and links source code (and javadocs) to dependencies defined in the POM. This does not happen, however, to dependencies with a classifier.

To reproduce, add a dependency with a classifier, like this:
<dependency>
<groupId>...</groupId>
<artifactId>...</artifactId>
<version>...</version>
<classifier>tests</classifier>
</dependency>

Activity

Hide
Brett Porter added a comment -

I want to spend more time investigating this to see whether the classifier is consistenly appended to the existing one on release.

The problem would be because it is being replaced. If there's no way to consistently designate this, then it may need to be a configuration mapping.

How are your test sources generated?

Show
Brett Porter added a comment - I want to spend more time investigating this to see whether the classifier is consistenly appended to the existing one on release. The problem would be because it is being replaced. If there's no way to consistently designate this, then it may need to be a configuration mapping. How are your test sources generated?
Hide
Eric Turcotte added a comment -

This patch may not present the best solution to this issue, but it solves it for test sources.

Show
Eric Turcotte added a comment - This patch may not present the best solution to this issue, but it solves it for test sources.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated: