Hello, Can somebody help me, please?
I try to deploy on a local repository (under proximity) a jar with the following command: mvn deploy:deploy-file -Durl=file://C:\Documents and Settings\test\proximity\ext-free.snapshot\storage -DrepositoryId=extFree.snapshot -Dfile=maven-ejb3-plugin-2.1-SNAPSHOT.jar -DgroupId=org.apache.maven.plugins -DartifactId=maven-ejb3-plugin -Dversion=2.1-SNAPSHOT And I have the following error: [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'deploy'. [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Invalid task 'and': you must specify a valid lifecycle phase, or a goal in the format plugin:goal or pluginGroupId:pluginArtifactId:pluginVersion:goal [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: < 1 second [INFO] Finished at: Mon Dec 18 11:44:06 CET 2006 [INFO] Final Memory: 1M/3M [INFO] ------------------------------------------------------------------------ When I use the following one: mvn deploy:deploy-file -Durl=http://localhost:8999/px-webapp/repository/extFree.snapshot -DrepositoryId=extFree.snapshot -Dfile=maven-ejb3-plugin-2.1-SNAPSHOT.jar -DgroupId=org.apache.maven.plugins -DartifactId=maven-ejb3-plugin -Dversion=2.1-SNAPSHOT -Dpackaging=jar I have the error: [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'deploy'. [INFO] ------------------------------------------------------------------------ ---- [INFO] Building Unnamed - org.apache.maven.plugins:maven-ejb3-plugin:pom:2.1-SNAPSHOT [INFO] task-segment: [deploy:deploy-file] (aggregator-style) [INFO] ------------------------------------------------------------------------ ---- [INFO] [deploy:deploy-file] [INFO] Retrieving previous build number from extFree.snapshot Uploading: http://localhost:8999/px-webapp/repository/extFree.snapshot/org/apache/m aven/plugins/maven-ejb3-plugin/2.1-SNAPSHOT/maven-ejb3-plugin-2.1-200612 18.105519-1.jar 5K uploaded [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Error deploying artifact: Unable to transfer file. HttpURLConnection returned the response code: 500 [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1 second [INFO] Finished at: Mon Dec 18 11:55:19 CET 2006 [INFO] Final Memory: 2M/4M [INFO] ------------------------------------------------------------------------ Thanks for advance. Didier. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
