How to get Maven to run war:exploded but not war:war

后端 未结 5 1695
长情又很酷
长情又很酷 2020-12-04 16:30

I have a Maven pom that uses war. But actually, I don\'t want build the war-file, I just want all the dependent jars collect

5条回答
  •  佛祖请我去吃肉
    2020-12-04 16:48

    As far as I know (I'm still new to maven) this is not possible. The only default lifecycle you can skip is 'test'. In order to get to the deploy you have to package. You can read all about the default lifecycle order of execution here: http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html#Lifecycle_Reference

提交回复
热议问题