Skip to content

Commit d85cab1

Browse files
authored
Detail which version of JIB to use
- You need to create that property, not update it - I tested version 2.1.0, we can't know if compatibility will work on newer versions, so we should give a working number here ------- cc: @KarlErickson
1 parent 96939e8 commit d85cab1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/container-registry/container-registry-java-quickstart.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,13 +100,13 @@ Finally, you'll update your project configuration and use the command prompt to
100100

101101
1. Navigate to the completed project directory for your Spring Boot application (for example, "*C:\SpringBoot\gs-spring-boot-docker\complete*" or "*/users/robert/SpringBoot/gs-spring-boot-docker/complete*"), and open the *pom.xml* file with a text editor.
102102

103-
1. Update the `<properties>` collection in the *pom.xml* file with the following XML. Replace the placeholder with your registry name, and update the `<jib-maven-plugin.version>` value with the latest version of the [jib-maven-plugin](https://github.com/GoogleContainerTools/jib/tree/master/jib-maven-plugin).
103+
1. Update the `<properties>` collection in the *pom.xml* file with the following XML. Replace the placeholder with your registry name, and add a `<jib-maven-plugin.version>` property with value `2.1.0`, or a newer version of the [jib-maven-plugin](https://github.com/GoogleContainerTools/jib/tree/master/jib-maven-plugin).
104104

105105
```xml
106106
<properties>
107107
<docker.image.prefix><your registry name>.azurecr.io</docker.image.prefix>
108-
<jib-maven-plugin.version>1.8.0</jib-maven-plugin.version>
109108
<java.version>1.8</java.version>
109+
<jib-maven-plugin.version>2.1.0</jib-maven-plugin.version>
110110
</properties>
111111
```
112112

0 commit comments

Comments
 (0)