-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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 support for containerizing packaged JAR #1746
Merged
Merged
Changes from all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
af2e106
wip
chanseokoh bc98dac
wip
chanseokoh 759a8b7
Merge branch 'master' into jar-experiment
chanseokoh 526a1ba
Add containerizingMode config
chanseokoh 17d5dd0
Refactor code
chanseokoh e63bc7e
fix
chanseokoh 4ec572d
Update example
chanseokoh 56562cc
fix example
chanseokoh a7728fa
Merge branch 'master' into jar-experiment
chanseokoh 4d8e81c
Remove debug output
chanseokoh bee3268
Fix existing tests
chanseokoh c8af0ff
wip
chanseokoh 13db40c
Add tests
chanseokoh 17d5ebc
Merge remote-tracking branch 'origin/master' into jar-experiment
chanseokoh c0d2c0b
Merge remote-tracking branch 'origin/master' into jar-experiment
chanseokoh 9a33978
Set appRoot / update error message
chanseokoh 8135c97
Add tests
chanseokoh 24ee519
Refactor code
chanseokoh 8fd5d18
Merge branch 'master' into jar-experiment
chanseokoh f0af7af
Merge remote-tracking branch 'origin/master' into jar-experiment
chanseokoh 4c715c2
Add tests
chanseokoh c73eac3
Add integration test
chanseokoh 185ed13
Define constant for containerizingMode
chanseokoh 6ff148f
Specialize error message on mode / refactor code
chanseokoh 2c34f80
Remove unused method introduced briefly
chanseokoh 9365ae7
Get generated JAR in various ways
chanseokoh c6e5f7c
mainArtifact should be JAR
chanseokoh dc83f69
Target maven-jar-plugin's JAR path
chanseokoh 279cb1e
Define constant for default mode (exploded)
chanseokoh 32edbba
Error on "packaged" mode with WAR
chanseokoh 19c41e7
Merge remote-tracking branch 'origin/master' into jar-experiment
chanseokoh ea170e1
Fix test
chanseokoh bbfff1c
Do not use context classloader
chanseokoh be7610b
Merge remote-tracking branch 'origin/master' into jar-experiment
chanseokoh File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The previous code did not work inside a JAR, as it was complaining that there is no "file system" inside it. The new code works both inside and outside a JAR.