[
https://jira.codehaus.org/browse/MDEPLOY-184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=349459#comment-349459
]
Robert Scholte commented on MDEPLOY-184:
----------------------------------------
As describes on the example page, in case of the {{deploy-file}} goal, please
use the fully qualified name, i.e.
{{org.apache.maven.plugins:maven-deploy-plugin:2.8.1:deploy-file}}. This to
ensure that you really are using the right version, being 2.8.1.
If this gives the same result, please add {{-X}} to the commandline argument to
get logging at debug level. This should give you a hint what's happening.
> Sources and Javadoc are not added when deploying
> ------------------------------------------------
>
> Key: MDEPLOY-184
> URL: https://jira.codehaus.org/browse/MDEPLOY-184
> Project: Maven Deploy Plugin
> Issue Type: Bug
> Components: deploy:deploy-file
> Affects Versions: 2.8.1
> Environment: Apache Maven 3.1.1
> (NON-CANONICAL_2013-11-08_14-32_mockbuild; 2013-11-08 15:32:41+0100)
> Fedora 20
> Reporter: David Hladky
> Assignee: Robert Scholte
>
> Based on the documentation adding -Dsources=somefile and -Djavadoc=somefile
> the files should be added to the target reposiotry based on the
> documentation. While deploy:deploy deploys the sources and javadoc properly,
> deploy-file ignores the sources.
> Someone complained about this problem here as well:
> http://stackoverflow.com/questions/7487130/deploying-an-artifact-its-sources-and-javadoc-using-mavens-deploydeploy-file
--
This message was sent by Atlassian JIRA
(v6.1.6#6162)