How do I run a specific goal with a particular configuration in a Maven plugin when I have several configurations for that goal

后端 未结 4 803
栀梦
栀梦 2020-12-28 14:15

See plugin config from pom.xml below.

I can do:

mvn myplugin:myGoal

Which runs myGoal (both executions I suppose) but I want to be able

4条回答
  •  天涯浪人
    2020-12-28 15:06

    Hey you can create your goal like this:-

    org.myplugin:myplugin-maven-plugin:1.1.1:myGoal  i.e
    :::
    

    It works in my case ...

提交回复
热议问题