[
https://jira.codehaus.org/browse/MNG-5328?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Scholte updated MNG-5328:
--------------------------------
Description:
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?
was:
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?
> maven plugin annotation requiresDependencyResolution
> ----------------------------------------------------
>
> Key: MNG-5328
> URL: https://jira.codehaus.org/browse/MNG-5328
> Project: Maven 2 & 3
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira