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

Artifactory and internal POM #30

Closed
CSBaum opened this issue May 27, 2016 · 3 comments
Closed

Artifactory and internal POM #30

CSBaum opened this issue May 27, 2016 · 3 comments

Comments

@CSBaum
Copy link

CSBaum commented May 27, 2016

I am not really sure this is an 'issue', but i find that when i upload the gradle-lint jar into my Artifactory instance, it always pre-populates it with commons-lang:commons-lang:2.6, so i am always having to manually enter the group and artifact ids. It seems to work fine when i import the actual gradle-lint pom.

I am no artifactory expert so i can very well be doing something wrong ....

Sean

@jkschneider
Copy link
Contributor

@CSBaum Curious... the lint plugin's pom looks good to me out in Maven Central. What mechanism are you using to upload it?

@CSBaum
Copy link
Author

CSBaum commented May 27, 2016

The upload option within the Artifactory web UI ...

@jkschneider
Copy link
Contributor

jkschneider commented May 27, 2016

Just tried that UI for the first time, and here is what I notice:

  • When you are in "Single" mode, if you try to upload the jar it tries to select commons-lang as you say. I don't know how it determines this from the jar, perhaps by looking at class signatures and trying to guess against known GAVs? Regardless, the guess is wrong as you point out.
  • When you are in "Single" mode, if you try to upload the pom, it selects the correct GAV, but this is not super useful anyway.
  • When you are in "Multi" mode, and you select both the JAR and pom (at the least), Artifactory makes no attempt to guess the GAV and instead requires you to type in the path manually.

Basically, I think this is just a not-so-useful feature of Artifactory.

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

No branches or pull requests

2 participants