Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WARNING] The POM for org.openscience.cdk:cdk-bundle:jar:2.4-SNAPSHOT is missing, no dependency information available #30

Open
rmtfleming opened this issue Oct 26, 2022 · 2 comments

Comments

@rmtfleming
Copy link

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

@johnmay
Copy link
Contributor

johnmay commented Oct 27, 2022

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.

@rmtfleming
Copy link
Author

rmtfleming commented Oct 27, 2022

Thanks John, this pom.xml PR you proposed https://github.com/asad/ReactionDecoder/pull/28/files worked once I had maven compiling with java11.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants