-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Fix mvn warnings #10909
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Fix mvn warnings #10909
Conversation
@blueorangutan package |
@vishesh92 a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR resolves various build-time warnings by updating plugin versions, correcting Python setup scripts, and aligning Maven coordinates for MySQL Connector/J. Key changes include:
- Adjusted Python packaging scripts (
setup.py
,mvn-setup.py
) to fix type and regex warnings. - Added a minimal
README.md
for the Marvin client. - Updated Maven plugin versions (properties-maven-plugin, buildnumber-maven-plugin) and migrated MySQL Connector to
com.mysql:mysql-connector-j
.
Reviewed Changes
Copilot reviewed 12 out of 12 changed files in this pull request and generated no comments.
Show a summary per file
File | Description |
---|---|
tools/marvin/setup.py | Switched platforms from tuple to list to satisfy setuptools. |
tools/marvin/mvn-setup.py | Made regex literal raw string to avoid invalid escape warning. |
tools/marvin/README.md | Added basic project README. |
tools/devcloud4/pom.xml | Bumped properties-maven-plugin to version 1.2.0. |
tools/devcloud-kvm/pom.xml | Bumped properties-maven-plugin to version 1.2.0. |
pom.xml | Rebased MySQL connector to com.mysql:mysql-connector-j and removed duplicate. |
plugins/network-elements/tungsten/pom.xml | Updated MySQL connector coordinates for test scope. |
plugins/network-elements/globodns/pom.xml | Updated MySQL connector coordinates for test scope. |
framework/db/pom.xml | Updated MySQL connector coordinates. |
engine/storage/snapshot/pom.xml | Updated MySQL connector coordinates. |
developer/pom.xml | Bumped properties-maven-plugin to version 1.2.0. |
client/pom.xml | Switched to buildnumber-maven-plugin , updated goals and manifest entries. |
Comments suppressed due to low confidence (2)
client/pom.xml:681
- After switching to buildnumber-maven-plugin and using its
create
goal, verify that${buildNumber}
and${scmBranch}
are actually populated. The plugin may require explicit<propertyName>
or<branchName>
configuration to match these manifest entries.
<goal>create</goal>
tools/marvin/README.md:1
- [nitpick] Consider expanding this README with basic installation or quick-start instructions (e.g., dependencies, setup commands) to help new users onboard more quickly.
# Marvin
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #10909 +/- ##
=========================================
Coverage 16.52% 16.52%
Complexity 13801 13801
=========================================
Files 5717 5717
Lines 506345 506356 +11
Branches 61446 61447 +1
=========================================
+ Hits 83693 83696 +3
- Misses 413273 413282 +9
+ Partials 9379 9378 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 13486 |
@blueorangutan test |
@vishesh92 a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests |
[SF] Trillian test result (tid-13376)
|
Description
This PR fixes the below warnings which appear while building cloudstack.
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
How did you try to break this feature and the system with this change?