Re: [I] [MSOURCES-141] Check duplication of attached jar should be configurable to not fail when using the build cache [maven-source-plugin]

2025-06-10 Thread via GitHub


jira-importer commented on issue #200:
URL: 
https://github.com/apache/maven-source-plugin/issues/200#issuecomment-2959555834

   **[Hans 
Aikema](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=aikebah)** 
commented
   
   Ran into this issue as well, and in my view. I'm not knowingly using any 
build cache, but run into this issue when putting to sequential lifecycle 
phases on a CLI invocation (e.g. `mvn verify sonar:sonar deploy` in the 
practical build pipeline usage to ensure that all binaries are available to run 
SonarQube before deploying a new snapshot.
   
   It's reproducible with a slightly modified version of the simple archetype 
(only adding the source plugin and configuring its jar-no-fork execution (see 
attached).
   
   Working:
   * mvn package
   * mvn verify
   
   Breaking:
   * mvn package verify
   
    
   


-- 
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



Re: [I] [MSOURCES-141] Check duplication of attached jar should be configurable to not fail when using the build cache [maven-source-plugin]

2025-06-10 Thread via GitHub


jira-importer commented on issue #200:
URL: 
https://github.com/apache/maven-source-plugin/issues/200#issuecomment-2959555856

   **[Cheng 
Pan](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=chengpan)** 
commented
   
   it also breaks creating a shaded source jar
   


-- 
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