Anyone able to shed some light on this? I'm stuck on this and don't want this thread to get buried.
-----Original Message----- From: EJ Ciramella [mailto:[EMAIL PROTECTED] Sent: Friday, July 07, 2006 6:40 PM To: users@maven.apache.org Subject: Interrnal remote repository For the life of me, I can't get this to work. We have an internal remote repository. I've added jars by running without being configured to use this internal remote repository, THEN cd'ing into my .m2/repository directory and running the "mvn deploy:deploy-file" type syntax. Ive installed this plugin, but I STILL get the following error: [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [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 vali d version could be found at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Default LifecycleExecutor.java:1281) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(De faultLifecycleExecutor.java:1517) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindLifecycleForPack aging(DefaultLifecycleExecutor.java:1011) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycleMa ppings(DefaultLifecycleExecutor.java:975) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultL ifecycleExecutor.java:453) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle Failures(DefaultLifecycleExecutor.java:306) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments( DefaultLifecycleExecutor.java:273) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec ycleExecutor.java:140) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) at org.apache.maven.cli.MavenCli.main(MavenCli.java:256) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.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.plugin.version.PluginVersionNotFoundException: The plugin 'org.apache.maven.plugins:maven-install-plugin' does n ot exist or no valid version could be found at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePlugi nVersion(DefaultPluginVersionManager.java:225) at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePlugi nVersion(DefaultPluginVersionManager.java:87) at org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginM anager.java:158) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Default LifecycleExecutor.java:1252) ... 18 more Could someone please shed some light on this for me? When installing something that has a group of "org\apache\maven\plugins", should you use - "-DgroupId=org\apache\maven\plugins" or "-DgroupId=org/apache/maven/plugins" or "-DgroupId=org.apache.maven.plugins"? Why will the install work: C:\Documents and Settings\eciramella\.m2\repository\org\apache\maven\plugins\maven-instal l-plugin\2.1>mvn deploy:deploy-file -DgroupId=org.apache .maven.plugins -DartifactID=maven-install-plugin -Dversion=2.1 -Dpackaging=jar -Dfile=maven-install-plugin-2.1.jar -DpomFile=maven-install-plugin -2.1.pom -DrepositoryId=central -Durl=file:\\build.corp.upromise.com\mavenrepository [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'deploy'. [INFO] ------------------------------------------------------------------------ ---- [INFO] Building Maven Default Project [INFO] task-segment: [deploy:deploy-file] (aggregator-style) [INFO] ------------------------------------------------------------------------ ---- [INFO] [deploy:deploy-file] Uploading: file:\\build.corp.upromise.com\mavenrepository/org/apache/maven/plugins/ maven-install-plugin/2.1/maven-install-plugin-2.1.jar <file:///\\build.corp.upromise.com\mavenrepository/org/apache/maven/plug ins/maven-install-plugin/2.1/maven-install-plugin-2.1.jar> 8K uploaded [INFO] Retrieving previous metadata from central [INFO] Uploading project information for maven-install-plugin 2.1 [INFO] Retrieving previous metadata from central [INFO] Uploading repository metadata for: 'artifact org.apache.maven.plugins:maven-install-plugin' [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESSFUL [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1 second [INFO] Finished at: Fri Jul 07 18:31:51 EDT 2006 [INFO] Final Memory: 2M/4M [INFO] ------------------------------------------------------------------------ ? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]