maven-deploy-plugin

Maven deploy plugin - deployAtEnd not working

与世无争的帅哥 提交于 2019-11-28 04:14:51
问题 I'm using maven-deploy-plugin in multi-module project with deployAtEnd property set to true . After executing mvn deploy in root project, deploy plugin is executed for each subproject - I can see something like: [INFO] --- maven-deploy-plugin:2.8.2:deploy (default-deploy) @ subproject-name --- [INFO] Deploying package:subproject-name:v1.1 at end Last invocation is for root project: [INFO] --- maven-deploy-plugin:2.8.2:deploy (default-deploy) @ parent-project --- [INFO] Deploying package

Maven maven-deploy-plugin always upload twice

狂风中的少年 提交于 2019-11-27 13:09:24
问题 I've a problem when publishing component to a Nexus repository, Maven upload the file twice: first time with maven-deploy-plugin groupId/artifactId/version parameters (that's what I want) second time with pom groupId/artifactId/version parameters (that's what I DON'T want) I launch packaging/deployment with the following command (see pom.xml file at the bottom): mvn clean package deploy:deploy-file -e -f pom.xml Here is the snippet of maven output console when handling deploy phase (the 6