Maybe the following link to another posting showing the same problem makes my
problem more clear:

http://www.mail-archive.com/[email protected]/msg75016.html

Maybe some more general question can help. Is there a running example that
shows how to invoke a java ant task with a thirdparty main class in an ant
based maven plugin? How can I construct the classpath in the java task to
refer to the thirdparty jar? 
* It does not make sense to hardwire a fixed path. 
* I could use a plugin parameter which contains the class path, but this is
not what I want, because I have to construct the class path myself with
different values in different projects.
* Is it possible to refer to the dependencies listed in the plugin pom (not
the project pom where the plugin is executed)? Then maven could construct
the class path for me.      

Gerd
-- 
View this message in context: 
http://www.nabble.com/How-to-access-the-plugin-class-path-in-ant-based-mojo-tp23409880p23425215.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to