[ 
https://issues.apache.org/jira/browse/MNG-5328?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jason van Zyl closed MNG-5328.
------------------------------
    Resolution: Not A Problem

> maven plugin annotation requiresDependencyResolution
> ----------------------------------------------------
>
>                 Key: MNG-5328
>                 URL: https://issues.apache.org/jira/browse/MNG-5328
>             Project: Maven
>          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:
> {code}
> /**
>  * @goal generateDL
>  * @threadSafe
>  * @requiresDependencyResolution test
>  * @execute phase="compile"
>  * 
>  */
> public class GenerateDlMojo extends AbstractMojo  {
> {code}
> the current project classpath wasn't added to classloader. Would you please 
> help me to resolve this issue?
>    



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to