jfrog / bamboo-artifactory-plugin

Atlassian Bamboo plugin that enables traceable build artifacts with Artifactory
https://plugins.atlassian.com/plugin/details/27818
Apache License 2.0
42 stars 55 forks source link

pom.xml not deployed by maven 3 artifactory task when executing verify #31

Open tsachev opened 8 years ago

tsachev commented 8 years ago

Hi I tend to prefer mvn verify vs mvn install on my build server so I can keep the maven local repo clean from artifacts produced by failing multi-module builds.

However when I configure my build with clean verify my pom file is not deployed to artifactory, if I use clean install, the pom file is deployed.

I am using the Artifactory Maven 3 task and Deploy Maven Artifacts is selected. Version of the plugin is 1.10.1 because we are on bamboo 5.10.3.

eyalbe4 commented 8 years ago

Hi @tsachev, You're correct, the Artifactory Macen 3 task integrates with Maven-Artifactory deployment only through the install maven goal. Using other goals will does not trigger artifacts deployment to Artifactory.