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

How to download source code from Maven Central for a project

I want to download the source code for the project XBee-api v9.3 from Maven Central so that I can modify the code for my application. I am using Netbeans and I have managed to produce a POM that validates and compiles successfully. I have then run…
dazz
  • 119
  • 2
  • 14
0
votes
1 answer

Why sync bintray with maven central?

I'm building few projects and publish them to bintray. After that i can add resolver that points to my repository and use any library in that repo. So what is the point to sync your package with maven central? i see these reasons: my package will…
Alexander Kondaurov
  • 3,677
  • 5
  • 42
  • 64
0
votes
1 answer

Deploy Jar using ant to Maven Central

There is straightforward documentation on how to push to Maven Central using maven, but I need to do it using ant and it has bit more complicated process. So my question is - can I push jar file directly to Maven Central repository, without using…
nkat
  • 129
  • 1
  • 8
0
votes
0 answers

Put a Custom Component on The Central Repository

If I understand correctly, one can import custom components into SceneBuilder straight from The Central Repository. How can I do that? What I do know I know that if I click the little cog and then JAR/FXML Manager, I can add Custom Components. Then…
Brad Turek
  • 2,472
  • 3
  • 30
  • 56
0
votes
1 answer

Upload third party packages to my own maven repository server using maven

I am trying to upload third party packages (eg junit ) to my own repository server. I did following things: 1)Added following thing in ~/.m2/settings.xml thirdparty
user93796
  • 18,749
  • 31
  • 94
  • 150
0
votes
0 answers

Migrate artifacts from custom Sonatype Nexus installation to Maven Central

Use case is: Migrate artifacts (jar, sources, javadoc, pom) from custom Sonatype Nexus installation to Maven Central I am able to do it manually (and therefore it can be automated) but I am wondering whether there is already a plugin / tool that…
levibo
  • 33
  • 5
0
votes
1 answer

is it Legal to publish module that has close-source dependencies to public source central

To be clear, I would like to publish my android library module to JCenter or Maven Central so that when the android developers would like to use my library they can directly add a simple line like compile 'a.b.c', instead of import module. So of…
xuanzhui
  • 1,300
  • 4
  • 12
  • 30
0
votes
2 answers

Using Gradle to resolve jars from the file system

I have been "sneaker-netted" a set of jars that I will eventually publish to a Gradle-friendly repo (Artifactory) but that, for the time being, have to stay local on my machine. I need to use these jars in a Gradle project that not only needs to be…
smeeb
  • 27,777
  • 57
  • 250
  • 447
0
votes
1 answer

How to find a package by its import path on maven central?

I'm working on a project that (until now) did not use dependency-manager (now Gradle) I try to resolve the dependencies and add them to the build.gradle. Now I found a class, where I can't find the corresponding…
Edward
  • 4,453
  • 8
  • 44
  • 82
0
votes
1 answer

org.apache.commons in Android Studio build.gradle file

I've got an old Android project with the following build.gradle file: apply plugin: 'com.android.application' buildscript { repositories { mavenCentral() } dependencies { classpath 'com.android.tools.build:gradle:2.1.3' …
knirirr
  • 1,860
  • 4
  • 23
  • 37
0
votes
1 answer

Gradle Error When Trying to Download Dependencies in Vagrant

I am attempting to download a dependency from Maven Central, and it works on my host machine (OS X), but gives an error when I try to download the dependency in my vagrant box running CentOS. This is the error: Could not resolve all dependencies for…
Justin Hoyt
  • 148
  • 1
  • 9
0
votes
1 answer

Publishing Android Library from JCenter to Maven Central

I was following these steps to submitted a File Picker Android Library on JCenter through Bintray and Android Studio. The library has been linked to JCenter. I have provided with all details like Sonatype account details and GPG keys, Also have…
Angad Singh
  • 1,032
  • 1
  • 17
  • 36
0
votes
1 answer

How does the Central Repository sort version numbers?

I maintain an open source project and publish its releases to The Central Repository. I just published oshi-core-2.6. The versioning in my pom.xml for that release…
Daniel Widdis
  • 8,424
  • 13
  • 41
  • 63
0
votes
1 answer

How to migrate gradle publication script to publish OSS library to Bintray's JCenter instead of Sonatype's Maven Central

I am the mantainer of the Java 8 java.time JSP tags library. I have little experience publishing libraries on my own. For the publication of this library I did some research and ended with a gradle build script that you can check in GitHub. The…
sargue
  • 5,695
  • 3
  • 28
  • 43
0
votes
0 answers

jcenter and mavenCentral no longer support android dependencies?

I'm building an Android project with gradle, according to the readme of this project https://github.com/sky-map-team/stardroid , but gradle failed to download dependencies from repository: FAILURE: Build failed with an exception. * What went…
auntyellow
  • 2,423
  • 2
  • 20
  • 47