geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Dillon <ja...@planet57.com>
Subject Build error on trunk... g-m-p depends on cars?
Date Mon, 19 Feb 2007 06:39:16 GMT
When building with a clean repo, trunk's bootstrap stage is barfing  
building the geronimo-maven-plugin because of missing car:

     org.apache.geronimo.configs:jsr88-deploymentfactory:car:2.0- 
SNAPSHOT

Car's are not built until the assemble stage... so the introduction  
of a car dependency in this plugin creates some big problems.

Why is the car dependency needed here?

<snip>
[INFO]  
------------------------------------------------------------------------ 
----
[INFO] Building Geronimo Maven2 Plugins :: Geronimo
[INFO]    task-segment: [install]
[INFO]  
------------------------------------------------------------------------ 
----
[INFO] [tools:require-java-version {execution: validate-java-version}]
[INFO] [plugin:descriptor]
[WARNING] Goal prefix is: geronimo; Maven currently expects it to be  
geronimo
[INFO] Using 2 extractors.
[INFO] Applying extractor for language: java
[INFO] Extractor for language: java found 15 mojo descriptors.
[INFO] Applying extractor for language: bsh
[INFO] Extractor for language: bsh found 0 mojo descriptors.
[INFO] [tools:copy-legal-files {execution: install-legal-files}]
[INFO] Copying 2 files to /home/anthill/anthill3/agent/var/jobs/ 
projects/Geronimo_Components/build_trunk/project/maven-plugins/ 
geronimo-maven-plugin/target/classes/META-INF
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] snapshot org.apache.geronimo.configs:jsr88-deploymentfactory: 
2.0-SNAPSHOT: checking for updates from apache-snapshots
[INFO] snapshot org.apache.geronimo.configs:jsr88-deploymentfactory: 
2.0-SNAPSHOT: checking for updates from axis2-m2-repo
[INFO] snapshot org.apache.geronimo.configs:jsr88-deploymentfactory: 
2.0-SNAPSHOT: checking for updates from codehaus-snapshots
[INFO] snapshot org.apache.geronimo.configs:jsr88-deploymentfactory: 
2.0-SNAPSHOT: checking for updates from apache.snapshots
Downloading: http://people.apache.org/repo/m2-snapshot-repository/org/ 
apache/geronimo/configs/jsr88-deploymentfactory/2.0-SNAPSHOT/jsr88- 
deploymentfactory-2.0-SNAPSHOT.pom
[WARNING] Unable to get resource 'org.apache.geronimo.configs:jsr88- 
deploymentfactory:pom:2.0-SNAPSHOT' from repository apache-snapshots  
(http://people.apache.org/repo/m2-snapshot-repository)
Downloading: http://ws.zones.apache.org/repository2//org/apache/ 
geronimo/configs/jsr88-deploymentfactory/2.0-SNAPSHOT/jsr88- 
deploymentfactory-2.0-SNAPSHOT.pom
[WARNING] Unable to get resource 'org.apache.geronimo.configs:jsr88- 
deploymentfactory:pom:2.0-SNAPSHOT' from repository axis2-m2-repo  
(http://ws.zones.apache.org/repository2/)
Downloading: http://snapshots.repository.codehaus.org/org/apache/ 
geronimo/configs/jsr88-deploymentfactory/2.0-SNAPSHOT/jsr88- 
deploymentfactory-2.0-SNAPSHOT.pom
[WARNING] Unable to get resource 'org.apache.geronimo.configs:jsr88- 
deploymentfactory:pom:2.0-SNAPSHOT' from repository codehaus- 
snapshots (http://snapshots.repository.codehaus.org)
Downloading: http://people.apache.org/repo/m2-snapshot-repository/org/ 
apache/geronimo/configs/jsr88-deploymentfactory/2.0-SNAPSHOT/jsr88- 
deploymentfactory-2.0-SNAPSHOT.pom
[WARNING] Unable to get resource 'org.apache.geronimo.configs:jsr88- 
deploymentfactory:pom:2.0-SNAPSHOT' from repository apache.snapshots  
(http://people.apache.org/repo/m2-snapshot-repository)
[INFO] snapshot org.apache.maven.surefire:surefire-api:2.1-SNAPSHOT:  
checking for updates from apache-snapshots
[INFO] snapshot org.apache.maven.surefire:surefire-api:2.1-SNAPSHOT:  
checking for updates from axis2-m2-repo
[INFO] snapshot org.apache.maven.surefire:surefire-api:2.1-SNAPSHOT:  
checking for updates from codehaus-snapshots
[INFO] snapshot org.apache.maven.surefire:surefire-api:2.1-SNAPSHOT:  
checking for updates from apache.snapshots
Downloading: http://people.apache.org/repo/m2-snapshot-repository/org/ 
apache/maven/surefire/surefire-api/2.1-SNAPSHOT/surefire- 
api-2.1-20070108.094711-10.pom
915b downloaded
[INFO] snapshot org.apache.maven.surefire:surefire:2.1-SNAPSHOT:  
checking for updates from apache-snapshots
[INFO] snapshot org.apache.maven.surefire:surefire:2.1-SNAPSHOT:  
checking for updates from axis2-m2-repo
[INFO] snapshot org.apache.maven.surefire:surefire:2.1-SNAPSHOT:  
checking for updates from codehaus-snapshots
[INFO] snapshot org.apache.maven.surefire:surefire:2.1-SNAPSHOT:  
checking for updates from apache.snapshots
Downloading: http://people.apache.org/repo/m2-snapshot-repository/org/ 
apache/maven/surefire/surefire/2.1-SNAPSHOT/ 
surefire-2.1-20070108.094711-11.pom
4K downloaded
Downloading: http://people.apache.org/repo/m2-snapshot-repository/org/ 
apache/geronimo/configs/jsr88-deploymentfactory/2.0-SNAPSHOT/jsr88- 
deploymentfactory-2.0-SNAPSHOT.car
[WARNING] Unable to get resource 'org.apache.geronimo.configs:jsr88- 
deploymentfactory:car:2.0-SNAPSHOT' from repository apache-snapshots  
(http://people.apache.org/repo/m2-snapshot-repository)
Downloading: http://ws.zones.apache.org/repository2//org/apache/ 
geronimo/configs/jsr88-deploymentfactory/2.0-SNAPSHOT/jsr88- 
deploymentfactory-2.0-SNAPSHOT.car
[WARNING] Unable to get resource 'org.apache.geronimo.configs:jsr88- 
deploymentfactory:car:2.0-SNAPSHOT' from repository axis2-m2-repo  
(http://ws.zones.apache.org/repository2/)
Downloading: http://snapshots.repository.codehaus.org/org/apache/ 
geronimo/configs/jsr88-deploymentfactory/2.0-SNAPSHOT/jsr88- 
deploymentfactory-2.0-SNAPSHOT.car
[WARNING] Unable to get resource 'org.apache.geronimo.configs:jsr88- 
deploymentfactory:car:2.0-SNAPSHOT' from repository codehaus- 
snapshots (http://snapshots.repository.codehaus.org)
Downloading: http://people.apache.org/repo/m2-snapshot-repository/org/ 
apache/geronimo/configs/jsr88-deploymentfactory/2.0-SNAPSHOT/jsr88- 
deploymentfactory-2.0-SNAPSHOT.car
[WARNING] Unable to get resource 'org.apache.geronimo.configs:jsr88- 
deploymentfactory:car:2.0-SNAPSHOT' from repository apache.snapshots  
(http://people.apache.org/repo/m2-snapshot-repository)
Downloading: http://people.apache.org/repo/m2-snapshot-repository/org/ 
apache/maven/surefire/surefire-api/2.1-SNAPSHOT/surefire- 
api-2.1-20070108.094711-10.jar
48K downloaded
[INFO]  
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]  
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) org.apache.geronimo.configs:jsr88-deploymentfactory:car:2.0-SNAPSHOT

   Try downloading the file manually from the project website.

   Then, install it using the command:
       mvn install:install-file -DgroupId=org.apache.geronimo.configs  
-DartifactId=jsr88-deploymentfactory \
           -Dversion=2.0-SNAPSHOT -Dpackaging=car -Dfile=/path/to/file

   Path to dependency:
   	1) org.apache.geronimo.plugins:geronimo-maven-plugin:maven-plugin: 
2.0-SNAPSHOT
   	2) org.apache.geronimo.configs:jsr88-deploymentfactory:car:2.0- 
SNAPSHOT

----------
1 required artifact is missing.

for artifact:
   org.apache.geronimo.plugins:geronimo-maven-plugin:maven-plugin:2.0- 
SNAPSHOT

from the specified remote repositories:
   central (http://repo1.maven.org/maven2),
   apache.snapshots (http://people.apache.org/repo/m2-snapshot- 
repository),
   codehaus (http://repository.codehaus.org),
   apache-snapshots (http://people.apache.org/repo/m2-snapshot- 
repository),
   codehaus-snapshots (http://snapshots.repository.codehaus.org),
   apache-incubator (http://people.apache.org/repo/m2-incubating- 
repository/),
   axis2-m2-repo (http://ws.zones.apache.org/repository2/),
   tomcat-m2-repo (http://tomcat.apache.org/dev/dist/m2-repository/)


[INFO]  
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Missing:
----------
1) org.apache.geronimo.configs:jsr88-deploymentfactory:car:2.0-SNAPSHOT

   Try downloading the file manually from the project website.

   Then, install it using the command:
       mvn install:install-file -DgroupId=org.apache.geronimo.configs  
-DartifactId=jsr88-deploymentfactory \
           -Dversion=2.0-SNAPSHOT -Dpackaging=car -Dfile=/path/to/file

   Path to dependency:
   	1) org.apache.geronimo.plugins:geronimo-maven-plugin:maven-plugin: 
2.0-SNAPSHOT
   	2) org.apache.geronimo.configs:jsr88-deploymentfactory:car:2.0- 
SNAPSHOT

----------
1 required artifact is missing.

for artifact:
   org.apache.geronimo.plugins:geronimo-maven-plugin:maven-plugin:2.0- 
SNAPSHOT

from the specified remote repositories:
   central (http://repo1.maven.org/maven2),
   apache.snapshots (http://people.apache.org/repo/m2-snapshot- 
repository),
   codehaus (http://repository.codehaus.org),
   apache-snapshots (http://people.apache.org/repo/m2-snapshot- 
repository),
   codehaus-snapshots (http://snapshots.repository.codehaus.org),
   apache-incubator (http://people.apache.org/repo/m2-incubating- 
repository/),
   axis2-m2-repo (http://ws.zones.apache.org/repository2/),
   tomcat-m2-repo (http://tomcat.apache.org/dev/dist/m2-repository/)

	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals 
(DefaultLifecycleExecutor.java:556)
	at  
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifec 
ycle(DefaultLifecycleExecutor.java:480)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal 
(DefaultLifecycleExecutor.java:459)
	at  
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle 
Failures(DefaultLifecycleExecutor.java:311)
	at  
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments( 
DefaultLifecycleExecutor.java:278)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute 
(DefaultLifecycleExecutor.java:143)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:330)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
	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:585)
	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.artifact.resolver.MultipleArtifactsNotFoundException: M 
issing:
----------
1) org.apache.geronimo.configs:jsr88-deploymentfactory:car:2.0-SNAPSHOT

   Try downloading the file manually from the project website.

   Then, install it using the command:
       mvn install:install-file -DgroupId=org.apache.geronimo.configs  
-DartifactId=jsr88-deploymentfactory \
           -Dversion=2.0-SNAPSHOT -Dpackaging=car -Dfile=/path/to/file

   Path to dependency:
   	1) org.apache.geronimo.plugins:geronimo-maven-plugin:maven-plugin: 
2.0-SNAPSHOT
   	2) org.apache.geronimo.configs:jsr88-deploymentfactory:car:2.0- 
SNAPSHOT

----------
1 required artifact is missing.

for artifact:
   org.apache.geronimo.plugins:geronimo-maven-plugin:maven-plugin:2.0- 
SNAPSHOT

from the specified remote repositories:
   central (http://repo1.maven.org/maven2),
   apache.snapshots (http://people.apache.org/repo/m2-snapshot- 
repository),
   codehaus (http://repository.codehaus.org),
   apache-snapshots (http://people.apache.org/repo/m2-snapshot- 
repository),
   codehaus-snapshots (http://snapshots.repository.codehaus.org),
   apache-incubator (http://people.apache.org/repo/m2-incubating- 
repository/),
   axis2-m2-repo (http://ws.zones.apache.org/repository2/),
   tomcat-m2-repo (http://tomcat.apache.org/dev/dist/m2-repository/)

	at  
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransi 
tively(DefaultArtifactResolver.java:305)
	at  
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransi 
tively(DefaultArtifactResolver.java:272)
	at  
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransi 
tively(DefaultArtifactResolver.java:243)
	at  
org.apache.maven.plugin.DefaultPluginManager.resolveTransitiveDependenci 
es(DefaultPluginManager.java:1142)
	at org.apache.maven.plugin.DefaultPluginManager.executeMojo 
(DefaultPluginManager.java:374)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals 
(DefaultLifecycleExecutor.java:539)
	... 16 more
</snip>

--jason

Mime
View raw message