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
4
votes
1 answer

Dynamically Link To Latest 'jar-with-dependencies' From Maven Central

I'm trying to use the Maven central API to provide dynamic download links for the latest versions of an artifact. While this works for a normal jar, I cannot seem to get it to link to the 'jar-with-dependencies' version of the artifact. Using the…
Jake Wharton
  • 75,598
  • 23
  • 223
  • 230
4
votes
1 answer

A visual graph of all dependencies modelled by Maven Central

A previous question on Stack Overflow has shown that it is possible to plot a graph of all modules within a Maven managed project. I'm wondering if anyone has done and published an authoritative visual representation of all dependencies managed by…
Lukas Eder
  • 211,314
  • 129
  • 689
  • 1,509
3
votes
2 answers

Gradle task: signMavenJavaPublication failed because it has no configured signatory

I am trying to publish a Java library to maven central repository. I have never done this before. This project is for testing purposes. When I figure out how to properly publish a project, I will then publish an actual library. My goal is to be able…
Dahl
  • 149
  • 1
  • 10
3
votes
0 answers

Unable to get firebase-ui-auth from mavenCentral when I build an app with ./gradlew lintDebug

I'm trying to change a source of an android app's libraries from JCenter to MavenCentral, because the JCenter will be closed. I've checked that firebase-ui-auth v7.1.1 and v7.2.0 are in MavenCentral, but when I build the app with ./gradlew…
3
votes
1 answer

Closed source project migration from jcenter to maven central

Since JCenter is shutting down on 1 May 2021. What are other options to publish a closed source library?. I have searched online but have not been able to get any reliable and recent information on this. What are the options available for my…
3
votes
1 answer

Unable to use Maven dependency inside my Spring boot project

I have published my artifact to Maven. Can be accessed here -> https://oss.sonatype.org/#nexus-search;classname~AccessGateLabs Thereafter, I have added the dependency, com.accessgatelabs.oss
ekansh
  • 716
  • 8
  • 16
3
votes
1 answer

Gradle is publishing source and Javadoc JARs, but not source JAR

I'm new to Gradle and attempting to publish a simple project to Maven Central. My build.gradle script is nearly identical to the example in their documentation but my primary/compiled JAR is not being uploaded. Source JAR, Javadoc JAR, etc. are…
richid
  • 562
  • 3
  • 7
  • 22
3
votes
1 answer

What's the best practice to sign maven artifacts in production only?

When me and my team have to push a new maven artifact release to central, the procedure we use is: mvn release:clean mvn release:prepare mvn release:perform And everything works fine. Of course, the pom.xml contains the reference to the maven gpg…
Marco Vasapollo
  • 509
  • 5
  • 16
3
votes
2 answers

How to sync maven artifact from jcenter to maven central?

I have an artifact (jar) that is deployed to bintray and is available on jcenter. I would also like this artifact to be available on maven central. The instructions available from bintray (located here:…
Phil Adams
  • 97
  • 9
3
votes
1 answer

How to upload an artifact to Maven Central with an empty javadoc jar (or empty sources jar), because of no Java code nor resources?

I have this small module, which contains only some property file. The property file resides in the root of the project and needs to stay there. Nothing more. When uploading to Maven central via sonatype, a javadoc jar is mandatory so I had to create…
onderbewustzijn
  • 935
  • 7
  • 32
3
votes
1 answer

Determine whether a MavenCentral component is "dangerous"

MavenCentral contains a lot of artifacts. Some of them should not be used because they have severe bugs, that e.g. threaten security. I know that Nexus Firewall offers an expensive service to analyse these artifacts. Are there other methods that…
J Fabian Meier
  • 33,516
  • 10
  • 64
  • 142
3
votes
0 answers

Gradle cannot resolve kotlin gradle plugin 1.1.1 - InvalidAlgorithmParameterException

I recently added Kotlin 1.1.1 to my project, which worked fine on OS X. I synced it over to an Ubuntu box, and trying to run any gradle command on my build results in: A problem occurred configuring root project 'myproject'. > Could not resolve all…
Stevey
  • 2,822
  • 1
  • 23
  • 30
3
votes
2 answers

How can I populate what is indexed under the tags metadata field in Maven central?

Maven Central's search facility offers several different fields you can search on. The most familiar are, of course, group ID, artifact ID and version. But there are others. For example, here is a query that searches on a field called…
Laird Nelson
  • 15,321
  • 19
  • 73
  • 127
3
votes
1 answer

Deploying AAR to MavenCentral through BinTray

I am new to android development and am trying to deploy a bare-bones test library (I am building for learning purposes) to JCenter and MavenCentral through BinTray. I have successfully deployed to JCenter through BinTray but have not been able to…
John Foley
  • 4,373
  • 3
  • 21
  • 23
3
votes
2 answers

Maven Central Google mirror settings.xml for App Engine

Google has just announced the availability of Maven Central mirror (article) I have a Google App Engine Maven Java project and I already use Jenkins on Google Compute Engine to build and deploy my project. Where should I put the settings.xml file in…
Freddy Boucher
  • 1,387
  • 1
  • 16
  • 27