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

How can I compile a plugin for different upstream versions with Maven?

I'm writing a data source plugin for Spark, which has a different API in 2.X and 3.X. I've taken the plunge to refactor out the version specific parts, and ended up with a tree like: src/ main/ java/ app/ common/ # no dependency…
PerilousApricot
  • 633
  • 1
  • 7
  • 19
0
votes
1 answer

Search maven central for classes extending a given class

How can I search the whole Maven Central repository for classes extending a given class? (The concrete reason I ask this is that I’d like to see examples of extensions of FileSystemProvider, but I am interested in the question more generally.) I am…
Olivier Cailloux
  • 977
  • 9
  • 24
0
votes
0 answers

JAR file is corrupted (+missing source, javadoc) pushing maven artifact from BinTray to JCenter

I have some maven artifacts on bintray new for our current release that need adding to JCenter before they can be synced from BinTray to Maven Central. (We have other artifacts already in place) However some of these artifacts are throwing errors…
0
votes
1 answer

Nexus connectivity with maven 404 vs 501

From 15th Jan 2020, maven central location is now secured with https protocol. So, we understand that maven settings and pom.xml have to be updated in our repository location with https. But there is a question how Nexus internally manages this,…
Sambit Swain
  • 131
  • 1
  • 13
0
votes
0 answers

NoClassDefFoundError in Eclipse at Runtime when downloading dependency via Gradle (but works when using Jar file)

I have a build.gradle with some dependencies. One of the dependencies is Apache commons-logging dependencies { ... compile 'commons-logging:commons-logging:1.2' } I use mavenCrentral to resolve most of the dependencies. Some libs however…
mihca
  • 997
  • 1
  • 10
  • 29
0
votes
1 answer

Running the latest Jetty version breaks my build

I am using Jetty in my java project. I am using gradle to build and OpenJDK 1.8. Recently my build broke, and I determined that if I rolled back the Jetty version is was fixed. It seems like the new version of Jetty jar was built with a different…
Scorb
  • 1,654
  • 13
  • 70
  • 144
0
votes
0 answers

Fetching bundle in maven central programmatically

I'm looking for a Java API which can be used to search for bundles in from a remote repository. I've found Eclipse Ather so far but it looks over complicated for my needs so i'm seeking for something more simple. What I need is: I have to specify…
Heisenberg1
  • 49
  • 1
  • 6
0
votes
1 answer

Maven Central Upstream Sources within Azure DevOps

Is it possible to to add Maven Central as an upstream source for an artifact feed in Azure DevOps? I am currently using Nexus as a proxy to Maven Central but I would like to migrate to Azure DevOps. It looks like there is a request for the…
Dejulia489
  • 1,165
  • 8
  • 14
0
votes
1 answer

List all public packages in the maven-central registry

I am unsure if this question is a valid stack overflow question as it is not about my code (and I'm unsure if this satisfies website rules). For research purposes, I want to get the list of all packages (include their metadata, if any) that are…
R4444
  • 2,016
  • 2
  • 19
  • 30
0
votes
2 answers

Profile target mismatch: /archetype-catalog.xml when release staging repo in Sonatype

I am trying to release artifacts to Sonatype for the first time, but I am getting this error, any ideas? Profile target mismatch: /archetype-catalog.xml See image from their UI Sonatype support responded with the following: "Can your build be…
user1974753
  • 1,359
  • 1
  • 18
  • 32
0
votes
1 answer

Unresolved Webjars dependency even though it seems to be in Maven Central

I am trying to use React Bootstrap -library having this in my build.sbt "org.webjars.npm" % "react-bootstrap" % "0.27.2" This has worked before, but some version dependency must have recently changed, as trying to compile the project now gives…
mpartan
  • 1,296
  • 1
  • 14
  • 30
0
votes
0 answers

How do I update my library version in maven central?

I deployed my library to maven central via sonatype. The library is released and I can access it from gradle. This is a library for Android, and I deployed it from Android Studio. Recently, I updated some code and added new features to the library,…
0
votes
2 answers

Is semantic versioning strictly followed by libraries published at Maven Central?

The recommended version strategy in Maven Central Repository is Semantic Versioning 2.0.0, which is pretty strict about how a major version should be affected on any incompatible change (using MUST from RFC 2119 regarding this requirement). Let's…
Pavel
  • 4,912
  • 7
  • 49
  • 69
0
votes
1 answer

Maven Multi-Project is not Deployed Correctly to Maven Central

I have a project (cc.renken.pipeio) at maven central. Previously, it was a simple maven-project and upload worked fine. Later on I changed it into a multi-module project with the configuration found below. main project pom submodule pom The build…
renken
  • 1
0
votes
1 answer

How to ignore errors of Apache Maven GPG Plugin

I am using Apache Maven GPG Plugin maven-gpg-plugin to generate the required signatures to publish in Maven Central through OSSRH. My plug-in definition at pom.xml is theone below, my OSSRH credentials are at Maven conf/settings.xml and everything…