Maven 3을 사용하고 있습니다. 타사 이슈를 원격 저장소에 배포하려고하지만 이상한 오류가 발생했습니다. 내가 배포 사용하고 명령은Maven : 타사 JAR을 원격 저장소에 배포하는 데 문제가 있습니다.
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 파일에 정의하고 거기에있는 자격 증명이 올바른지 확인했습니다. 어떤 도움
감사합니다, - 당신의 URL을 잘못 포맷처럼 데이브
'-X 스위치를 사용하여 전체 디버그 로깅을 사용하도록 Maven을 다시 실행하십시오 .' 오류를 해결하는 데 도움이 될 수 있습니다. – Jacob