where is the mistake about this command?

75 Views Asked by At
mvn deploy:deploy-file -DgroupId=org.sakaiproject.nakamura \
    -D artifactId=org.sakaiproject.nakamura.ojdbc \
    -Dversion=CURRENT-VERSION -Dpackaging=jar \
    -Dfile=maven-launchpad-plugin-2.0.10.jar \
    -Durl=D:\sakai3\nakamura \
    -DrepositoryId=D:\sakai3\nakamura
1

There are 1 best solutions below

2
On

I think that the problem is that the Maven options should go before the goal. At least, that is what mvn --help tells me.

Also, there is an inconsistency in the 2nd -D option.