You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Jie Wu (JIRA)" <ji...@codehaus.org> on 2012/08/15 04:34:21 UTC

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

Jie Wu created MNG-5328:
---------------------------

             Summary: maven plugin annotation requiresDependencyResolution
                 Key: MNG-5328
                 URL: https://jira.codehaus.org/browse/MNG-5328
             Project: Maven 2 & 3
          Issue Type: Bug
            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: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira