Questions tagged [maven-central]

The Official Maven Repository, hosted by Sonatype.

Maven Central is the official Apache Maven repository. It is hosted by Sonatype, for Apache Fundation.

It has moved several times from central.maven.org, repo1.maven.org and many other. The official address is now http://search.maven.org/

When using a Maven repository, it is important to be aware about Maven Coordinates.

The official guide about How to upload to the Central Maven repository may also come to help.

237 questions
0
votes
0 answers

Package released from sonatype, still not appearing on Maven Cetntral

I published from a gradle project: The gradle output is below: Starting a Gradle Daemon (subsequent builds will be faster) > Task :initializeSonatypeStagingRepository Created staging repository 'orgaybgim-1002' at…
Albert Gevorgyan
  • 171
  • 3
  • 10
0
votes
1 answer

How do I find the sources for a version-specific Spring Boot jar (cannot find spring-boot-2.7.12)?

I cannot find the source code for spring-boot-2.7.12.jar. I can find versions close to 2.7.12. I downloaded spring-boot-2.7.12.jar from Maven Central, and I've confirmed that the Implementation-Version in MANIFEST.MF is "2.7.12". I've cloned the…
0
votes
0 answers

How to change the icon/logo of artfacts, library when deploy to maven central?

I saw in first version of maven pom strucutre, you can do that, direct under project element or inside organization element but in the latest version its not possible. So anyone can point in the right direction or ducumentation.
0
votes
1 answer

Error retrieving a dependency from MavenCentral()

I am facing an error dowloading junit from mavenCentral. The error: > Could not find method testImplementation() for arguments [org.junit.jupiter:junit-jupiter-api:5.9.3] on object of type…
0
votes
1 answer

How to include inaccessible jars in a Maven central repository release?

My Java project depends on external jars, which are open source but aren't on Maven, and in fact are non-trivial to find on the web. I would like to make my project available in the Maven central repository, but obviously I can't just add those…
Arend
  • 2,363
  • 1
  • 18
  • 18
0
votes
0 answers

unable to activate javafx.web

I am using a gradle build with Intellij IDEA to port a java-8 application into the 2020s. It requires the javafx.web module. I can't activate it! My build.gradle contains the dependency: // https://mvnrepository.com/artifact/org.openjfx/javafx-web …
papaworx
  • 1
  • 1
0
votes
0 answers

How to Export Packages in a Library then Publish to Maven

Let's say I want to publish a library like Apache Math to Maven Central. It should expose capabilities in packages that are explicitly exported by either OSGI or JPMS. That way, consuming applications can access those packages. Any packages not…
cppProgrammer
  • 349
  • 1
  • 2
  • 12
0
votes
1 answer

`no cached resource available for offline mode` when publishing to Maven Central

I've published 5 versions of my repository so far without any issues. With version 1.0.5 I'm getting an error: Execution failed for task ':publishMavenJavaPublicationToOSSRHRepository'. > Failed to publish publication 'mavenJava' to repository…
Joshua Spinak
  • 133
  • 1
  • 1
  • 10
0
votes
1 answer

how can I add dependencies stored in Spring Plugins Repository with Gradle?

https://mvnrepository.com/artifact/io.github.swagger2markup/swagger2markup I'm using Swagger2Markup 1.3.4, and this dependency needs paleo-core:0.14.0, located at jcenter(). As you know, jcenter is deprecated for many reasons. so I tried to…
tofan
  • 17
  • 3
0
votes
1 answer

Fallback plan when maven repository (i.e. jCenter, mavenCenter) goes down?

Most Android projects use external dependencies (library). Those libraries can be added as jar or as gradle dependency. Adding as a gradle dependency is easier to add, manage and update. Those dependencies are often hosted on repositories like…
HBB20
  • 2,743
  • 1
  • 24
  • 35
0
votes
1 answer

Only one JIRA issue per top-level groupId is necessary. This looks like a duplicate of OSSRH-12345, so let's track progress in that issue

I tried to create a repo for my 2nd artifact. but it gives me Only one JIRA issue per top-level groupId is necessary. This looks like a duplicate of OSSRH-85362, so let's track progress in that issue. My 1st repo group id is…
0
votes
0 answers

Scala sub-modules from SBT project missing on search.maven.org after publishSigned

I've attempted my first publication of cloakroom, an open source mixed Java/Scala project to sonatype. The Java sub-modules appear in the Maven central repository search, but the Scala sub-modules are missing. If I search for "cloakroom" on…
assaf
  • 3
  • 1
  • 3
0
votes
0 answers

How to download packages from latest maven central incremental/index

In a paper I am working on for my Uni project, I need to analyze maven packages. I need the pom files of these packages to then parse them and get the necessary data to create a graph and analyze it. The supervisor told me to download the latest…
Denxah129
  • 23
  • 6
0
votes
0 answers

I was trying to migrate my app code from jcenter to mavenCentral in android studio

I was trying to migrate my app code from jcenter to mavenCentral but when I build the output then this error shown I searched the google and youtube but I didn't get any solution for this error in android studio. Error - Execution failed for task…
user16282322
0
votes
1 answer

How Maven project downloads dependencies from Maven central?

Have a few Maven projects in our environment, and currently it is downloading the required dependencies mentioned in the pom.xml file from Maven central. I was trying to figure out where the URL for Maven central is provided in pom file or project…
Kivi
  • 485
  • 1
  • 9
  • 26