I mean the pluginRepositories definition, not pluginManager :-)
2009/6/18 Ivan <[email protected]>
I found that the pluginManager definition in the genesis 2.0 is
apache.snapshots (http://people.apache.org/repo/m2-snapshot-
repository).
But those 2.2 artifacts are in the new nexus site.
So I wonder that in the future, we will publish both geromimo
mudules and maven plugins snapshot to the new nexus site, right ?
And if does, shall we need to add a pluginManager definition in the
geronimo pom file ?
Thanks !
2009/6/18 Ivan <[email protected]>
Why is "apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository
)" in the log ?
Ivan
2009/6/18 <[email protected]>
>
> Geronimo Revision: 785862 built with tests included
>
> See the full build-2100.log file at
http://people.apache.org/builds/geronimo/server/binaries/trunk/20090617/build-2100.log
>
>
> See the unit test reports at
http://people.apache.org/builds/geronimo/server/binaries/trunk/20090617/unit-test-reports
>
> from the specified remote repositories:
> codehaus.snapshots (http://snapshots.repository.codehaus.org),
> apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository
),
> ibiblio.org (http://repo.exist.com/maven2)
>
>
> org.apache.geronimo.buildsupport:car-maven-plugin:maven-plugin:
2.2-SNAPSHOT
>
> from the specified remote repositories:
> codehaus.snapshots (http://snapshots.repository.codehaus.org),
> apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository
),
> ibiblio.org (http://repo.exist.com/maven2)
>
>
> [INFO]
------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: Plugin
could not be found - check that the goal name is correct: Unable to
download the artifact from any repository
>
> Try downloading the file manually from the project website.
>
> Then, install it using the command:
> mvn install:install-file -
DgroupId=org.apache.geronimo.buildsupport -DartifactId=car-maven-
plugin -Dversion=2.2-SNAPSHOT -Dpackaging=maven-plugin -Dfile=/path/
to/file
>
> Alternatively, if you host your own repository you can deploy the
file there:
> mvn deploy:deploy-file -
DgroupId=org.apache.geronimo.buildsupport -DartifactId=car-maven-
plugin -Dversion=2.2-SNAPSHOT -Dpackaging=maven-plugin -Dfile=/path/
to/file -Durl=[url] -DrepositoryId=[id]
>
>
> org.apache.geronimo.buildsupport:car-maven-plugin:maven-plugin:
2.2-SNAPSHOT
>
> from the specified remote repositories:
> codehaus.snapshots (http://snapshots.repository.codehaus.org),
> apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository
),
> ibiblio.org (http://repo.exist.com/maven2)
>
>
> org.apache.geronimo.buildsupport:car-maven-plugin:maven-plugin:
2.2-SNAPSHOT
>
> from the specified remote repositories:
> codehaus.snapshots (http://snapshots.repository.codehaus.org),
> apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository
),
> ibiblio.org (http://repo.exist.com/maven2)
>
>
> at
org
.apache
.maven
.lifecycle
.DefaultLifecycleExecutor
.findExtensions(DefaultLifecycleExecutor.java:184)
> at
org
.apache
.maven
.lifecycle
.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
> at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:
129)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:301)
> 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.PluginNotFoundException: Plugin
could not be found - check that the goal name is correct: Unable to
download the artifact from any repository
>
> Try downloading the file manually from the project website.
>
> Then, install it using the command:
> mvn install:install-file -
DgroupId=org.apache.geronimo.buildsupport -DartifactId=car-maven-
plugin -Dversion=2.2-SNAPSHOT -Dpackaging=maven-plugin -Dfile=/path/
to/file
>
> Alternatively, if you host your own repository you can deploy the
file there:
> mvn deploy:deploy-file -
DgroupId=org.apache.geronimo.buildsupport -DartifactId=car-maven-
plugin -Dversion=2.2-SNAPSHOT -Dpackaging=maven-plugin -Dfile=/path/
to/file -Durl=[url] -DrepositoryId=[id]
>
>
> org.apache.geronimo.buildsupport:car-maven-plugin:maven-plugin:
2.2-SNAPSHOT
>
> from the specified remote repositories:
> codehaus.snapshots (http://snapshots.repository.codehaus.org),
> apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository
),
> ibiblio.org (http://repo.exist.com/maven2)
>
>
> org.apache.geronimo.buildsupport:car-maven-plugin:maven-plugin:
2.2-SNAPSHOT
>
> from the specified remote repositories:
> codehaus.snapshots (http://snapshots.repository.codehaus.org),
> apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository
),
> ibiblio.org (http://repo.exist.com/maven2)
>
>
> at
org
.apache
.maven
.plugin
.DefaultPluginManager
.verifyVersionedPlugin(DefaultPluginManager.java:241)
> at
org
.apache
.maven
.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:
176)
> at
org
.apache
.maven
.lifecycle
.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:
1275)
> at
org
.apache
.maven
.lifecycle
.DefaultLifecycleExecutor
.findArtifactTypeHandlers(DefaultLifecycleExecutor.java:1194)
> at
org
.apache
.maven
.lifecycle
.DefaultLifecycleExecutor
.findExtensions(DefaultLifecycleExecutor.java:178)
> ... 12 more
> Caused by: org.apache.maven.wagon.ResourceDoesNotExistException:
Unable to download the artifact from any repository
> at
org
.apache
.maven
.artifact
.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:332)
> at
org
.apache
.maven
.artifact
.resolver
.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:200)
> at
org
.apache
.maven
.artifact
.resolver
.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:74)
> at
org
.apache
.maven
.plugin
.DefaultPluginManager
.verifyVersionedPlugin(DefaultPluginManager.java:204)
> ... 16 more
> [INFO]
------------------------------------------------------------------------
> [INFO] Total time: 1 minute 54 seconds
> [INFO] Finished at: Wed Jun 17 21:04:29 EDT 2009
> [INFO] Final Memory: 136M/567M
> [INFO]
------------------------------------------------------------------------
--
Ivan
--
Ivan
--
Ivan