Error while creating container "could not find artifact in maven-releases"
Issue
- Error when pushing artifacts from nexus repository to Business Central
- Unable to fetch artifacts from nexus repository resulting in error creating container.
Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Could not find artifact com.src:testing_artifact:pom:8.0.0 in maven-releases (http://127.0.0.1:8081/repository/maven-releases/)
at deployment.kie-server.war//org.eclipse.aether.connector.basic.ArtifactTransportListener.transferFailed(ArtifactTransportListener.java:39)
at deployment.kie-server.war//org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.run(BasicRepositoryConnector.java:355)
at deployment.kie-server.war//org.eclipse.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:67)
at deployment.kie-server.war//org.eclipse.aether.connector.basic.BasicRepositoryConnector$DirectExecutor.execute(BasicRepositoryConnector.java:581)
at deployment.kie-server.war//org.eclipse.aether.connector.basic.BasicRepositoryConnector.get(BasicRepositoryConnector.java:249)
at deployment.kie-server.war//org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads(DefaultArtifactResolver.java:520)
at deployment.kie-server.war//org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:421)
2023-01-27 16:34:30,083 DEBUG [org.appformer.maven.integration.MavenRepository] (default task-1) Unable to resolve artifact: com.src:testing_artifact:pom:8.0.0: org.eclipse.aether.resolution.ArtifactResolutionException: Could not find artifact com.src:testing_artifact:pom:8.0.0 in maven-releases (http://127.0.0.1:8081/repository/maven-releases/)
at deployment.kie-server.war//org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:444)
at deployment.kie-server.war//org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:246)
at deployment.kie-server.war//org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:223)
at deployment.kie-server.war//org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveArtifact(DefaultRepositorySystem.java:294)
at deployment.kie-server.war//org.appformer.maven.integration.MavenRepository.resolveArtifact(MavenRepository.java:179)
at deployment.kie-server.war//org.appformer.maven.integration.ArtifactResolver.getPomFileForGAV(ArtifactResolver.java:96)
Environment
- Red Hat Process Automation Manager
- 7.10.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.