You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Robert Scholte (JIRA)" <ji...@codehaus.org> on 2013/03/10 14:44:52 UTC
[jira] (MNG-5328) maven plugin annotation
requiresDependencyResolution
[ https://jira.codehaus.org/browse/MNG-5328?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Scholte updated MNG-5328:
--------------------------------
Component/s: Plugin API
> maven plugin annotation requiresDependencyResolution
> ----------------------------------------------------
>
> Key: MNG-5328
> URL: https://jira.codehaus.org/browse/MNG-5328
> Project: Maven 2 & 3
> Issue Type: Bug
> Components: Plugin API
> Reporter: Jie Wu
>
> maven plugin need to use current project classpath, i tried add dependency node under plugin in the pom.xml. it works fine, but once i tried the following:
> * @goal generateDL
> * @threadSafe
> * @requiresDependencyResolution test
> * @execute phase="compile"
> *
> */
> public class GenerateDlMojo extends AbstractMojo {
> the current project classpath wasn't added to classloader. Would you please help me to resolve this issue?
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira