GeezerVison is showing github.com — feat: introduce Maven configuration for GraalVM testing by dzou · Pull Request #314 · googleapis/java-shared-config
This repository was archived by the owner on Sep 30, 2026. It is now read-only.
Conversation
dzou
commented
Sep 16, 2021
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
This PR introduces Maven project and Kokoro configuration for GraalVM native image testing.
With guidance from @lesv and @Neenu1995, our plan is to introduce changes that will be no-op (these change should not affect existing projects) while allowing individual repositories to opt-in GraalVM testing.
Summary of the changes proposed:
- pom.xml - Adds an additional Maven profile (named
native) which contains the dependencies and plugins to run all unit and integration tests compiled with GraalVM with a single command (mvn test -Pnative -Penable-integration-tests). This should also be a transparent change for existing projects as the changes are only enabled with activation of the profile.
A demo of this performed on the Secret Manager repo: googleapis/java-secretmanager#583
cc/ @suztomo
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Warning: This pull request is touching the following templated files:
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
dzou
changed the title
Introduce job configuration for GraalVM integration testing
feat: introduce Maven configuration for GraalVM integration testing
Sep 16, 2021
dzou
changed the title
feat: introduce Maven configuration for GraalVM integration testing
feat: introduce Maven configuration for GraalVM testing
Sep 16, 2021
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.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Comment on lines
+844
to
+851
|
|
<repositories>
|
|
|
<repository>
|
|
|
<id>snapshots-repo</id>
|
|
|
<url>https://google.oss.sonatype.org/content/repositories/snapshots</url>
|
|
|
<releases><enabled>false</enabled></releases>
|
|
|
<snapshots><enabled>true</enabled></snapshots>
|
|
|
</repository>
|
|
|
</repositories>
|
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.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
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.
Can't you just use the -Pallow-snapshots
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
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.
Done, I removed this. We will no longer be using snapshots as we will try to eventually pursue putting configuration into java-core or one of the shared dependencies.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Waiting to change the artifact name before merging.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Waiting to change the artifact name before merging.
Artifact renamed to native-image-support and updated in this commit: 7926bd4
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Jan 4, 2022
Reviewers
1 more reviewer
lesv
lesv approved these changes
Reviewers whose approvals may not affect merge requirements
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Labels
cla: yes
This human has signed the Contributor License Agreement.
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
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.
|