You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "wendigo (via GitHub)" <gi...@apache.org> on 2025/10/16 10:35:49 UTC

[I] Maven 4.0.0: The following artifacts could not be resolved: org.openjdk.jol:jol-core:pom:0.16 [maven]

wendigo opened a new issue, #11281:
URL: https://github.com/apache/maven/issues/11281

   ### Affected version
   
   4.0.0
   
   ### Bug description
   
   ```
   Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: The following artifacts could not be resolved: org.openjdk.jol:jol-core:pom:0.16 (absent)
       at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:424)
       at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:201)
       at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:180)
       at org.apache.maven.impl.resolver.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:165)
       at org.apache.maven.impl.resolver.DefaultArtifactDescriptorReader.readArtifactDescriptor(DefaultArtifactDescriptorReader.java:105)
       at org.eclipse.aether.internal.impl.collect.DependencyCollectorDelegate.resolveCachedArtifactDescriptor(DependencyCollectorDelegate.java:484)
       at org.eclipse.aether.internal.impl.collect.bf.BfDependencyCollector.resolveDescriptorForVersion(BfDependencyCollector.java:482)
       at org.eclipse.aether.internal.impl.collect.bf.BfDependencyCollector.lambda$resolveArtifactDescriptorAsync$1(BfDependencyCollector.java:456)
       at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1716)
       at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:803)
       at org.eclipse.aether.internal.impl.collect.bf.BfDependencyCollector.lambda$resolveArtifactDescriptorAsync$4(BfDependencyCollector.java:455)
       at org.eclipse.aether.util.concurrency.SmartExecutor$Pooled.lambda$submit$1(SmartExecutor.java:106)
       at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:545)
       at java.util.concurrent.FutureTask.run(FutureTask.java:328)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1090)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:614)
       at java.lang.Thread.run(Thread.java:1474)
       Suppressed: org.eclipse.aether.resolution.ArtifactResolutionException: Failed to resolve artifact org.openjdk.jol:jol-core:pom:0.16
           at org.eclipse.aether.resolution.ArtifactResolutionException.getSuppressed(ArtifactResolutionException.java:185)
           at org.eclipse.aether.resolution.ArtifactResolutionException.<init>(ArtifactResolutionException.java:47)
           at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:424)
           at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:201)
           at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:180)
           at org.apache.maven.impl.resolver.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:165)
           at org.apache.maven.impl.resolver.DefaultArtifactDescriptorReader.readArtifactDescriptor(DefaultArtifactDescriptorReader.java:105)
           at org.eclipse.aether.internal.impl.collect.DependencyCollectorDelegate.resolveCachedArtifactDescriptor(DependencyCollectorDelegate.java:484)
           at org.eclipse.aether.internal.impl.collect.bf.BfDependencyCollector.resolveDescriptorForVersion(BfDependencyCollector.java:482)
           at org.eclipse.aether.internal.impl.collect.bf.BfDependencyCollector.lambda$resolveArtifactDescriptorAsync$1(BfDependencyCollector.java:456)
           at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1716)
           at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:803)
           at org.eclipse.aether.internal.impl.collect.bf.BfDependencyCollector.lambda$resolveArtifactDescriptorAsync$4(BfDependencyCollector.java:455)
           at org.eclipse.aether.util.concurrency.SmartExecutor$Pooled.lambda$submit$1(SmartExecutor.java:106)
           at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:545)
           at java.util.concurrent.FutureTask.run(FutureTask.java:328)
           at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1090)
           at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:614)
           at java.lang.Thread.run(Thread.java:1474)
   ```
   
   Reproduction:
   
   ```bash
   git clone https://github.com/trinodb/trino
   git checkout serafin/maven-4.0.0
   ./mvnw clean install -DskipTests -T2C # This will fail for the first time with install error
   ./mvnw clean install -DskipTests -pl ':trino-bigquery' # This will fail with reported error
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Maven 4.0.0: The following artifacts could not be resolved: org.openjdk.jol:jol-core:pom:0.16 [maven]

Posted by "wendigo (via GitHub)" <gi...@apache.org>.
wendigo commented on issue #11281:
URL: https://github.com/apache/maven/issues/11281#issuecomment-3410273550

   This is on our end: https://github.com/trinodb/trino-maven-plugin/commit/61d37b3f5f54b7e6b112fe6a8e5d7d19525c6f74


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Maven 4.0.0: The following artifacts could not be resolved: org.openjdk.jol:jol-core:pom:0.16 [maven]

Posted by "wendigo (via GitHub)" <gi...@apache.org>.
wendigo closed issue #11281: Maven 4.0.0: The following artifacts could not be resolved: org.openjdk.jol:jol-core:pom:0.16
URL: https://github.com/apache/maven/issues/11281


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org