You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Jason van Zyl (JIRA)" <ji...@apache.org> on 2015/05/01 01:55:06 UTC

[jira] [Closed] (MNG-5328) maven plugin annotation requiresDependencyResolution

     [ 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)