[HAP-44] "Gradle-Artifactory Plugin" does not work with M3 (do deployment, no console output) Created: 21/Jun/10  Updated: 26/Aug/10  Resolved: 26/Aug/10

Status: Resolved
Project: Jenkins Artifactory Plug-in
Component/s: None
Affects Version/s: 1.1.0
Fix Version/s: 1.3.0

Type: Bug Priority: Blocker
Reporter: Michael Huettermann Assignee: Yossi Shaul
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
triggered HAP-45 "Gradle-Artifactory Plugin" is named ... Resolved


The Hudson Artifactory Plug-in does not work.

Artifactory Pro 2.2.4
Maven 3-beta1
Hudson 1.363: free style build project, configured for building a Maven (3) multi module project. With configured Artifactory repository, "Use
Gradle-Artifactory Plugin", together with "Activate Upload Archives" and "Upload Maven Archive" are activated.

Expected result: Maven build artifacts are deployed to Artifactory
Current result: very shy output, no deployment to Artifactory
[INFO] ... // some more default lines
[INFO] ----------------
Sending e-mails to: abc@abc.de
Finished: FAILURE

As far as I know, there is no workaround available. Thus, for our situation, this issue is a blocker.

Comment by Yoav Landman [ 21/Jun/10 ]

I am sorry - M3 is not yet supported - the free-style project Gradle-Artifactory Plugin is Gradle only. What may be misleading here is the naming of the options:
The option "Activate Upload Archives" is wrongly named and should be "Upload Maven Descriptors" - which will upload Gradle-generated Maven descriptors to the repository (the same support exists for Gradle-generated Ivy descriptors. We have fixed the misleading naming and help in HAP-46.

We still have some work to do in order to have M3 support in the plugin, since when invoking Maven we need to have Hudson register our plugin to the build and collect the build events for constructing the build info. This is trickier with M3 since Hudson does not taking control over the Maven invocation yet as it does with M2, so we need to figure out a way to do this with a free style project when Maven is invoked from the command line or wait for the Hudson-M3 project type integration.

Comment by Michael Huettermann [ 21/Jun/10 ]

ah, I see, thanks for the information. Yep, some re-naming and help is helpful. Thanks for that !!

Do you have a rough schedule for the M3 support? M3 (alpha, beta) is already on the market for some time now, and it is close to 3.0 final state. Many users already switched, and many more will follow. Beside that, if the project is strictly depending on Maven 3, you have no chance to use the Hudson/Artifactory-feature, at the moment.

if you need an alpha tester for the M3 support, please let me know

Generated at Sun Jan 26 22:08:43 UTC 2020 using JIRA 7.6.16#76018-sha1:9ed376192612a49536ac834c64177a0fed6290f5.