I am trying to deploy a file to a remote repository using the command:
mvn deploy:deploy-file –DgroupId=io.mymetrics -DartifactId=metrics-core -Dversion=4.0.0- -Dpackaging=jar –Dfile=/Users/ssurendran/code/telemetry2/metrics/lib/mymetrics-core.jar -DrepositoryId=releases –Durl=http://maven.mycompany.com/nexus/content/repositories/central/
I get this error message:
No plugin found for prefix '–Durl=http' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (/Users/ssurendran/.m2/repository), central (https://repo.maven.apache.org/maven2)] -> [Help 1]