pan3793 opened a new pull request, #5318:
URL: https://github.com/apache/kyuubi/pull/5318

   <!--
   Thanks for sending a pull request!
   
   Here are some tips for you:
     1. If this is your first time, please read our contributor guidelines: 
https://kyuubi.readthedocs.io/en/latest/community/CONTRIBUTING.html
     2. If the PR is related to an issue in 
https://github.com/apache/kyuubi/issues, add '[KYUUBI #XXXX]' in your PR title, 
e.g., '[KYUUBI #XXXX] Your PR title ...'.
     3. If the PR is unfinished, add '[WIP]' in your PR title, e.g., 
'[WIP][KYUUBI #XXXX] Your PR title ...'.
   -->
   
   ### _Why are the changes needed?_
   <!--
   Please clarify why the changes are needed. For instance,
     1. If you add a feature, you can talk about the use case of it.
     2. If you fix a bug, you can clarify why it is a bug.
   -->
   The current maven-source-plugin version(3.3.0) inherits from 
`org.apache:parent:pom:30`, unfortunately, MSOURCES-121 breaks shaded modules 
creating source artifacts.
   
   ```
   [ERROR] We have duplicated artifacts attached.
   [ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-source-plugin:3.3.0:jar-no-fork (attach-sources) 
on project kyuubi-hive-jdbc-shaded: Presumably you have configured 
maven-source-plugn to execute twice times in your build. You have to configure 
a classifier for at least on of them. -> [Help 1]
   org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute 
goal org.apache.maven.plugins:maven-source-plugin:3.3.0:jar-no-fork 
(attach-sources) on project kyuubi-hive-jdbc-shaded: Presumably you have 
configured maven-source-plugn to execute twice times in your build. You have to 
configure a classifier for at least on of them.
   ```
   
   We should skip upgrading until MSOURCES-141 gets fixed.
   
   ### _How was this patch tested?_
   - [ ] Add some test cases that check the changes thoroughly including 
negative and positive cases if possible
   
   - [ ] Add screenshots for manual tests if appropriate
   
   - [x] [Run 
test](https://kyuubi.readthedocs.io/en/master/contributing/code/testing.html#running-tests)
 locally before make a pull request
   
   
   ### _Was this patch authored or co-authored using generative AI tooling?_
   <!--
   If a generative AI tooling has been used in the process of authoring this 
patch, please include
   phrase 'Generated-by: ' followed by the name of the tool and its version.
   If no, write 'No'.
   Please refer to the [ASF Generative Tooling 
Guidance](https://www.apache.org/legal/generative-tooling.html) for details.
   -->
   No.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to