Skip to content

Commit

Permalink
Merge branch 'master' into dependabot/gradle/org.apache.maven-maven-c…
Browse files Browse the repository at this point in the history
…ompat-3.9.4
  • Loading branch information
alicejli authored Sep 8, 2023
2 parents 3201f63 + 54e5c0f commit 562e2e8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,10 @@ To run select integration tests, use `--tests=<testPattern>`, see [gradle docs](

# Development Tips

## Java version

Use Java 8 or 11 for development. https://sdkman.io/ is a helpful tool to switch between Java versions.

## Configuring Eclipse

Although jib is a mix of Gradle and Maven projects, we build everything using one
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ project.ext.dependencyStrings = [
MOCKITO_CORE: 'org.mockito:mockito-core:4.11.0',
SISU_PLEXUS: 'org.eclipse.sisu:org.eclipse.sisu.plexus:0.3.5',
SLF4J_API: 'org.slf4j:slf4j-api:2.0.7',
SLF4J_SIMPLE: 'org.slf4j:slf4j-simple:2.0.7',
SLF4J_SIMPLE: 'org.slf4j:slf4j-simple:2.0.9',
SYSTEM_RULES: 'com.github.stefanbirkner:system-rules:1.19.0',
JBCRYPT: 'org.mindrot:jbcrypt:0.4',
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ public void testParse_incompatibleCredentialOptions(String[] authArgs) {
new Jar(), ArrayUtils.addAll(authArgs, "--target=ignored", "my-app.jar")));
assertThat(meae)
.hasMessageThat()
.containsMatch("^Error: (--(from-|to-)?credential-helper|\\[--username)");
.containsMatch("^Error: (\\[)*(--(from-|to-)?credential-helper|\\[--(username|password))");
}

@Test
Expand Down

0 comments on commit 562e2e8

Please sign in to comment.