Build errors with mod_cluster_1.2.1.Final
zhouqikun Aug 20, 2012 10:03 PMWhen I builded mod_cluster_1.2.1.Final from SVN [http://anonsvn.jboss.org/repos/mod_cluster/tags/1.2.1.Final/],
the follow error encountered.
org.apache.maven.project.ProjectBuildingException: Some problems were encountere
d while processing the POMs:
[FATAL] Non-resolvable parent POM: Could not find artifact org.jboss.mod_cluster
:mod_cluster-parent:pom:1.2.1.Beta3-SNAPSHOT and 'parent.relativePath' points at
wrong local POM @ line 4, column 13
at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBu
ilder.java:363)
at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:636)
at org.apache.maven.DefaultMaven.getProjectsForMavenReactor(DefaultMaven
.java:585)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:234)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Laun
cher.java:290)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.jav
a:230)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(La
uncher.java:409)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:
352)
[ERROR]
[ERROR] The project org.jboss.mod_cluster:mod_cluster-sar:1.2.1.Beta3-SNAPSHOT
(E:\OpenSource\mod_cluster_1_2_1_Final\sar\pom.xml) has 1 error
[ERROR] Non-resolvable parent POM: Could not find artifact org.jboss.mod_clu
ster:mod_cluster-parent:pom:1.2.1.Beta3-SNAPSHOT and 'parent.relativePath' point
s at wrong local POM @ line 4, column 13 -> [Help 2]
org.apache.maven.model.resolution.UnresolvableModelException: Could not find art
ifact org.jboss.mod_cluster:mod_cluster-parent:pom:1.2.1.Beta3-SNAPSHOT
at org.apache.maven.project.ProjectModelResolver.resolveModel(ProjectMod
elResolver.java:159)
at org.apache.maven.model.building.DefaultModelBuilder.readParentExterna
lly(DefaultModelBuilder.java:813)
at org.apache.maven.model.building.DefaultModelBuilder.readParent(Defaul
tModelBuilder.java:664)
at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultMode
lBuilder.java:310)
at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultMode
lBuilder.java:232)
at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBu
ilder.java:410)
at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBu
ilder.java:379)
at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBu
ilder.java:495)
at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBu
ilder.java:379)
at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBu
ilder.java:343)
at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:636)
at org.apache.maven.DefaultMaven.getProjectsForMavenReactor(DefaultMaven
.java:585)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:234)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Laun
cher.java:290)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.jav
a:230)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(La
uncher.java:409)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:
352)
Caused by: org.sonatype.aether.resolution.ArtifactResolutionException: Could not
find artifact org.jboss.mod_cluster:mod_cluster-parent:pom:1.2.1.Beta3-SNAPSHOT
at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(Def
aultArtifactResolver.java:538)
at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArti
facts(DefaultArtifactResolver.java:216)
at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArti
fact(DefaultArtifactResolver.java:193)
at org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveArti
fact(DefaultRepositorySystem.java:286)
at org.apache.maven.project.ProjectModelResolver.resolveModel(ProjectMod
elResolver.java:155)
... 24 more
Caused by: org.sonatype.aether.transfer.ArtifactNotFoundException: Could not fin
d artifact org.jboss.mod_cluster:mod_cluster-parent:pom:1.2.1.Beta3-SNAPSHOT
at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(Def
aultArtifactResolver.java:528)
... 28 more
[ERROR]
Could tags[1.2.1.Final] build with command [mvn -P dist package]?
The trunk is builded successfully with same command [mvn -P dist package].