Is it possible to execute two different maven exec-maven-plugin in a single POM

后端 未结 6 1955
臣服心动
臣服心动 2021-01-30 09:59

I execute the following code using mvn exec:java com.mycompany.FooServer.

I would like to add another server which I can execute like mvn exec:java co

6条回答
  •  -上瘾入骨i
    2021-01-30 10:49

    With maven > 3.3.1 it is possible to specify the execution id as:

    mvn exec:java@execId
    

提交回复
热议问题