简体   繁体   中英

Can I use compiled class in Maven Plugin?

我正在编写一个必须使用项目的已编译类的Maven插件,但是它们在编译后是否包含在类路径中,还是我必须加载它们?

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM