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

   # :mag: Description
   
   Leverage [Flatten Maven 
Plugin](https://www.mojohaus.org/flatten-maven-plugin/) to generate resolved 
`pom.xml`.
   
   This recovers a dev case for Scala 2.13.
   
   We usually perform `clean install` with `-am` and `-DskipTests` one time and 
perform `test` after changing code on specific modules, e.g.
   ```
   build/mvn -Pscala-2.13 -pl externals/kyuubi-spark-sql-engine clean install 
-am -DskipTests
   build/mvn -Pscala-2.13 -pl externals/kyuubi-spark-sql-engine test
   ```
   
   Currently, the second step wrongly resolves to `*_2.12` dependencies due to 
the installed `pom.xml` referring to `*_${scala.binary.version}` while the 
default value of `scala.binary.version` is `2.12`.
   
   ## Types of changes :bookmark:
   <!--- What types of changes does your code introduce? Put an `x` in all the 
boxes that apply: -->
   - [x] Bugfix (non-breaking change which fixes an issue)
   - [ ] New feature (non-breaking change which adds functionality)
   - [ ] Breaking change (fix or feature that would cause existing 
functionality to change)
   
   ## Test Plan ๐Ÿงช
   
   This change is verified locally by the above case.
   
   ---
   
   # Checklist ๐Ÿ“
   <!--- Go over all the following points, and put an `x` in all the boxes that 
apply. -->
   <!--- If you're unsure about any of these, don't hesitate to ask. We're here 
to help! -->
   
   - [x] This patch was not authored or co-authored using [Generative 
Tooling](https://www.apache.org/legal/generative-tooling.html)
   
   **Be nice. Be informative.**
   


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