I am writing some code-gen maven-plugin.
I need my project classpath be injected in to my plugin execution classpath.
I found this article. The solution ther
followed this link.... did very similar thing for my code... i have created a maven-fit-plugin I have used exactly the same pom.xml for my plugin, reusing the IncludeProjectDependenciesComponentConfigurator
I am using maven 2.2.0 if it can help, here's pom again
4.0.0
com.worldcorpservices.plugins
maven-fit-plugin
maven-plugin
1.0-SNAPSHOT
maven-fit-plugin Maven Mojo
http://maven.apache.org
2.0
2.2.0
org.apache.maven
maven-plugin-api
2.0
junit
junit
4.7
test
commons-logging
commons-logging
1.1.1
org.fitnesse
fitlibrary
${fitlibrary.version}
log4j
log4j
1.2.12
poi
poi
3.7-20101029
org.apache.maven
maven-artifact
${maven.version}
org.apache.maven
maven-plugin-api
${maven.version}
org.apache.maven
maven-project
${maven.version}
org.apache.maven
maven-model
${maven.version}
org.apache.maven
maven-core
2.0.9
hope this helps
rgds marco
maven-compiler-plugin
1.6
1.6
org.codehaus.plexus
plexus-maven-plugin
descriptor