-
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
Evaluate settings.xml later, and per id #1712
Merged
Merged
Conversation
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
- Also adds in SettingsFixture for tests that want to use an actual instance of settings.xml and optionally can create a SettingsDecrypter from a settings-security.xml
loosebazooka
force-pushed
the
evaluateMavenSettingsLater
branch
from
May 10, 2019 21:56
24917e3
to
d4d331e
Compare
chanseokoh
reviewed
May 10, 2019
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.
I'll go over this again next week, but here's what I've found after taking a quick look.
...ins-common/src/main/java/com/google/cloud/tools/jib/plugins/common/InferredAuthProvider.java
Show resolved
Hide resolved
...ins-common/src/main/java/com/google/cloud/tools/jib/plugins/common/InferredAuthProvider.java
Show resolved
Hide resolved
...ns-common/src/main/java/com/google/cloud/tools/jib/plugins/common/InferredAuthException.java
Outdated
Show resolved
Hide resolved
jib-maven-plugin/src/test/resources/maven/settings/settings-security.xml
Show resolved
Hide resolved
jib-maven-plugin/src/main/java/com/google/cloud/tools/jib/maven/ProxyProvider.java
Outdated
Show resolved
Hide resolved
jib-maven-plugin/src/main/java/com/google/cloud/tools/jib/maven/ProxyProvider.java
Outdated
Show resolved
Hide resolved
jib-maven-plugin/src/main/java/com/google/cloud/tools/jib/maven/ProxyProvider.java
Show resolved
Hide resolved
jib-maven-plugin/src/main/java/com/google/cloud/tools/jib/maven/ProxyProvider.java
Outdated
Show resolved
Hide resolved
- Also comments, spelling, copyright
chanseokoh
reviewed
May 13, 2019
jib-maven-plugin/src/main/java/com/google/cloud/tools/jib/maven/ProxyProvider.java
Outdated
Show resolved
Hide resolved
jib-maven-plugin/src/main/java/com/google/cloud/tools/jib/maven/ProxyProvider.java
Outdated
Show resolved
Hide resolved
...lugin/src/test/java/com/google/cloud/tools/jib/maven/MavenSettingsServerCredentialsTest.java
Outdated
Show resolved
Hide resolved
jib-maven-plugin/src/test/java/com/google/cloud/tools/jib/maven/ProxyProviderTest.java
Outdated
Show resolved
Hide resolved
jib-maven-plugin/src/test/resources/maven/settings/settings-security.xml
Show resolved
Hide resolved
...ins-common/src/main/java/com/google/cloud/tools/jib/plugins/common/InferredAuthProvider.java
Outdated
Show resolved
Hide resolved
chanseokoh
reviewed
May 13, 2019
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.
One fix, and LGTM.
jib-maven-plugin/src/main/java/com/google/cloud/tools/jib/maven/MavenSettingsProxyProvider.java
Outdated
Show resolved
Hide resolved
chanseokoh
approved these changes
May 13, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
use an actual instance of settings.xml and optionally
can create a SettingsDecrypter from a settings-security.xml
Function<String, Optional<AuthProvider>>
was turned in an interfaceInferredAuth
, so we could handle exceptions better.fixes #1709