我想在构建过程中通过groovy-maven-plugin(或gmavenplus)执行小的groovy脚本,我需要第三方依赖项,但是项目本身不需要此依赖项,如何仅在执行groovy时添加此依赖项剧本?
Add the needed library as a plugin dependency .
<plugin>
<artifactId>groovy-maven-plugin</artifactId>
...
<dependencies>
<dependency>
....
</dependency>
</dependencies>
</plugin>
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.