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

Getting the following error while trying to run steady on gradle #541

Closed
tr0nand opened this issue Apr 5, 2022 · 4 comments
Closed

Getting the following error while trying to run steady on gradle #541

tr0nand opened this issue Apr 5, 2022 · 4 comments
Labels
bug Something isn't working

Comments

@tr0nand
Copy link

tr0nand commented Apr 5, 2022

Describe the bug
Unable to run steady on gradle due to the following issue -

Could not resolve all files for configuration ':classpath'.
Could not resolve org.eclipse.steady:plugin-gradle:3.2.3.
Required by:
project :
> Could not resolve org.eclipse.steady:plugin-gradle:3.2.3.
> Could not parse POM https://repo.maven.apache.org/maven2/org/eclipse/steady/plugin-gradle/3.2.3/plugin-gradle-3.2.3.pom
> Could not find org.eclipse.steady:root:3.2.3.
Searched in the following locations:
- https://repo.maven.apache.org/maven2/org/eclipse/steady/root/3.2.3/root-3.2.3.pom
- https://plugins.gradle.org/m2/org/eclipse/steady/root/3.2.3/root-3.2.3.pom
> Could not resolve org.eclipse.steady:plugin-gradle:3.2.3.
> Could not parse POM https://plugins.gradle.org/m2/org/eclipse/steady/plugin-gradle/3.2.3/plugin-gradle-3.2.3.pom
> Could not find org.eclipse.steady:root:3.2.3.

@serenaponta
Copy link
Contributor

Hello @123tarunanand ,

thanks for reporting the issue. The gradle client is failing as the artifact root-3.2.3.pom is currently not published to Maven Central.
We will evaluate how to fix it, in the meantime the plugin-maven client remains the most used and tested client and the steady-cli could be used as temporary solution (https://eclipse.github.io/steady/user/tutorials/java_cli/#scanning-java-apps-with-the-cli).

Thanks for your understanding.

@henrikplate
Copy link
Contributor

Though .flattened-pom.xml is generated for module plugin-gradle, as for all other modules, it does not replace the original pom.xml due to the fact the module has packaging pom. This behavior can be changed through configuration setting updatePomFile.

@henrikplate henrikplate added the bug Something isn't working label Apr 21, 2022
@henrikplate
Copy link
Contributor

@123tarunanand The Gradle problem should be resolved with release 3.2.4, which does not reference the parent POM any more. Please let us know whether it works for you.

@tr0nand
Copy link
Author

tr0nand commented Apr 22, 2022

Yes. That seems to work

@tr0nand tr0nand closed this as completed Apr 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants