[ http://jira.codehaus.org/browse/MNG-1804?page=all ]
Brett Porter closed MNG-1804:
-----------------------------
Resolution: Fixed
Fix Version: 2.0.1
> Can't load a class from a plugin, when this class is in a user's
> pom/build/plugins/plugin/dependencies
> ------------------------------------------------------------------------------------------------------
>
> Key: MNG-1804
> URL: http://jira.codehaus.org/browse/MNG-1804
> Project: Maven 2
> Type: Bug
> Components: Plugins and Lifecycle, Plugin API
> Versions: 2.0
> Reporter: Grégory Joseph
> Fix For: 2.0.1
> Attachments: ihaveaproblemwithm2pluginsclassloading.tgz
>
>
> Ok, so here's my problem:
> A plugin needs to load classes. These are not in the plugin's own
> dependencies, because they're specified by users in the plugin configuration.
> Please see the attached sample that demonstrates this fails. The test.sh file
> first installs the dummy plugin then runs it.
> (I left a dependency on commons-collections in the plugin's pom, just because
> at first I thought it failed when class instanciated by the plugin depended
> on classes of the plugin's self dependencies, but it doesn't seem to be the
> case)
> For the record, I bumped into this when trying to make a maven2 plugin for
> xdoclet2 - which uses picocontainer to instanciate its own plugins.
> Cheers,
> g
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]