Inside your task, you'll need to use
getProject().getReference("org.apache.maven.project.MavenProjectHelper")
IIRC.
If that doesn't work, let me know, and I'll dig around in the code.
-john
Martin van der Plas wrote:
Hi,
According to
http://maven.apache.org/guides/plugin/guide-ant-plugin-development.html
it is possible to define plexus components.
The hint does not describe how the component needs to be refered to.
I would like to use the maven ProjectHelper in an anttask. How can I
pass the ProjectHelper object to my task?
Thanks.
Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]