Please publish the parent POM org.choco-solver:choco:4.10.3
See original GitHub issueExpected behavior
All choco dependencies can be resolved from Maven Central.
Actual behavior
Neither Gradle nor Maven are able to download org.choco-solver:choco-solver:4.10.3
because it Could not find artifact org.choco-solver:choco:pom:4.10.3 in central (https://repo.maven.apache.org/maven2)
.
Gradle fails with:
> Could not resolve all files for configuration ':compileClasspath'.
> Could not resolve org.choco-solver:choco-solver:4.10.3.
Required by:
project :
> Could not resolve org.choco-solver:choco-solver:4.10.3.
> Could not parse POM https://repo.maven.apache.org/maven2/org/choco-solver/choco-solver/4.10.3/choco-solver-4.10.3.pom
> Could not find org.choco-solver:choco:4.10.3.
> Could not resolve org.choco-solver:choco-solver:4.10.3.
> Could not parse POM https://jcenter.bintray.com/org/choco-solver/choco-solver/4.10.3/choco-solver-4.10.3.pom
> Could not find org.choco-solver:choco:4.10.3.
The POM of the 4.10.3 release contains an additional <parent>
element which is not present in the 4.10.2 release:
- POM 4.10.3: https://repo.maven.apache.org/maven2/org/choco-solver/choco-solver/4.10.3/choco-solver-4.10.3.pom
- POM 4.10.2: https://repo.maven.apache.org/maven2/org/choco-solver/choco-solver/4.10.2/choco-solver-4.10.2.pom
Possible Solution
Steps to Reproduce (for bugs)
Maven:
<?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>org.example</groupId>
<artifactId>choco4-10-3-bug</artifactId>
<version>1.0-SNAPSHOT</version>
<dependencies>
<dependency>
<groupId>org.choco-solver</groupId>
<artifactId>choco-solver</artifactId>
<version>4.10.3</version>
</dependency>
</dependencies>
</project>
Perhaps you have to remove the choco files from your local .m2
to reproduce this issue.
Context
I’ve tried update from 4.10.2 to 4.10.3.
Environment
- Choco-solver version: 4.10.3
- Java version: 11.0.8
Issue Analytics
- State:
- Created 3 years ago
- Comments:18 (16 by maintainers)
Top Results From Across the Web
Maven: Non-resolvable parent POM - Stack Overflow
I had the issue that two reactor build pom.xml files had the same artefactId.
Read more >Introduction to the POM - Apache Maven
The Super POM is one example of project inheritance, however you can also introduce your own parent POMs by specifying the parent element...
Read more >Parent POM publication to Exchange fails with error ...
This article provides the solution for the error "Publication ended with errors: [Could not determine asset type]" when publishing a parent ...
Read more >Location of pom.xml for Maven - Pinnacle 21
Please publish or provide us with either the "parent pom.xml" or point ... [INFO] Downloading from central: https://repo.maven.apache.org/ ...
Read more >Understanding Maven's “relativePath” Tag for a Parent POM
If the project is resolved as a dependency from a Maven repository, the parent POM should be available in a repository too. And...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Bump
I migrated the project to a multi-module one (following those steps: baeldung.com/maven-multi-module). But, it appears that
org.choco-solver:choco:4.10.3
was not released on MCR. I’ll try to fix that quickly.