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

Make all plugin and dependencies managed in the parent pom.xml #65

Merged

Conversation

Alex-Vol-Amz
Copy link
Contributor

This is a well known Maven technique to simplify managing versions in a package with submodules. Most of the plugins and dependencies are placed in the top level pom.xml and versions can be managed either with dependencyManagement or properties where needed.

The RPDK plugin needs to be executed in the context of the module it is working for so we could not consolidate that too at the top pom.xml.

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

This is a well known Maven technique to simplify managing versions in a
package with submodules. Most of the plugins and dependencies are placed
in the top level pom.xml and versions can be managed either with
dependencyManagement or properties where needed.

The RPDK plugin needs to be executed in the context of the module it is
working for so we could not consolidate that too at the top pom.xml.
Copy link
Contributor

@aws-sde aws-sde left a comment

Choose a reason for hiding this comment

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

Thanks for looking into how to do this!

<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<cfn.generate.args/>
<!-- Keep all module versions here -->
Copy link
Contributor

Choose a reason for hiding this comment

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

Nice! This is more readable and easier to update.

@Alex-Vol-Amz Alex-Vol-Amz merged commit 29d83a7 into aws-cloudformation:main Jul 8, 2024
8 checks passed
@Alex-Vol-Amz Alex-Vol-Amz deleted the make-better-maven-build branch July 8, 2024 17:41
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.

3 participants