Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jfrog mvn package should not upload artifacts to artifactory #1348

Closed
tsuyo opened this issue Dec 17, 2021 · 2 comments · Fixed by jfrog/build-info#626
Closed

jfrog mvn package should not upload artifacts to artifactory #1348

tsuyo opened this issue Dec 17, 2021 · 2 comments · Fixed by jfrog/build-info#626
Labels
feature request New feature or request

Comments

@tsuyo
Copy link

tsuyo commented Dec 17, 2021

Is your feature request related to a problem? Please describe.
Normal mvn package command builds artifacts, but doesn't install and/or deploy them. But currently jfrog mvn package automatically uploads artifacts to artifactory. So it should obey the same principle as normal mvn package.

Describe the solution you'd like to see
jfrog mvn package should only build artifacts, but not upload them to artifactory.

Describe alternatives you've considered
N/A

Additional context
N/A

@tsuyo tsuyo added the feature request New feature or request label Dec 17, 2021
@donhui
Copy link

donhui commented Feb 15, 2022

The issue can be solved temporarily by add -Dartifactory.publish.artifacts=false to the list of goals and options.

@larkoie
Copy link

larkoie commented Oct 14, 2024

We juste stumbled on this with 'mvn install'.
This is horrible behavior that should not have been implemented first. Maven has very well documented workflows that are known by everybody for years.
Jfrog just decides to mess all the well known wording and say that 'mvn install' or 'mvn package' will actually also deploy on Artifactory.
This is straight madness to implement such things, what's the added value? It's just adding complexity on top of a simple workflow...
Jfrog cli is just a wrapper to integrate with Artifactory, it should not mess with the expected workflow of the tools it's using...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants