Skip to content

Commit 29c5deb

Browse files
Merge branch 'master' into feat/image-name-and-tag-with-digest-file
2 parents a0ecd93 + 08a45ec commit 29c5deb

File tree

12 files changed

+223
-65
lines changed

12 files changed

+223
-65
lines changed

docs/README.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/_config.yml

Lines changed: 0 additions & 4 deletions
This file was deleted.

examples/dropwizard/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<dropwizard-template-config.version>1.5.0</dropwizard-template-config.version>
2727

2828
<jib.container.appRoot>/app</jib.container.appRoot>
29-
<jib-maven-plugin.version>3.4.5</jib-maven-plugin.version>
29+
<jib-maven-plugin.version>3.4.6</jib-maven-plugin.version>
3030
</properties>
3131

3232
<dependencyManagement>

examples/helloworld/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
<properties>
1111
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
12-
<jib-maven-plugin.version>3.4.5</jib-maven-plugin.version>
12+
<jib-maven-plugin.version>3.4.6</jib-maven-plugin.version>
1313
<maven-compiler-plugin.version>3.8.0</maven-compiler-plugin.version>
1414
</properties>
1515

examples/java-agent/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
<properties>
1111
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
12-
<jib-maven-plugin.version>3.4.5</jib-maven-plugin.version>
12+
<jib-maven-plugin.version>3.4.6</jib-maven-plugin.version>
1313
<maven-compiler-plugin.version>3.8.0</maven-compiler-plugin.version>
1414
<download-maven-plugin.version>1.4.2</download-maven-plugin.version>
1515
<git-commit-id-plugin.version>3.0.1</git-commit-id-plugin.version>

examples/multi-module/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
<plugin>
4242
<groupId>com.google.cloud.tools</groupId>
4343
<artifactId>jib-maven-plugin</artifactId>
44-
<version>3.4.5</version>
44+
<version>3.4.6</version>
4545
</plugin>
4646
</plugins>
4747
</pluginManagement>

examples/spring-boot/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
<plugin>
3030
<groupId>com.google.cloud.tools</groupId>
3131
<artifactId>jib-maven-plugin</artifactId>
32-
<version>3.4.5</version>
32+
<version>3.4.6</version>
3333
</plugin>
3434
</plugins>
3535
</build>

jib-maven-plugin/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ All notable changes to this project will be documented in this file.
99

1010
### Fixed
1111

12+
## 3.4.6
13+
14+
### Changed
15+
- Update retrieval of Maven properties to use the following order: user, project, system [#4344](https://github.com/GoogleContainerTools/jib/issues/4344)
16+
1217
## 3.4.5
1318

1419
### Fixed

jib-maven-plugin/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ For information about the project, see the [Jib project README](../README.md).
2727
* [Additional Build Artifacts](#additional-build-artifacts)
2828
* [Multi Module Projects](#multi-module-projects)
2929
* [Extended Usage](#extended-usage)
30-
* [System Properties](#system-properties)
30+
* [Configuration Properties](#configuration-properties)
3131
* [Global Jib Configuration](#global-jib-configuration)
3232
* [Example](#example)
3333
* [Adding Arbitrary Files to the Image](#adding-arbitrary-files-to-the-image)
@@ -48,15 +48,15 @@ For information about the project, see the [Jib project README](../README.md).
4848
You can containerize your application easily with one command:
4949

5050
```shell
51-
mvn compile com.google.cloud.tools:jib-maven-plugin:3.4.5:build -Dimage=<MY IMAGE>
51+
mvn compile com.google.cloud.tools:jib-maven-plugin:3.4.6:build -Dimage=<MY IMAGE>
5252
```
5353

5454
This builds and pushes a container image for your application to a container registry. *If you encounter authentication issues, see [Authentication Methods](#authentication-methods).*
5555

5656
To build to a Docker daemon, use:
5757

5858
```shell
59-
mvn compile com.google.cloud.tools:jib-maven-plugin:3.4.5:dockerBuild
59+
mvn compile com.google.cloud.tools:jib-maven-plugin:3.4.6:dockerBuild
6060
```
6161

6262
If you would like to set up Jib as part of your Maven build, follow the guide below.
@@ -74,7 +74,7 @@ In your Maven Java project, add the plugin to your `pom.xml`:
7474
<plugin>
7575
<groupId>com.google.cloud.tools</groupId>
7676
<artifactId>jib-maven-plugin</artifactId>
77-
<version>3.4.5</version>
77+
<version>3.4.6</version>
7878
<configuration>
7979
<to>
8080
<image>myimage</image>
@@ -345,9 +345,9 @@ Property | Type | Default | Description
345345
`executable` | string | `docker` | Sets the path to the Docker executable that is called to load the image into the Docker daemon. **Please note**: Users are responsible for ensuring that the Docker path passed in is valid and has the right permissions to be executed.
346346
`environment` | map | *None* | Sets environment variables used by the Docker executable.
347347

348-
#### System Properties
348+
#### Configuration Properties
349349

350-
Each of these parameters is configurable via commandline using system properties. Jib's system properties follow the same naming convention as the configuration parameters, with each level separated by dots (i.e. `-Djib.parameterName[.nestedParameter.[...]]=value`). Some examples are below:
350+
Each of these parameters is configurable via commandline using properties. Jib's properties follow the same naming convention as the configuration parameters, with each level separated by dots (i.e. `-Djib.parameterName[.nestedParameter.[...]]=value`). Some examples are below:
351351
```shell
352352
mvn compile jib:build \
353353
-Djib.to.image=myregistry/myimage:latest \
@@ -360,7 +360,7 @@ mvn compile jib:dockerBuild \
360360
-Djib.container.args=arg1,arg2,arg3
361361
```
362362

363-
The following table contains additional system properties that are not available as build configuration parameters:
363+
The following table contains additional properties that are not available as build configuration parameters:
364364

365365
Property | Type | Default | Description
366366
--- | --- | --- | ---

jib-maven-plugin/gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
version = 3.4.6-SNAPSHOT
1+
version = 3.4.7-SNAPSHOT

0 commit comments

Comments
 (0)