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

Uploading Android library to Maven Central

When using Android Studio, I am aware that you can add dependencies like so: Then you can search to find repositories, and Android Studio will notify you when you need to update the version of your library dependency. I also have a library…
Farbod Salamat-Zadeh
  • 19,687
  • 20
  • 75
  • 125
0
votes
0 answers

Deploying binaries to Maven Central

On the internets there is quite a lot of conflicting information on how/if binaries can be deployed to Maven Central. As I would like to avoid hiding them inside the JAR, I have found the guide which suggests using the POM target and then the…
George Karpenkov
  • 2,094
  • 1
  • 16
  • 36
0
votes
1 answer

Gradle unable to find existing m2 library

Can anyone tell me why gradle fails to load j2v8 dependency with the following script : apply plugin: 'java' sourceCompatibility = 1.7 [compileJava, compileTestJava]*.options*.encoding = 'UTF-8' test { useTestNG() include '**' …
avianey
  • 5,545
  • 3
  • 37
  • 60
0
votes
1 answer

Standalone jar and maven central

I have a standalone jar (standalone = executable via java -jar ...), which can be downloaded manually from website. I was wondering if there is any use case, for which it would make sense to push it to Maven Central?
automatictester
  • 2,436
  • 1
  • 19
  • 34
0
votes
1 answer

Package (org.json) not importing after Gradle build -- no errors or feedback

I am using this build file for my project. I am able to successfully clean and build my project, and am able to import all packages except for org.json. I'm running a custom task with --stacktrace, --info, --debug, and --refresh-dependencies which…
orpheus
  • 479
  • 1
  • 7
  • 20
0
votes
1 answer

Is it mandatory to provide SCM Url for getting project ID in maven central

When Registering for Maven Central/central.sonatype.org is it mandatory to specify the Project URL/SCM URL. I have a private github repo, but I want to publish my library on maven central. How can I do that ?
Abhishek Nandi
  • 4,265
  • 1
  • 30
  • 43
0
votes
0 answers

maven central search not see my library new version

I successfully deployed new version of my library with version 1.15 to maven central. For successfully i mean - i can get it via gradle, i can see in maven-metadata.xml last version set to 1.15, and i can see it in browser in path…
orium
  • 3,743
  • 2
  • 24
  • 27
0
votes
1 answer

Deploying Open Source Projects to Maven Central Repository

I had a maven project which I successfully deployed to Sonatype. All the checks were successful.So,I released it from Sonatype. But even though Maven Central Sync has been activated,the project I released is not yet been released to Maven Central…
Amith Gopal
  • 173
  • 2
  • 11
0
votes
1 answer

Which dependency does ExceptionMapper for Dropwizard require?

The dropwizard manual suggests to implement a javax.ws.rs.ext.ExceptionMapper in order to have more control of the generated responses for error cases. However, it does not tell me which maven dependency to use. The central maven repository yields…
Bastian
  • 4,638
  • 6
  • 36
  • 55
0
votes
0 answers

Is it possible to change a pom file after uploading it to Maven Central?

Is it possible to change a pom file of a jar after uploading it to Maven Central? E.g., if I've uploaded a jar with a set of dependencies, and after the upload found out one of the dependencies was wrong - can I change the pom and upload it, and…
0
votes
2 answers

Android Studio - MavenCentral dependency sync ok, but symbol cannot be resolved

So, I managed to create an Android library component and publish it on Maven Central. But when I'm trying to use it as a dependency in a new project, Android Studio can't seem to find the classes. build.gradle for the app module: repositories { …
SirMarino
  • 526
  • 3
  • 8
0
votes
1 answer

How to use Maven Overlay with a local artifacts

The following is an example of how to use the Maven Overlay plugin to overlay a Java web app project with a web app project hosted in Maven Central: org.apache.maven.plugins
smeeb
  • 27,777
  • 57
  • 250
  • 447
0
votes
1 answer

how do I download a .war file from maven central?

I have the following instructions: Download the latest jetty-console.war from Maven Central (download the jetty-console.war artifact). So I go to the link, here: http://search.maven.org/#search%7Cga%7C1%7Ca%3A%22killbill-profiles-killbill%22 But…
Satchel
  • 16,414
  • 23
  • 106
  • 192
0
votes
1 answer

Is there an alternative maven repository for spring-data-neo4j to MavenCentral (it's broken)?

This is related to this question: Grails Neo4j - why is POM included as dependency? It appears that the file that's in the repository is corrupt, as I get the following error in Eclipse "neo4j-2.1.6.pom cannot be read or is not valid zip file". …
John
  • 10,837
  • 17
  • 78
  • 141
0
votes
1 answer

How to add repos in the list of indexed repo in Intellij IDEA?

After, I have imported a project in Intellij IDEA, It couldn't resolve any dependance. because in Settings -> Build Tools -> Maven -> Repositories in the Indexed Maven Repositories, it has only the local repo. So, How can I add the Maven Central…
Mohamed F
  • 794
  • 1
  • 8
  • 13
1 2 3
15
16