You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First run rm -rf ~/.m2/repository/io/quarkiverse to make sure your local repository does not have the parent artifact.
When I run pomchecker check-maven-central --file pom.xml the following error is shown:
[INFO] Maven Central checks: /private/tmp/jreleaser/repository/pom.xml
org.apache.maven.project.ProjectBuildingException: 1 problem was encountered while building the effective model for io.quarkiverse.slack:quarkus-slack-parent:0.0.2
[FATAL] Non-resolvable parent POM for io.quarkiverse.slack:quarkus-slack-parent:0.0.2: The following artifacts could not be resolved: io.quarkiverse:quarkiverse-parent:pom:17 (absent): Could not find artifact io.quarkiverse:quarkiverse-parent:pom:17 and 'parent.relativePath' points at wrong local POM @ line 5, column 13
for project io.quarkiverse.slack:quarkus-slack-parent:0.0.2 at /private/tmp/jreleaser/repository/pom.xml
java.lang.IllegalStateException: org.apache.maven.project.ProjectBuildingException: 1 problem was encountered while building the effective model for io.quarkiverse.slack:quarkus-slack-parent:0.0.2
[FATAL] Non-resolvable parent POM for io.quarkiverse.slack:quarkus-slack-parent:0.0.2: The following artifacts could not be resolved: io.quarkiverse:quarkiverse-parent:pom:17 (absent): Could not find artifact io.quarkiverse:quarkiverse-parent:pom:17 and 'parent.relativePath' points at wrong local POM @ line 5, column 13
for project io.quarkiverse.slack:quarkus-slack-parent:0.0.2 at /private/tmp/jreleaser/repository/pom.xml
at org.kordamp.maven.checker.cli.internal.PomParser.createMavenProject(PomParser.java:102)
at org.kordamp.maven.checker.cli.internal.PomParser.createMavenProject(PomParser.java:66)
at org.kordamp.maven.checker.cli.CheckMavenCentral.execute(CheckMavenCentral.java:61)
at org.kordamp.maven.checker.cli.AbstractCommand.call(AbstractCommand.java:102)
at org.kordamp.maven.checker.cli.CheckMavenCentral.call(CheckMavenCentral.java:30)
at org.kordamp.maven.checker.cli.AbstractCommand.call(AbstractCommand.java:34)
at picocli.CommandLine.executeUserObject(CommandLine.java:2041)
at picocli.CommandLine.access$1500(CommandLine.java:148)
at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2461)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2453)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2415)
at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2273)
at picocli.CommandLine$RunLast.execute(CommandLine.java:2417)
at picocli.CommandLine.execute(CommandLine.java:2170)
at org.kordamp.maven.checker.cli.Main.execute(Main.java:86)
at org.kordamp.maven.checker.cli.Main.run(Main.java:72)
at org.kordamp.maven.checker.cli.Main.main(Main.java:64)
Caused by: org.apache.maven.project.ProjectBuildingException: 1 problem was encountered while building the effective model for io.quarkiverse.slack:quarkus-slack-parent:0.0.2
[FATAL] Non-resolvable parent POM for io.quarkiverse.slack:quarkus-slack-parent:0.0.2: The following artifacts could not be resolved: io.quarkiverse:quarkiverse-parent:pom:17 (absent): Could not find artifact io.quarkiverse:quarkiverse-parent:pom:17 and 'parent.relativePath' points at wrong local POM @ line 5, column 13
for project io.quarkiverse.slack:quarkus-slack-parent:0.0.2 at /private/tmp/jreleaser/repository/pom.xml
at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:180)
at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:123)
at org.kordamp.maven.checker.cli.internal.PomParser.createMavenProject(PomParser.java:99)
... 16 more
Caused by: org.apache.maven.model.building.ModelBuildingException: 1 problem was encountered while building the effective model for io.quarkiverse.slack:quarkus-slack-parent:0.0.2
[FATAL] Non-resolvable parent POM for io.quarkiverse.slack:quarkus-slack-parent:0.0.2: The following artifacts could not be resolved: io.quarkiverse:quarkiverse-parent:pom:17 (absent): Could not find artifact io.quarkiverse:quarkiverse-parent:pom:17 and 'parent.relativePath' points at wrong local POM @ line 5, column 13
at org.apache.maven.model.building.DefaultModelProblemCollector.newModelBuildingException(DefaultModelProblemCollector.java:176)
at org.apache.maven.model.building.DefaultModelBuilder.readParentExternally(DefaultModelBuilder.java:1033)
at org.apache.maven.model.building.DefaultModelBuilder.readParent(DefaultModelBuilder.java:801)
at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:327)
at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:243)
at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:176)
... 18 more
The text was updated successfully, but these errors were encountered:
gastaldi
changed the title
Pomchecker does not resolve artifacts from Maven Central
Pomchecker CLI does not resolve artifacts from Maven Central
Aug 29, 2024
Having a pom.xml like the following:
First run
rm -rf ~/.m2/repository/io/quarkiverse
to make sure your local repository does not have the parent artifact.When I run
pomchecker check-maven-central --file pom.xml
the following error is shown:The text was updated successfully, but these errors were encountered: