Remove org/apachemaven/plugins/maven-install-plugin directory in your local repo
Emmanuel
Frank Russo a écrit :
Ibiblio is back up, but I'm still getting this problem. I looked in my local repository and the install plugin is there, so I'm not sure why I'm still getting this.
Any ideas?
Frank Russo
Senior Developer
FX Alliance, LLC
-----Original Message-----
From: Frank Russo
Sent: Friday, November 25, 2005 10:05 AM
To: [email protected]
Subject: What to do when Ibiblio site is down?
I cleared my local respository this morning and tried to load a local jar with the following command:
mvn install:install-file -Dfile=lib/admin.jar -DgroupId=com.fxall -DartifactId=admin -Dpackaging=jar -Dversion=1.0
I get the following error:
[INFO] The plugin 'org.apache.maven.plugins:maven-install-plugin' does
not exist or no valid version could be found
[INFO]
----------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: The plugin
'org.apache.maven.plugins:maven-install-plugin' does not exist or no valid
version could be found
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1124)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1356)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggregationNeeds(DefaultLifecycleExecutor.java:376)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:132)
at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:316)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:113)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:249)
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:324)
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)
I checked the Ibiblio site, and it's not responding at all. Is there a mirror site somewhere for the central repository? And if so, how so you configure the settings.xml to use the mirror as a backup?
Thanks...
Frank Russo
Senior Developer
FX Alliance, LLC
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]