`

maven 跳过deploy

 
阅读更多


Avoid artifact deployment in the remote repo

The deployment of the artifact in the remote repository is done by the maven-deploy-plugin, by the goal is deploy:deploy, which offers a skip parameter that allow easily to reach our purpose.
So this is the configuration that must added to our pom:

  <build>
    <plugins>
      [...]
      <plugin>
        <artifactId>maven-deploy-plugin</artifactId>
        <configuration>
          <skip>true</skip>
        </configuration>
      </plugin>
      [...]
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics