I tried to fix this by putting all the repositories in a profile in
the root pom. So.... if you are using nexus, you can look in this
profile to make sure you have all these repos configured in nexus, and
set up routing rules so they only get checked for the appropriate
artifacts. Then run with -Dnexus. If you are not yet using nexus,
don't include this property.
Let me know if this causes problems. I also changed to using the osgi
core and compendium bundles.
rev. 921729
thanks
david jencks
On Mar 11, 2010, at 12:14 AM, ga...@apache.org wrote:
Geronimo Revision: 921715 built with tests included
See the full build-0300.log file at
http://people.apache.org/builds/geronimo/server/binaries/trunk/20100311/build-0300.log
See the unit test reports at
http://people.apache.org/builds/geronimo/server/binaries/trunk/20100311/unit-test-reports
for artifact:
org.apache.geronimo.buildsupport:geronimo-osgi-plugin:maven-plugin:
3.0-SNAPSHOT
from the specified remote repositories:
ops4j.snapshots (http://repository.ops4j.org/mvn-snapshots/),
apache.snapshots (http://repository.apache.org/snapshots),
codehaus.snapshots (http://snapshots.repository.codehaus.org),
ibiblio.org (http://maven.rtp.raleigh.ibm.com/nexus-proxy/)
[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Missing:
----------
1) org.eclipse:osgi:jar:3.5.1.v20090827
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.eclipse -
DartifactId=osgi -Dversion=3.5.1.v20090827 -Dpackaging=jar -Dfile=/
path/to/file
Alternatively, if you host your own repository you can deploy the
file there:
mvn deploy:deploy-file -DgroupId=org.eclipse -DartifactId=osgi -
Dversion=3.5.1.v20090827 -Dpackaging=jar -Dfile=/path/to/file -
Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.apache.geronimo.buildsupport:geronimo-osgi-plugin:maven-
plugin:3.0-SNAPSHOT
2) org.eclipse:osgi:jar:3.5.1.v20090827
----------
1 required artifact is missing.
for artifact:
org.apache.geronimo.buildsupport:geronimo-osgi-plugin:maven-plugin:
3.0-SNAPSHOT
from the specified remote repositories:
ops4j.snapshots (http://repository.ops4j.org/mvn-snapshots/),
apache.snapshots (http://repository.apache.org/snapshots),
codehaus.snapshots (http://snapshots.repository.codehaus.org),
ibiblio.org (http://maven.rtp.raleigh.ibm.com/nexus-proxy/)
at
org
.apache
.maven
.lifecycle
.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:
711)
at
org
.apache
.maven
.lifecycle
.DefaultLifecycleExecutor
.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
at
org
.apache
.maven
.lifecycle
.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:
535)
at
org
.apache
.maven
.lifecycle
.DefaultLifecycleExecutor
.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
at
org
.apache
.maven
.lifecycle
.DefaultLifecycleExecutor
.executeTaskSegments(DefaultLifecycleExecutor.java:348)
at
org
.apache
.maven
.lifecycle
.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
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.artifact.resolver.MultipleArtifactsNotFoundException:
Missing:
----------
1) org.eclipse:osgi:jar:3.5.1.v20090827
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.eclipse -
DartifactId=osgi -Dversion=3.5.1.v20090827 -Dpackaging=jar -Dfile=/
path/to/file
Alternatively, if you host your own repository you can deploy the
file there:
mvn deploy:deploy-file -DgroupId=org.eclipse -DartifactId=osgi -
Dversion=3.5.1.v20090827 -Dpackaging=jar -Dfile=/path/to/file -
Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.apache.geronimo.buildsupport:geronimo-osgi-plugin:maven-
plugin:3.0-SNAPSHOT
2) org.eclipse:osgi:jar:3.5.1.v20090827
----------
1 required artifact is missing.
for artifact:
org.apache.geronimo.buildsupport:geronimo-osgi-plugin:maven-plugin:
3.0-SNAPSHOT
from the specified remote repositories:
ops4j.snapshots (http://repository.ops4j.org/mvn-snapshots/),
apache.snapshots (http://repository.apache.org/snapshots),
codehaus.snapshots (http://snapshots.repository.codehaus.org),
ibiblio.org (http://maven.rtp.raleigh.ibm.com/nexus-proxy/)
at
org
.apache
.maven
.artifact
.resolver
.DefaultArtifactResolver
.resolveTransitively(DefaultArtifactResolver.java:360)
at
org
.apache
.maven
.artifact
.resolver
.DefaultArtifactResolver
.resolveTransitively(DefaultArtifactResolver.java:304)
at
org
.apache
.maven
.plugin
.DefaultPluginManager
.resolveTransitiveDependencies(DefaultPluginManager.java:1499)
at
org
.apache
.maven
.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:
442)
at
org
.apache
.maven
.lifecycle
.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:
694)
... 17 more
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 21 seconds
[INFO] Finished at: Thu Mar 11 03:07:57 EST 2010
[INFO] Final Memory: 123M/539M
[INFO]
------------------------------------------------------------------------