-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
bugSomething isn't workingSomething isn't working
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"
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working