[
https://issues.apache.org/jira/browse/MDEPLOY-198?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14614039#comment-14614039
]
S L commented on MDEPLOY-198:
-----------------------------
Hi [~rfscholte],
thanks for all the feedback.
It's always a pleasure to discuss different problems/configurations here.
I highly appreciate the the time you have taken to discuss this issue with me
:-)
Well I tried different options how to bypass the issue, however I think as you
already suggested the best and most reliable option is to put the generation of
the java-doc and sources into the install phase. From there the deploy-plugin
should handle everything correctly.
Please go ahead and close this issue as Won't Fix.
Thanks,
> deploy:deploy in some cases upload a file twice
> -----------------------------------------------
>
> Key: MDEPLOY-198
> URL: https://issues.apache.org/jira/browse/MDEPLOY-198
> Project: Maven Deploy Plugin
> Issue Type: Bug
> Components: deploy:deploy
> Affects Versions: 2.8.2
> Reporter: S L
> Priority: Minor
> Attachments: hello-maven-plugin.zip
>
>
> This is a similar issue to MDEPLOY-197 and if you feel that is this is the
> same problem feel free to close it as duplicate.
> However, in some cases when using the maven-deploy-plugin the artificat will
> be uploaded twice. Example will be attached.
> In my example I craft sources & javadoc in the deploy-phase and have an
> additional maven-deploy-plugin-definition which also be be executed in
> deploy. However the default-deploy will upload the final artifact as well as
> my custom tailored maven-deploy-plugin-definition and therefore the artifcat
> will be uploaded twice.
> In the zip there is also the build log where I replaced all sensitive
> information.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)