maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mattmadhavan <>
Subject Custom Plugin adding project dependencies to Plugin classpath
Date Thu, 03 May 2012 18:18:30 GMT
I'm writing a custom maven plugin that used google Reflections to generate
some code and xml from the classes in project's output folder. The classes
in the out put folder obviously have dependencies from classes from the
maven project dependencies.

How do I enhance my plugin classpath with the project dependencies? I found
some old posts none of them seem to work.

For instance I cannnot even perform a Class.forname on class thats in the
output folder that has a dependency to another class that is part of the
maven project dependencies.

For instance I would like to enhance my plugin's class path to be 

Any ideas please?


View this message in context:
Sent from the Maven - Users mailing list archive at
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message