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

dcache project products are not published in maven central #108

Closed
jcalcote opened this issue Sep 27, 2024 · 5 comments
Closed

dcache project products are not published in maven central #108

jcalcote opened this issue Sep 27, 2024 · 5 comments

Comments

@jcalcote
Copy link

jcalcote commented Sep 27, 2024

We've been using the same version of oncrpc4j for some time now. Because of this, we've had the oncrpc4j dependencies we use cached in our local artifact server. Yesterday I went to https://mvnrepository.com/repos/central to find the latest version - the pom file insert for using version 3.3.2 are shown there as:

<!-- https://mvnrepository.com/artifact/org.dcache/oncrpc4j-core -->
<dependency>
    <groupId>org.dcache</groupId>
    <artifactId>oncrpc4j-core</artifactId>
    <version>3.3.2</version>
</dependency>

However, there is (currently) no dcache directory under https://repo.maven.apache.org/maven2/org/ at maven central. There is also no dcache directory under https://repo1.maven.org/maven2/org/.

This must be an oversight. I can build oncrpc4j-core locally and upload the products to my artifact server, but I don't think you intend for users to do this, right?

image
@jcalcote jcalcote changed the title oncrpc4j products are not published in maven central dcache project products are not published in maven central Sep 27, 2024
@jcalcote
Copy link
Author

AH! I just noticed this note at maven central:

image

Why does dcache use its own custom repository? Why not use the common central repos?

@jcalcote
Copy link
Author

Ok - so the problem is that 3.3.2 is being advertised as the latest version of the oncrpc4j-core module, but that version is not in your own repository - only 3.3.1 is available. Someone just forgot to upload it.

@kofemann
Copy link
Member

Usually, we mirror all external dependencies to a local one to able ti build even if central is not available or artifact is removed (yeah we have seen this). Thus, there was ni real need to push to maven central, though we have an account there. I will try to find some time to change that.

@kofemann
Copy link
Member

Actually, the packages are available on our repo:

https://download.dcache.org/nexus/#browse/browse:releases:org%2Fdcache%2Foncrpc4j-core%2F3.3.2

@jcalcote
Copy link
Author

Thanks everyone.

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

No branches or pull requests

2 participants