[WARNING] The POM for org.openscience.cdk:cdk-bundle:jar:2.4-SNAPSHOT is missing, no dependency information available
mvn install fails due to a missing dependency
[INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2.039 s [INFO] Finished at: 2022-10-26T18:03:49+01:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project rdt: Could not resolve dependencies for project uk.ac.ebi.rdt:rdt:jar:2.5.0-SNAPSHOT: Could not find artifact org.openscience.cdk:cdk-bundle:jar:2.4-SNAPSHOT -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
Hi Ronan,
I'm only partially involved in this project but answer questions when I can. I am however the developer for CDK so this is an easy one. Maven SNAPSHOT dependencies are mainly for "development" and really this should be v2.5 or (v2.8.1 is the latest).
Either use the release build (GitHubside bar).
Or if building you should be able to fix it by changing the dependency of CDK to v2.5.
<dependency>
<groupId>org.openscience.cdk</groupId>
<artifactId>cdk-bundle</artifactId>
<version>2.4-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.openscience.cdk</groupId>
<artifactId>cdk-bundle</artifactId>
<version>2.5</version>
</dependency>
2.8.1 may also work but APIs might have changed subtlety.
Thanks John, this pom.xml PR you proposed https://github.com/asad/ReactionDecoder/pull/28/files worked once I had maven compiling with java11.