次のコマンドを使用して、サードパーティの jar を sonatype nexus リポジトリにデプロイしようとしています。
mvn deploy:deploy-file –DgroupId=com.myartifact -DartifactId=wfeventapi -Dversion=1.0-SNAPSHOT -Dpackaging=jar –Dfile=/Users/ssurendran/code/telemetry/metrics/lib/wf-event-api.jar -DrepositoryId=sresnapshot –Durl=http://maven.mycompany.com/nexus/content/repositories/sre-snapshots/
次のエラーが表示されます:
[ERROR] No plugin found for prefix '–Durl=http' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] repositories [local (/Users/ssurendran/.m2/repository)、中央 ( https://repo.maven.apache.org/maven2)] -> [ヘルプ 1]