Skip to content
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

Flatten all POMs for deployment #209

Merged
merged 3 commits into from
Mar 1, 2022
Merged

Flatten all POMs for deployment #209

merged 3 commits into from
Mar 1, 2022

Conversation

remcowesterhoud
Copy link
Contributor

@remcowesterhoud remcowesterhoud commented Feb 24, 2022

Description

Introduces the flatten-maven-plugin in the build process. The projects are flattened according to the ossrh rules.

Related issues

closes #208

Definition of Done

Not all items need to be done depending on the issue and the pull request.

Code changes:

  • The changes are backwards compatibility with previous versions
  • If it fixes a bug then PRs are created to backport the fix

Testing:

  • There are unit/integration tests that verify all acceptance criterias of the issue
  • New tests are written to ensure backwards compatibility with further versions
  • The behavior is tested manually

Documentation:

  • Javadoc has been written
  • The documentation is updated

Introduces the `flatten-maven-plugin` in the build process. The projects are flattened according to the `ossrh` rules.
@github-actions
Copy link

github-actions bot commented Feb 24, 2022

Unit Test Results

124 files  124 suites   5m 42s ⏱️
321 tests 321 ✔️ 0 💤 0
772 runs  772 ✔️ 0 💤 0

Results for commit 34366f9.

♻️ This comment has been updated with latest results.

@remcowesterhoud
Copy link
Contributor Author

remcowesterhoud commented Feb 28, 2022

@korthout I think Nicolas didn't get around to reviewing this before his vacation. We did want this to part of alpha2. Since you also reviewed the same change in Zeebe could have have quick look at this one as well? It's the same change, but smaller.

@remcowesterhoud remcowesterhoud requested review from korthout and removed request for npepinpe February 28, 2022 15:51
@korthout
Copy link
Member

korthout commented Feb 28, 2022

Sure. I'm currently finishing up camunda/camunda#8833. I'll have a look once that is done.

EDIT: I'll have a look tomorrow morning

Copy link
Member

@korthout korthout left a comment

Choose a reason for hiding this comment

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

Looking good @remcowesterhoud

I have a few suggestions, but nothing blocking 👍

@remcowesterhoud
Copy link
Contributor Author

@korthout Thanks for the review 🙇

I've added descriptions to all modules and removed the append.children property like you suggested.

The flatten-maven-plugin uses the closest description it can find to put in the flattened pom. Since none of the modules contained a description it would take the one of the community-hub-release-parent. We don't want this descrition, so to solve it a description has been added to each module.
The combine.children property is not useful here. This is because none of the child modules add any configuration to this plugin, so there is never any configuration to append.
@remcowesterhoud remcowesterhoud merged commit 16b5a85 into main Mar 1, 2022
@remcowesterhoud remcowesterhoud deleted the 208-flatten-pom branch March 1, 2022 13:39
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.

Introduce flatten pom
2 participants