Estoy usando Maven 3. Estoy intentando implementar un artefacto de un tercero en un repositorio remoto, pero estoy recibiendo un error extraño. El comando que estoy usando para desplegar esMaven: Problema al implementar un JAR de terceros en un repositorio remoto
mvn deploy:deploy-file -DgroupId=com.myco.util.ant \
-DartifactId=selenium-ant-task \
-Dversion=1.4 \
-Dpackaging=jar \
-Dfile=/Users/davea/.m2/repository/com/myco/util/ant/selenium-ant-task/1.4/selenium-ant-task-1.4.jar \
-DrepositoryId=sonatype-nexus \
-Durl=http://sonatype.myco.com/nexus/content/repositories/releases
Y el error que consigo cuando ejecuta este comando es
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.5:deploy-file (default-cli) on project maven-selenium-plugin: The parameters 'url' for goal org.apache.maven.plugins:maven-deploy-plugin:2.5:deploy-file are missing or invalid -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
¿Qué está pasando aquí? He definido mi repositoryId, "ssonatype-nexus" en mi archivo ~/.m2/settings.xml y verifiqué que las credenciales allí son correctas.
Gracias por cualquier ayuda, - de Dave
'Vuelva a ejecutar Maven usando el modificador -X para habilitar el registro completo de depuración. Podría ayudarle a corregir su error :) – Jacob