views:

305

answers:

1

Hi All

I am writing some coge-gen maven-plugin.

I need my project classpath be injected in to my plugin execution classpath.

I found this article. The solution there works but is quite long. Maybe someone of you know an out of the box solution.

+3  A: 
Roman
+1 Yes, that's the way to go AFAIK. It would be nice to explain or summarize the link in your answer though. That would greatly improve the value of your question and your answer for readers IMHO.
Pascal Thivent
This is the solution I need too - I can't get it to compile though.I think I have the wrong version of some of the classes.I wonder if you could add the relevant sections of your pom.xml to your answer too please.
Darren Greaves