[Maven] Could not find com.raynigon.unit-api:spring-boot-core-starter:jar:3:0.9
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- java, spring-boot
- Domain
- build-system
Research direction
Start with the minimal pom.xml reproduction in the issue and run mvn clean install using spring-boot-jpa-starter version 3.0.9. Inspect how the spring-boot-jpa-starter and spring-boot-core-starter artifacts and their dependencies are published, then verify that Maven can download them from Central without manually adding the plain classifier.
Written by the indexing model from the issue text.
Description
Describe the bug
Starting from version 3.0.9, some artifacts are published with the plain classifier (spring-boot-core-starter:jar, spring-boot-jpa-starter:jar).
Affected Versions
3.0.9, 4.0.0, 4.0.1
To Reproduce
Steps to reproduce the behavior:
- Be sure to have installed maven 3.6.x or newer
- Create a folder and put a file named pom.xml with the following content
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.alessiomatricardi</groupId>
<artifactId>pom-test</artifactId>
<version>1.0.0-SNAPSHOT</version>
<dependencies>
<dependency>
<groupId>com.raynigon.unit-api</groupId>
<artifactId>spring-boot-jpa-starter</artifactId>
<version>3.0.9</version>
</dependency>
</dependencies>
</project>
- Launch
mvn clean installcommand - Output is
The following artifacts could not be resolved: com.raynigon.unit-api:spring-boot-jpa-starter:jar:3.0.9, com.raynigon.unit-api:spring-boot-core-starter:jar:3.0.9: com.raynigon.unit-api:spring-boot-jpa-starter:jar:3.0.9 was not found in [https://repo.maven.apache.org/maven2](vscode-file://vscode-app/usr/share/code/resources/app/out/vs/code/electron-browser/workbench/workbench.html) during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of central has elapsed or updates are forced -> [Help 1]
Expected behavior
The dependency is correctly downloaded from Central
Additional context
- Adding
plainclassifier to the dependency doesn't help because the next error will be related to thespring-boot-jpa-starterdependencies such asspring-boot-core-starter - The result of
mvn --versionis
Apache Maven 3.6.3 (Red Hat 3.6.3-22)
Maven home: /usr/share/maven
Java version: 21.0.10, vendor: Red Hat, Inc., runtime: /usr/lib/jvm/java-21-openjdk-21.0.10.0.7-1.el9.x86_64
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "5.14.0-611.34.1.el9_7.x86_64", arch: "amd64", family: "unix"
- Dominant language
- Java
- Stars
- 8
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from raynigon/unit-api
-
feature
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
documentation feature
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
-
feature
Difficulty 5/5 Over a week Newbie friendliness 20/100
All issues in raynigon/unit-api
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
bug needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 1/5 Under an hour Newbie friendliness 94/100
objectionary/hone-maven-plugin#1061 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
spring-projects/spring-modulith#1895 ·