0
点赞
收藏
分享

微信扫一扫

Maven deploy跳过某个module解决办法

IT程序员 2022-04-06 阅读 95
java后端

I don’t want to deploy one of the artifacts in my multi-module build. Can I skip deployment?

Yes, you can skip deployment of individual modules by configuring the Deploy Plugin as follows:

<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-deploy-plugin</artifactId>
  <version>X.Y</version>
  <configuration>
    <skip>true</skip>
  </configuration>
</plugin>

注意:我使用的 version 2.8.2

参考:http://maven.apache.org/plugins/maven-deploy-plugin/faq.html#skip

举报

相关推荐

0 条评论