PhilippeVienne
PhilippeVienne

Reputation: 560

Can I use compiled class in Maven Plugin?

I'm writing a Maven plugin which has to use the project's compiled classes but are they include to classpath after compilation or i've to load them ?

Upvotes: 0

Views: 85

Answers (1)

wrm
wrm

Reputation: 1908

There are different classpaths "active", depending on the current phase... e.g. in testing, the compiled classes are in the classpath. you can print them using this code.

Upvotes: 1

Related Questions