Skip to content

[6.x.x] Fix duplicate compilation in CDM builds #4763

Merged
hugohills-regnosys merged 2 commits into
finos:6.x.xfrom
rosetta-models:build-improvements-6xx
May 27, 2026
Merged

[6.x.x] Fix duplicate compilation in CDM builds #4763
hugohills-regnosys merged 2 commits into
finos:6.x.xfrom
rosetta-models:build-improvements-6xx

Conversation

@hugohills-regnosys
Copy link
Copy Markdown
Contributor

4717: Made build improvements to remove duplicate compilation of the rosetta sources and preventing javadoc generation for each build, should only happen on release with profile (#4748)

…rosetta sources and preventing javadoc generation for each build, should only happen on release with profile (finos#4748)

Co-authored-by: Hugo Hills <39260692+hugohills-regnosys@users.noreply.github.com>
@hugohills-regnosys hugohills-regnosys requested a review from a team as a code owner May 26, 2026 20:25
@hugohills-regnosys hugohills-regnosys added the technical Eg DSL, mapping, or reference data update; Individual maintainer may approve; TAWG may be consulted label May 26, 2026
@hugohills-regnosys hugohills-regnosys added this to the 6.21.0 milestone May 26, 2026
@hugohills-regnosys hugohills-regnosys linked an issue May 26, 2026 that may be closed by this pull request
@hugohills-regnosys
Copy link
Copy Markdown
Contributor Author

hugohills-regnosys commented May 26, 2026

Infrastructure - Improve CDM Builds

Background

Several improvements have been identified for the CDM build process:

  • Rosetta sources are currently compiled twice
  • Javadocs are generated for every build, even though they are only required for releases

For more details, see GitHub issue: #4717.

What is being released?

The Maven POM has been updated to:

  • Remove the duplicate compilation step
  • Configure Javadoc generation to run only for release builds

These changes typically reduce Maven build times for contributors by approximately 60%.

This release updates third-party software libraries to comply with the “Common Vulnerabilities and Exposures” standard (CVE, https://www.cve.org/):

Review directions

Changes can be reviewed in PR: #4763

@hugohills-regnosys hugohills-regnosys merged commit 342be68 into finos:6.x.x May 27, 2026
7 checks passed
@hugohills-regnosys hugohills-regnosys deleted the build-improvements-6xx branch May 27, 2026 08:41
dschwartznyc added a commit to cdmflow/common-domain-model that referenced this pull request May 28, 2026
[6.x.x] Fix duplicate compilation in CDM builds  (finos#4763)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

technical Eg DSL, mapping, or reference data update; Individual maintainer may approve; TAWG may be consulted

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Build Improvements

3 participants