Remove core artifacts from ${plugin.artifacts}
----------------------------------------------
Key: MNG-4277
URL: http://jira.codehaus.org/browse/MNG-4277
Project: Maven 2
Issue Type: Task
Components: Plugins and Lifecycle
Affects Versions: 3.0-alpha-3
Reporter: Benjamin Bentmann
Priority: Minor
{{PluginDescriptor.getArtifacts()}}, exposed to plugins via the expression
{{${plugin.artifacts}}}, previously also contained a reference to the uber JAR
as a substitution for the core artifacts. The code for this needs to make ugly
assumptions on the resource URLs returned by the class loader framework to
derive a file path from this. And just resolving the core artifacts from the
repos is also suboptimal as it causes CPU/network overhead (the plugin manager
doesn't need these files).
So unless somebody can present a good use case to have the core artifacts
resolved, we will safe us this complexity and limit the plugin.artifacts to the
non-core artifacts. This is sufficient for Surefire and many other plugins that
use this info merely to easily grab a few specific JARs to fork another tool.
--
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