Deploy plugin documentation doesn't match behavior:  -Dversion vs. 
-DartifactVersion
------------------------------------------------------------------------------------

                 Key: NMAVEN-129
                 URL: http://jira.codehaus.org/browse/NMAVEN-129
             Project: NMaven
          Issue Type: Bug
    Affects Versions: 0.14 (Unreleased)
         Environment: NMaven 0.14 branch + patches
            Reporter: Wendy Smoak


The 'usage' page for the deploy plugin says to use -Dversion, but this results 
in an error message.

http://incubator.apache.org/nmaven/0.14/plugins/maven-deploy-plugin/usage.html

C:\temp>mvn org.apache.maven.dotnet.plugins:maven-deploy-plugin:deploy-file 
-Dfile=sample.dll -DgroupId=Examples -DartifactId=SampleProject -Dversion=1.0 
-Dpackaging=library -Durl=file:///tmp/repo
...
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] One or more required plugin parameters are invalid/missing for 
'deploy:deploy-file'
[0] Inside the definition for plugin 'maven-deploy-plugin' specify the 
following:
<configuration>
 ...
  <version>VALUE</version>
</configuration>
-OR-
on the command line, specify: '-DartifactVersion=VALUE'

Apparently it should be -DartifactVersion=1.0

Is there some reason this needs to differ from the Java deploy plugin, which 
uses -Dversion when deploying?


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to