/[Apache-SVN]
ViewVC logotype

Revision 191582


Jump to revision: Previous Next
Author: jdcasey
Date: Mon Jun 20 22:42:26 2005 UTC (19 years, 3 months ago)
Changed paths: 1
Log Message:
Resolving: MNG-494

o During addPlugin() only the plugin's artifact is resolved/added...just enough to get the plugin container to discover the pluginDescriptor.

o During getConfiguredMojo(), the rest of the plugin's artifacts will be transitively resolved and added to the plugin container (if this hasn't already been done). The deciding factor for attempting to complete the plugin container's artifact list is whether the only artifact in the pluginDescriptor's artifact list is the plugin artifact itself. If that makes sense.

It's a bit of black magic, but I think it'll work unless/until we find something more elegant. I'm abusing the container a little bit here, so it might be sensitive to plexus changes in future.



Changed paths

Path Details
Directorymaven/components/trunk/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginManager.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26