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
3
votes
2 answers

Do I have to explicitly check/fulfil licenses of all transitive dependencies of a (Java) project?

If delivering a Java application, which uses gradle dependency management and a lot of open source libs from maven-central, is it sufficient to check the licenses of the first-level depedencies (because their dependencies again must automatically be…
user1573546
  • 523
  • 5
  • 13
3
votes
1 answer

How are JCenter and Maven Central coordinates different from one another?

I am trying to include LazyBones, which is stored here in Bintray/JCenter in my Gradle project as a compile-time dependency, like so: repositories { mavenLocal() mavenCentral() jcenter() } dependencies { compile…
smeeb
  • 27,777
  • 57
  • 250
  • 447
3
votes
2 answers

Gradle could not resolve otto library

I try to embed Otto library, which exists at the Maven Central. buildscript { repositories { mavenCentral() } dependencies { classpath 'com.android.tools.build:gradle:0.6.3' } } apply plugin: 'android' dependencies…
eleven
  • 6,779
  • 2
  • 32
  • 52
3
votes
2 answers

Why won't Groovy/Grape resolve artifacts from Maven Central?

With a fresh download of Groovy 2.1.9, I create: // Test.Groovy @Grab('commons-io:commons-io:1.2') import org.apache.commons.io.CopyUtils println "Resolved!" Then I try running $ ./groovy-2.1.9/bin/groovy Test.groovy which fails with General error…
Bosh
  • 8,138
  • 11
  • 51
  • 77
3
votes
1 answer

If Maven Central used https for downloading artifacts, would verifying artifact signatures be necessary?

From what I'm reading, it is a best practice to verify the authenticity of an artifact obtained from Central using the library author's public key to prevent man-in-the-middle attacks and things like that. It sounds like such a cumbersome process…
Matthew
  • 6,356
  • 9
  • 47
  • 59
2
votes
2 answers

run additional tests during maven deploy phase

In my project I have a set of a very fast unit-tests and small integration-tests as well a set of slower integration, end2end and performance tests (10mintes+). I use junit5 tags to classify them and in my pom.xml I configured maven-surefire-plugin…
morgwai
  • 2,513
  • 4
  • 25
  • 31
2
votes
1 answer

Maven Artifact Resolver not seeing latest plugins on Maven Central on my machine

I am using Maven 3.9.1 on Windows 10. I also use Eclipse EE 2023-03, which contains m2e (Eclipse's support for Maven). I am checking a POM for plugin version updates using the Versions Maven Plugin, but many aren't showing up even though another…
Garret Wilson
  • 18,219
  • 30
  • 144
  • 272
2
votes
0 answers

Swift Package Manager failed to resolve dependencies: artifacts already exists in file system. fatalError

I have uploaded my binary artifacts in maven-central repository. I am fetching these libraries through SPM. I am getting the below error most of the times. xcodebuild: error: Could not resolve package dependencies: failed downloading which is…
2
votes
0 answers

The RepositoryHandler.jcenter() method has been deprecated. This is scheduled to be removed in Gradle 8.0

When I sync my react native project in android studio I got those warnings The RepositoryHandler.jcenter() method has been deprecated. This is scheduled to be removed in Gradle 8.0. I got those warnings for multiple libraries…
alex
  • 123
  • 8
2
votes
1 answer

Maven Central Repository Artifact Source Code / Project URL / License Identification

I'm new to working with Java and have questions regarding the Maven Central Repository. I am much more familiar with Python and PyPI, so I will provide the equivalent in PyPI that I would like to find in Maven. How can I find the source code for…
travis5879
  • 35
  • 3
2
votes
1 answer

Azure blob storage 12.5.0 dependency removed from maven central repo

I Have been using Azure blob storage 12.5.0 to develop a java application for talking to blob storage. Everything was working fine but suddenly now when i compile my maven project it says dependency not found. Going through this link for 12.5.0, I…
2
votes
0 answers

includeBuild Gradle plugins causing Error: java.lang.ClassNotFoundException: com.android.build.gradle.AppExtension

Am trying to use composite builds with Gradle's Kotlin DSL with includeBuild. Am facing an issue when I apply the DexGuard Plugin to my application script after loading it from the remote maven repository but am getting an issue with it. buildscript…
2
votes
1 answer

migrating to mavenCentral from jcenter

Android studio gave me a couple of warnings that I need to migrate away from jcenter(). I am new to android developing so started looking online for replacements. I found an article that said that I should move to MavenCentral. I don't know if this…
chrispsv
  • 503
  • 1
  • 3
  • 21
2
votes
1 answer

Missing Signature jar.asc for jar when post to Maven Central

It is the first time I am trying to deploy to Maven Central repo and I cannot find an ultimate guide on how to do it. No matter what I tried I get the same error: Missing…
Dmytro Chasovskyi
  • 3,209
  • 4
  • 40
  • 82
2
votes
2 answers

Publish from internal nexus to maven central

I have an internal nexus that contains all the artifacts that we build. Once an artifact is tested, I want to take the sane artifact and deploy it to Maven Central without rebuilding it. I know that I might be able to do that using mvn…
nadavy
  • 1,755
  • 1
  • 18
  • 33