maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Scholl <martin.sch...@enviromatics.net>
Subject Apache 3 pom moved
Date Thu, 12 Nov 2009 14:04:11 GMT
Hi all,

I'm trying to build/clean a multi-module project where one of the  
modules uses the Axis2 mar plugin. During build/clean maven tries to  
download the org.apache:apache:pom:3 from the repo. Maven finds the  
file but it contains HTML that states "301 moved permanently". This  
causes the build/clean to fail. How can I tell maven to look for the  
pom in the new location or how can I "cleanly workaround" that  
circumstance.

Thanks in advance.

Cheers.

Martin

Maven build stacktrace

hg@flexo:~/repos/CHARON> mvn -e clean
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   CHARON
[INFO]   PEP Commons
[INFO]   PEP Plugs
[INFO]   PEP
[INFO]   PEP Proxy
[INFO]   PEP Integration
[INFO]   CHARON AC Handler
[INFO]   ACS Plugs
[INFO]   Identity Management And Authentication Service
[INFO]   Identity Management And Authentication Service Client
[INFO]   SunXACML EIG Patch
[INFO]   GeoXACML Framework
[INFO]   Policy Management And Authorisation Service
[INFO]   Policy Management And Authorisation Service Client
[INFO]   Profile Management Service
[INFO]   Profile Management Service Client
[INFO]   Proxy Code Generator
[INFO]   PEP Service
[INFO]   AC Bean Core
[INFO]   AC Bean Communicator
[INFO]   Administration Client Plugins
[INFO]   Group Identity Plugin
[INFO]   Username Identity Plugin
[INFO]   Password Credential Plugin
[INFO]   Administration Client GWT
[INFO]  
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]  
------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: org.apache.axis2:axis2-parent:pom:1.4.1

Reason: Cannot find parent: org.apache:apache for project:  
org.apache.axis2:axis2-parent:pom:1.4.1 for project  
org.apache.axis2:axis2-parent:pom:1.4.1


[INFO]  
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Unable to  
build project for plugin 'org.apache.axis2:axis2-mar-maven-plugin':  
Cannot find parent: org.apache:apache for project:  
org.apache.axis2:axis2-parent:pom:1.4.1 for project  
org.apache.axis2:axis2-parent:pom:1.4.1
         at  
org 
.apache 
.maven 
.lifecycle 
.DefaultLifecycleExecutor 
.loadPluginFully(DefaultLifecycleExecutor.java:1599)
         at  
org 
.apache 
.maven 
.lifecycle 
.DefaultLifecycleExecutor 
.findArtifactTypeHandlersInPlugins(DefaultLifecycleExecutor.java:1468)
         at  
org 
.apache 
.maven 
.lifecycle 
.DefaultLifecycleExecutor.findExtensions(DefaultLifecycleExecutor.java: 
222)
         at  
org 
.apache 
.maven 
.lifecycle 
.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:178)
         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java: 
328)
         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
         at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
         at  
org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at  
sun 
.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: 
39)
         at  
sun 
.reflect 
.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: 
25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at  
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
         at  
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.InvalidPluginException: Unable to  
build project for plugin 'org.apache.axis2:axis2-mar-maven-plugin':  
Cannot find parent: org.apache:apache for project:  
org.apache.axis2:axis2-parent:pom:1.4.1 for project  
org.apache.axis2:axis2-parent:pom:1.4.1
         at  
org 
.apache 
.maven 
.plugin 
.DefaultPluginManager 
.checkRequiredMavenVersion(DefaultPluginManager.java:293)
         at  
org 
.apache 
.maven 
.plugin 
.DefaultPluginManager.verifyVersionedPlugin(DefaultPluginManager.java: 
205)
         at  
org 
.apache 
.maven 
.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:184)
         at  
org 
.apache 
.maven 
.plugin.DefaultPluginManager.loadPluginFully(DefaultPluginManager.java: 
1626)
         at  
org 
.apache 
.maven 
.lifecycle 
.DefaultLifecycleExecutor 
.loadPluginFully(DefaultLifecycleExecutor.java:1582)
         ... 15 more
Caused by: org.apache.maven.project.ProjectBuildingException: Cannot  
find parent: org.apache:apache for project: org.apache.axis2:axis2- 
parent:pom:1.4.1 for project org.apache.axis2:axis2-parent:pom:1.4.1
         at  
org 
.apache 
.maven 
.project 
.DefaultMavenProjectBuilder 
.assembleLineage(DefaultMavenProjectBuilder.java:1396)
         at  
org 
.apache 
.maven 
.project 
.DefaultMavenProjectBuilder 
.assembleLineage(DefaultMavenProjectBuilder.java:1407)
         at  
org 
.apache 
.maven 
.project 
.DefaultMavenProjectBuilder 
.buildInternal(DefaultMavenProjectBuilder.java:823)
         at  
org 
.apache 
.maven 
.project 
.DefaultMavenProjectBuilder 
.buildFromRepository(DefaultMavenProjectBuilder.java:255)
         at  
org 
.apache 
.maven 
.plugin 
.DefaultPluginManager 
.checkRequiredMavenVersion(DefaultPluginManager.java:277)
         ... 19 more
Caused by: org.apache.maven.project.InvalidProjectModelException: Not  
a v4.0.0 POM. for project org.apache:apache at /home/hg/.m2/repository/ 
org/apache/apache/3/apache-3.pom
         at  
org 
.apache 
.maven 
.project 
.DefaultMavenProjectBuilder.readModel(DefaultMavenProjectBuilder.java: 
1599)
         at  
org 
.apache 
.maven 
.project 
.DefaultMavenProjectBuilder.readModel(DefaultMavenProjectBuilder.java: 
1571)
         at  
org 
.apache 
.maven 
.project 
.DefaultMavenProjectBuilder 
.findModelFromRepository(DefaultMavenProjectBuilder.java:562)
         at  
org 
.apache 
.maven 
.project 
.DefaultMavenProjectBuilder 
.assembleLineage(DefaultMavenProjectBuilder.java:1392)
         ... 23 more
[INFO]  
------------------------------------------------------------------------
[INFO] Total time: 7 seconds
[INFO] Finished at: Thu Nov 12 14:28:50 CET 2009
[INFO] Final Memory: 5M/11M
[INFO]  
------------------------------------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message