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

        

Reply via email to