Skip to content

General cleanup#96

Merged
amichair merged 4 commits into
apache:masterfrom
amichair:general-cleanup
Apr 30, 2026
Merged

General cleanup#96
amichair merged 4 commits into
apache:masterfrom
amichair:general-cleanup

Conversation

@amichair
Copy link
Copy Markdown
Contributor

No description provided.

Comment thread parent/pom.xml
<dependency>
<groupId>jakarta.xml.bind</groupId>
<artifactId>jakarta.xml.bind-api</artifactId>
<version>4.0.5</version>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

when refactoring then you can consider creating properties

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Are you referring to the two dependencies with version 4.0.5? They are from different groups so I'm not sure they are supposed to always have an identical version. If there are other sibling dependencies that should share a version that were missed let me know and I'll extract a property.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

It's not about this version exactly - it's more a common practice in maven project to keep deps version in properties e.g. https://github.com/apache/aries/blob/trunk/parent/pom.xml#L183

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

oh, I wasn't aware of the practive to do it for every single dependency... that would add lots of lines and lots of jumping around to see the versions. I know it's used often when there are multiple sibling dependencies that all have to be updated in lockstep (like different modules from one project release), then the property makes sure none of them will be forgotten and makes the upgrades easier.

However if it is the common practice in aries to extract all versions of all deps into properties let me know and I'll do it.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Aries is a separate repo, we don't need to follow the same approach here (but it would be good) - nevertheless I approved the PR long time ago, so feel free to merge

@amichair amichair merged commit 43dba1c into apache:master Apr 30, 2026
4 checks passed
@amichair amichair deleted the general-cleanup branch April 30, 2026 20:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants