dspot icon indicating copy to clipboard operation
dspot copied to clipboard

PERFORMANCE: do not use MavenInvoker inside the plugin

Open danglotb opened this issue 7 years ago • 1 comments

Currently, we run the instrumentation and the tests using MavenInvoker, which call maven goals.

It must have a way to attach specific goals to our own goal/plugin.

danglotb avatar Jul 26 '18 09:07 danglotb

Idea: call a plugin from inside your mojo. Here's how we do it on XWiki:

https://github.com/xwiki/xwiki-commons/blob/433f37885bf1941540542714ca24b3391ea6cf36/xwiki-commons-tools/xwiki-commons-tool-xar/xwiki-commons-tool-xar-plugin/pom.xml

and

https://github.com/xwiki/xwiki-commons/blob/71bbc482c5901baa61902511be5b6ed84b29b902/xwiki-commons-tools/xwiki-commons-tool-xar/xwiki-commons-tool-xar-plugin/src/main/java/org/xwiki/tool/xar/AbstractVerifyMojo.java#L365

vmassol avatar Apr 09 '19 09:04 vmassol