Questions tagged [maven-central]
The Official Maven Repository, hosted by Sonatype.
maven-central
257
questions
0
votes
1
answer
42
views
Use a different MavenRepository for Maven Openrewrite plugin
I am trying to write an openrewrite recipe that changes a maven dependency. The problem is I want to apply this recipe for a dependency that doesn't exist in the default maven repository (a.e. ...
1
vote
1
answer
300
views
How do you log in to Sonatype Nexus Repository Manager?
My question is stupidly simple: how do you log in to Nexus Repository Manager at https://oss.sonatype.org/?
Longer explanation:
I'm trying to debug why ./gradlew publish fails with a 401 error:
...
0
votes
0
answers
32
views
Deploy to Maven Central: gpg: skipped "6919F5E8": No secret key gpg: signing failed: No secret key
Seven years ago or so, I created a Java library and put it on Maven Central. Here is the library on Maven Central
I needed to solve a bug and have now problems getting the new version on Maven Central....
0
votes
0
answers
29
views
Deploy a Java library to Maven Central: Deploy fails because of gpg
7 years ago, I created a Java library ( com.florianingerl.util.regex ) and put it on Maven central.
Someone told me a bug and I fixed it, but I can't deploy any more because of the following error:
...
0
votes
1
answer
65
views
Gradle Init Java Library is failing to resolve dependencies for lib "target"
I have Java 17 on my machine and Gradle 8.3.
I create a new Java Library project using:
gradle init --type java-library
I follow the prompts and it produces a project with a directory structure that ...
1
vote
1
answer
38
views
Gradle publish fails to PUT a different random file to s01.oss.sonatype.org/service/local/staging/deploy/maven2 each time
I'm trying to publish my Android library to https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/ and each time the task fails because it failed to PUT one of the files with a 401 ...
0
votes
0
answers
52
views
Publish single artifacts (to maven repository) from multi module maven project
I've a question regarding the release of artifacts to the Maven Repository: In the repository I am talking about, we have a multi-module maven project with a pom.xml defined as follows:
<?xml ...
0
votes
1
answer
146
views
Publishing on Maven Central failed with file path validation
I am new to Maven Central and publishing my very first Android Library by uploading manually with bundle zip file on new version of Maven Central portal. But it’s failed at Component Validation stage ...
1
vote
1
answer
148
views
Publishing a Java library using JReleaser - maven.nexus2.mavenCentral.stagingRepository does not exist
I have the following config:
jreleaser {
gitRootSearch = true
signing {
active.set(Active.ALWAYS)
armored.set(true)
}
deploy {
maven {
nexus2 {
...
0
votes
0
answers
34
views
Existing maven artifacts not found searching by their sha1
I noticed some artifacts cannot be found in maven central from their sha1, while they are in maven central.
For example if I search this sha1 it does not return any artifacts, which is odd, because I ...
2
votes
0
answers
609
views
Failed to Publish Release to Maven Central Repository :image-preview:publishReleasePublicationToImagePreviewRepository FAILED
I have been trying to publish the library to MavenCentral(), which is published locally successfully through Maven Central in(.m2/repository/...) and working fine. But when I try to publish the ...
1
vote
0
answers
44
views
How to generate a gpg secret key that starts with the tag 0x14, or works with gradle 7.3?
I'm learning how to publish android library in mavenCentral, and my first demo with gradle 8.2 published ok. The problem is, my large office projects use gradle 7.3, and so I am decreasing / matching ...
2
votes
0
answers
119
views
Maven Central statistics & sonatype alternative
What do the stats on mvnrepository.com mean and how do independent OSS developers publish their artifacts?
Disclaimer, I have been using Sonatype for years but I only stumbled over the Maven Central ...
2
votes
2
answers
216
views
publishing to maven central after loading all properties from a secret file/environment
I am getting various kinds of error when i tried to use the following script for publishing to maven central.
import java.util.Properties
plugins {
id("org.jetbrains.kotlin.jvm")
id(...
5
votes
1
answer
67
views
Download JavaFX dependency using Ivy
I'm looking to fetch JavaFX from Maven Central using Ivy.
This works to get the Java dependencies, but not the native dependencies.
Expected:
javafx-graphics-21.0.1.jar
javafx-graphics-21.0.1-linux....