You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by mg...@apache.org on 2017/11/22 08:36:10 UTC

wicket git commit: INFRA-15525 Wicket examples do not update when there is a new Docker image

Repository: wicket
Updated Branches:
  refs/heads/master e4ea6d7b4 -> d3da4e145


INFRA-15525 Wicket examples do not update when there is a new Docker image

Rename the Docker image to wicket-examples-V and the tag to a timestamp


Project: http://git-wip-us.apache.org/repos/asf/wicket/repo
Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/d3da4e14
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/d3da4e14
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/d3da4e14

Branch: refs/heads/master
Commit: d3da4e14518cced036611e880b64fc15b95d1501
Parents: e4ea6d7
Author: Martin Tzvetanov Grigorov <mg...@apache.org>
Authored: Wed Nov 22 10:34:28 2017 +0200
Committer: Martin Tzvetanov Grigorov <mg...@apache.org>
Committed: Wed Nov 22 10:34:28 2017 +0200

----------------------------------------------------------------------
 wicket-examples/pom.xml | 23 +++++++++++++++++++++--
 1 file changed, 21 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/wicket/blob/d3da4e14/wicket-examples/pom.xml
----------------------------------------------------------------------
diff --git a/wicket-examples/pom.xml b/wicket-examples/pom.xml
index 25328bd..7b3cf7e 100644
--- a/wicket-examples/pom.xml
+++ b/wicket-examples/pom.xml
@@ -293,6 +293,25 @@
 				<finalName>${warName}</finalName>
 				<plugins>
 					<plugin>
+						<groupId>org.codehaus.mojo</groupId>
+						<artifactId>buildnumber-maven-plugin</artifactId>
+						<version>1.4</version>
+						<configuration>
+							<format>{0,date,yyyyMMddHHmmss}</format>
+							<items>
+								<item>timestamp</item>
+							</items>
+						</configuration>
+						<executions>
+							<execution>
+								<phase>validate</phase>
+								<goals>
+									<goal>create</goal>
+								</goals>
+							</execution>
+						</executions>
+					</plugin>
+					<plugin>
 						<groupId>org.apache.maven.plugins</groupId>
 						<artifactId>maven-war-plugin</artifactId>
 						<configuration>
@@ -311,8 +330,8 @@
 						<artifactId>dockerfile-maven-plugin</artifactId>
 						<version>${dockerfile-maven-plugin.version}</version>
 						<configuration>
-							<repository>apache-docker-wicket-docker.bintray.io/wicket-examples</repository>
-							<tag>LATEST-8</tag>
+							<repository>apache-docker-wicket-docker.bintray.io/wicket-examples-8</repository>
+							<tag>${buildNumber}</tag>
 						</configuration>
 						<executions>
 							<execution>