Я использую Maven 3. Я пытаюсь развернуть сторонний артефакт в удаленном хранилище, но получаю странную ошибку.Команда, которую я использую для развертывания:
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
И ошибка, которую я получаю при запуске этой команды,
[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.
Что здесь происходит?Я определил свой repositoryId "ssonatype-nexus" в моем файле ~ / .m2 / settings.xml и проверил правильность учетных данных.
Спасибо за любую помощь, - Дейв