jira-importer commented on issue #187:
URL: 
https://github.com/apache/maven-deploy-plugin/issues/187#issuecomment-2771513574

   **[Alexander 
Kriegisch](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=kriegaex)**
 commented
   
   OK, weirdly enough, in https://issues.apache.org/jira/browse/MSHADE-195 
which is was closed long ago and should be resolved in Shade 2.4.3 (I am using 
3.2.4), there is a hint for a workaround which works for me:
   
   > #### Workaround
   > 
   > Configure maven-source-plugin with **`<attach>false</attach>`**. Then the 
shade plugin will find the sources and include them in the shaded sources jar, 
but the sources jar won't be attached to the build twice.
   
   I added this option, and finally Maven Install and Maven Deploy behave the 
way I want to: Only one source JAR - correctly, the shaded one - is being 
installed and deployed.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to