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

NoSuchMethodError: 'java.util.List org.eclipse.aether.spi.connector.layout.RepositoryLayout.getChecksumAlgorithmFactories()' #486

Closed
jperedadnr opened this issue Sep 14, 2023 · 1 comment · Fixed by #487
Labels
bug Something isn't working

Comments

@jperedadnr
Copy link
Contributor

After releasing 1.0.20, starting with an empty .m2 repository produces the following exception:

Failed to execute goal com.gluonhq:gluonfx-maven-plugin:1.0.20:compile (default-cli) on project hellogluon: Execution default-cli of goal com.gluonhq:gluonfx-maven-plugin:1.0.20:compile failed: An API incompatibility was encountered while executing com.gluonhq:gluonfx-maven-plugin:1.0.20:compile: java.lang.NoSuchMethodError: 'java.util.List org.eclipse.aether.spi.connector.layout.RepositoryLayout.getChecksumAlgorithmFactories()'

...
Caused by: java.lang.NoSuchMethodError: 'java.util.List org.eclipse.aether.spi.connector.layout.RepositoryLayout.getChecksumAlgorithmFactories()'
    at org.eclipse.aether.connector.basic.BasicRepositoryConnector.get (BasicRepositoryConnector.java:189)
    at org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads (DefaultArtifactResolver.java:514)
    at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve (DefaultArtifactResolver.java:402)
    at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts (DefaultArtifactResolver.java:229)
    at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveArtifacts (DefaultRepositorySystem.java:270)
    at com.gluonhq.utils.MavenArtifactResolver.resolve (MavenArtifactResolver.java:201)
    at com.gluonhq.utils.MavenArtifactResolver.resolve (MavenArtifactResolver.java:182)
    at com.gluonhq.attach.AttachArtifactResolver.lambda$findArtifactsForTarget$2 (AttachArtifactResolver.java:72)

@badvision
Copy link

Is the reason we can't use maven 3.9.0 or newer? If so, can you create an issue to track supporting newer versions of maven in the future so we have something to watch?

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

Successfully merging a pull request may close this issue.

2 participants