Skip to content

Use project version on pom dependencies#8529

Merged
shwstppr merged 2 commits into
apache:mainfrom
shapeblue:fix-xml-hardoceded-vrsions
Jan 18, 2024
Merged

Use project version on pom dependencies#8529
shwstppr merged 2 commits into
apache:mainfrom
shapeblue:fix-xml-hardoceded-vrsions

Conversation

@nvazquez
Copy link
Copy Markdown
Contributor

Description

This PR fixes the POM dependencies from a hardcoded value to the project.version property on dependencies

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)
  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (improves an existing feature and functionality)
  • Cleanup (Code refactoring and cleanup, that may add test cases)
  • build/CI

Feature/Enhancement Scale or Bug Severity

Feature/Enhancement Scale

  • Major
  • Minor

Bug Severity

  • BLOCKER
  • Critical
  • Major
  • Minor
  • Trivial

Screenshots (if appropriate):

How Has This Been Tested?

How did you try to break this feature and the system with this change?

@nvazquez
Copy link
Copy Markdown
Contributor Author

@blueorangutan package

Copy link
Copy Markdown
Contributor

@shwstppr shwstppr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code LGTM

@codecov
Copy link
Copy Markdown

codecov Bot commented Jan 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (c3b77cb) 18.28% compared to head (58b5100) 30.81%.
Report is 2 commits behind head on main.

Additional details and impacted files
@@              Coverage Diff              @@
##               main    #8529       +/-   ##
=============================================
+ Coverage     18.28%   30.81%   +12.53%     
- Complexity    16826    33998    +17172     
=============================================
  Files          4848     5341      +493     
  Lines        324301   374973    +50672     
  Branches      45561    54546     +8985     
=============================================
+ Hits          59290   115561    +56271     
+ Misses       256437   244134    -12303     
- Partials       8574    15278     +6704     
Flag Coverage Δ
simulator-marvin-tests 24.70% <ø> (+6.41%) ⬆️
uitests 4.39% <ø> (?)
unit-tests 16.49% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@nvazquez
Copy link
Copy Markdown
Contributor Author

@blueorangutan package

@blueorangutan
Copy link
Copy Markdown

@nvazquez 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.

@DaanHoogland
Copy link
Copy Markdown
Contributor

looks good and if it works fine, but why these four? looking for ".*" gives a lot more occurrences of hardcoded project versions (107+ in my current 4.18 workspace)

@nvazquez
Copy link
Copy Markdown
Contributor Author

@DaanHoogland these were only on dependencies, could be fixed as well for the parent pom definition but that may be conflicting and require more testing - I can test it and propose it for 4.20 on a separate PR

Copy link
Copy Markdown
Member

@weizhouapache weizhouapache left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nvazquez
good

there is one more in
./plugins/affinity-group-processors/non-strict-host-anti-affinity/pom.xml

@nvazquez
Copy link
Copy Markdown
Contributor Author

Thanks @weizhouapache, added

@nvazquez
Copy link
Copy Markdown
Contributor Author

@blueorangutan package

@blueorangutan
Copy link
Copy Markdown

@nvazquez 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.

@shwstppr
Copy link
Copy Markdown
Contributor

Packaging and GH CI should be enough here @nvazquez?

@nvazquez
Copy link
Copy Markdown
Contributor Author

LGTM @shwstppr

@blueorangutan
Copy link
Copy Markdown

Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 8360

@shwstppr shwstppr added this to the 4.19.0.0 milestone Jan 18, 2024
@shwstppr shwstppr merged commit 8d42ca8 into apache:main Jan 18, 2024
@shwstppr shwstppr deleted the fix-xml-hardoceded-vrsions branch January 18, 2024 14:46
dhslove pushed a commit to ablecloud-team/ablestack-cloud that referenced this pull request Jan 26, 2024
This PR fixes the POM dependencies from a hardcoded value to the project.version property on dependencies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants