maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason van Zyl (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (MNG-5328) maven plugin annotation requiresDependencyResolution
Date Thu, 30 Apr 2015 23:55:06 GMT

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

Mime
View raw message