What are you trying to do here? It looks like you're trying to install a file called 'repository' What you probably want to do is install the activation.jar file. Try: mvn install:install-file -Dfile=activation.jar -DgroupId=javax.activation -DartifactId=activation -Dversion=1.1 -DgeneratePom=true
Roald Bankras Software Engineer JTeam b.v. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, May 22, 2006 2:15 PM To: users@maven.apache.org Subject: The plugin 'org.apache.maven.plugins:maven-install-plugin' does not exist or no valid version could be found... Hi all, while trying to run any command i am getting this sort of build error.. can any body help me what to do??.. anurag. C:\Documents and Settings\tiwarin>mvn -v Maven version: 2.0.4 C:\Documents and Settings\tiwarin>mvn install:install-file -Dfile=D:\maven-2.0.4 \repository -DgroupId=javax.activation \ -DartifactId=activation -Dverson=2.0.4 [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'install'. [INFO] org.apache.maven.plugins: checking for updates from central [WARNING] repository metadata for: 'org.apache.maven.plugins' could not be retri eved from repository: central due to an error: Error transferring file [INFO] Repository 'central' will be blacklisted [INFO] ------------------------------------------------------------------------ [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] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 23 seconds [INFO] Finished at: Mon May 22 17:22:54 IST 2006 [INFO] Final Memory: 1M/2M [INFO] ------------------------------------------------------------------------ C:\Documents and Settings\tiwarin>mvn -e + Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] You must specify at least one goal. Try 'install' [INFO] ------------------------------------------------------------------------ [INFO] Trace org.apache.maven.BuildFailureException: You must specify at least one goal. Try 'install' at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi fecycleExecutor.java:132) 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. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.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) [INFO] ------------------------------------------------------------------------ [INFO] Total time: < 1 second [INFO] Finished at: Mon May 22 17:23:22 IST 2006 [INFO] Final Memory: 1M/2M [INFO] ------------------------------------------------------------------------ C:\Documents and Settings\tiwarin>mvn install [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ - --- [INFO] Building Maven Default Project [INFO] task-segment: [install] [INFO] ------------------------------------------------------------------------ - --- [INFO] artifact org.apache.maven.plugins:maven-resources-plugin: checking for up dates from central [WARNING] repository metadata for: 'artifact org.apache.maven.plugins:maven-reso urces-plugin' could not be retrieved from repository: central due to an error: E rror transferring file [INFO] Repository 'central' will be blacklisted [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] The plugin 'org.apache.maven.plugins:maven-resources-plugin' does not exi st or no valid version could be found [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 22 seconds [INFO] Finished at: Mon May 22 17:24:14 IST 2006 [INFO] Final Memory: 1M/2M [INFO] ------------------------------------------------------------------------ The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.392 / Virus Database: 268.6.1/344 - Release Date: 5/19/2006 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.392 / Virus Database: 268.6.1/344 - Release Date: 5/19/2006 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]