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

Add Maven project support #9

Merged
merged 1 commit into from Dec 16, 2021
Merged

Add Maven project support #9

merged 1 commit into from Dec 16, 2021

Conversation

dagnir
Copy link
Contributor

@dagnir dagnir commented Dec 14, 2021

Issue #, if available:

Description of changes:

This change allows this project to be built using Maven. Project build/config based on the build.gradle file.

Tested using

build-tools/bin/run_tests.sh target/Log4jHotPatch.jar ~/amazon-corretto-8.282.08.1-linux-x64
build-tools/bin/run_tests.sh target/Log4jHotPatch.jar ~/amazon-corretto-17.0.1.12.1-linux-x64

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

pom.xml Outdated Show resolved Hide resolved
pom.xml Outdated Show resolved Hide resolved
pom.xml Outdated Show resolved Hide resolved
@yishaigalatzer
Copy link

@dagnir can we update this to match the gradle build, and update/resolve #18 against it?

@dagnir
Copy link
Contributor Author

dagnir commented Dec 15, 2021

Hey @yishaigalatzer, since the project has been converted to a Gradle project, this PR is no longer necessary since the publish to Maven can be achieved using the Gradle project.

@dagnir dagnir closed this Dec 15, 2021
@dagnir
Copy link
Contributor Author

dagnir commented Dec 15, 2021

Okay, discussing further with @yishaigalatzer looks like we do want a Maven version of this project as well for distributing outside of Maven central.

@dagnir
Copy link
Contributor Author

dagnir commented Dec 15, 2021

Updated the project to mirror the current gradle build file

@dagnir dagnir changed the title Convert to Maven project Add Maven project support Dec 15, 2021
@alvdavi
Copy link
Contributor

alvdavi commented Dec 15, 2021

This PR is trying to undo #27, probably unintended

@alvdavi alvdavi self-requested a review December 15, 2021 22:54
Copy link
Contributor

@alvdavi alvdavi left a comment

Choose a reason for hiding this comment

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

Ensure this PR does not rollback #27

@dagnir
Copy link
Contributor Author

dagnir commented Dec 16, 2021

Ensure this PR does not rollback #27

Rollback was to support older versions of ASM. Discussed offline, will update this once the ASM lib is included directly in the project.

pom.xml Outdated Show resolved Hide resolved
pom.xml Outdated Show resolved Hide resolved
@alvdavi alvdavi merged commit b7eb072 into corretto:main Dec 16, 2021
@alvdavi alvdavi mentioned this pull request Dec 16, 2021
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.

None yet

6 participants