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

multi-release-jar file link broken in maven repository after version 0.7.0 #245

Closed
ayinger1 opened this issue Apr 19, 2021 · 7 comments
Closed
Assignees
Milestone

Comments

@ayinger1
Copy link

ayinger1 commented Apr 19, 2021

ivy resolver fails to find multi-release-jar file:

[NOT FOUND ] one.util#streamex;0.7.3!streamex.multi-release-jar
==== central: tried
https://repo1.maven.org/maven2/one/util/streamex/0.7.3/streamex-0.7.3.multi-release-jar

the link to the multi release jar file is broken on mvnrepository.com:
https://mvnrepository.com/artifact/one.util/streamex/0.7.3
-> https://repo1.maven.org/maven2/one/util/streamex/0.7.3/streamex-0.7.3.multi-release-jar

the other, non-multi-release jar files are present, however, as can be seen here:
https://repo1.maven.org/maven2/one/util/streamex/0.7.3/

@amaembo
Copy link
Owner

amaembo commented Apr 20, 2021

Even though it's a multi-release jar, the artifact type is just 'jar', not 'multi-release-jar'. I don't see any problem here. Why would you need to find multi-release-jar artifact?

@amaembo amaembo closed this as completed Apr 20, 2021
@amaembo
Copy link
Owner

amaembo commented Apr 20, 2021

Note that mvnrepository is a third-party service I have no connection to. If they have a bug, please report the problem to the service owner.

@ayinger1
Copy link
Author

ayinger1 commented Apr 20, 2021

well it if it's a bug, it affects ivy and mvnrepository both. that is, they both attempt to retrieve the multi-release-jar by default (which, i agree with you, is not what we want here.)

i can get it to retrieve the the jar artifact if i explicitly define a child artifact type, like:

<dependency org="one.util" name="streamex" rev="0.7.3" conf="*->default" > <artifact name="streamex" type="jar" />

but then the eclipse Ivy.DE plugin fails to auto-retrieve the source/javadocs (so, here is a third instance where third-party tools can't handle multi-release-jar default).

@amaembo amaembo reopened this Apr 20, 2021
@amaembo
Copy link
Owner

amaembo commented Apr 20, 2021

Probably something should be changed here indeed... Thanks. Will try to dig into this when having more time.

amaembo added a commit that referenced this issue Nov 20, 2021
Also fixes [#245] multi-release-jar file link broken in maven repository after version 0.7.0
@amaembo amaembo self-assigned this Nov 20, 2021
@amaembo amaembo added this to the 0.8.1 milestone Nov 20, 2021
@amaembo
Copy link
Owner

amaembo commented Nov 20, 2021

It should be better now

@amaembo amaembo closed this as completed Nov 20, 2021
@amaembo
Copy link
Owner

amaembo commented Dec 19, 2021

@ayinger1 please check whether version 0.8.1 works fine for you. Thanks.

@ayinger1
Copy link
Author

i can confirm that version 0.8.1 works.

(https://mvnrepository.com/ does need to be updated to show this latest version, however.)

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