So I just made a modification to the exec-maven-plugin and now I'm trying to share that with the rest of my company be deploying it to our shared repository (Artifactory) with this command:

mvn org.apache.maven.plugins:maven-deploy-plugin:2.3:deploy-file \
-DgroupId=org.codehaus.mojo -DartifactId=exec-maven- plugin \
            -Dversion=1.1-beta-2-SNAPSHOT -Dpackaging=maven-plugin \
-Dfile=/Users/pardsbane/src/exec-maven-plugin/target/exec- maven-plugin-1.1-beta-2-SNAPSHOT.jar \
            -DrepositoryId=3rdp-snapshots 
-Durl=http://mravinjak:8081/artifactory/repo/[EMAIL PROTECTED]

But I'm getting this error:

[INFO] Error deploying artifact: Failed to transfer file: http://mravinjak:8081/artifactory/repo/3rdp-snapshots/org/codehaus/mojo/exec-maven-plugin/1.1-beta-2-SNAPSHOT/exec-maven-plugin-1.1-beta-2-20080409.060704-1.jar . Return code is: 400

Which I suspect is because of the -Dpackaging=maven-plugin, but when I tried -Dpackaging=jar, Maven wasn't able to find this version of the plugin.

Am I doing something wrong?

--
Joshua ChaitinPollak | Software Engineer
Kiva Systems, Inc., 225 Wildwood Ave, Woburn, MA 01970






Reply via email to