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/09/29 06:51:36 UTC

wicket git commit: INFRA-15013 VM for Apache Wicket

Repository: wicket
Updated Branches:
  refs/heads/wicket-6.x 8b9e82ffe -> 59a7de852


INFRA-15013 VM for Apache Wicket

Add Maven plugin for Wicket 6


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

Branch: refs/heads/wicket-6.x
Commit: 59a7de852bc9174907b9ff6c7c087d822c18828f
Parents: 8b9e82f
Author: Martin Tzvetanov Grigorov <mg...@apache.org>
Authored: Fri Sep 29 09:50:03 2017 +0300
Committer: Martin Tzvetanov Grigorov <mg...@apache.org>
Committed: Fri Sep 29 09:50:03 2017 +0300

----------------------------------------------------------------------
 wicket-examples/pom.xml | 45 ++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/wicket/blob/59a7de85/wicket-examples/pom.xml
----------------------------------------------------------------------
diff --git a/wicket-examples/pom.xml b/wicket-examples/pom.xml
index f002377..0f23b03 100644
--- a/wicket-examples/pom.xml
+++ b/wicket-examples/pom.xml
@@ -30,6 +30,11 @@
 		Examples displaying a component reference and several components in
 		action.
 	</description>
+
+    <properties>
+        <docker-maven-plugin.version>1.0.0</docker-maven-plugin.version>
+    </properties>
+
 	<dependencies>
 		<dependency>
 			<groupId>org.apache.wicket</groupId>
@@ -217,4 +222,44 @@
 			</plugin>
 		</plugins>
 	</build>
+
+	<profiles>
+		<profile>
+			<id>docker</id>
+			<build>
+				<plugins>
+					<plugin>
+						<groupId>com.spotify</groupId>
+						<artifactId>docker-maven-plugin</artifactId>
+						<version>${docker-maven-plugin.version}</version>
+						<configuration>
+							<imageName>apache-docker-wicket-docker.bintray.io/wicket-examples:LATEST-6</imageName>
+							<baseImage>tomcat:8.5-jre8-alpine</baseImage>
+							<resources>
+								<resource>
+									<targetPath>/usr/local/tomcat/webapps</targetPath>
+									<directory>${project.build.directory}</directory>
+									<include>wicket-examples.war</include>
+								</resource>
+							</resources>
+							<forceTags>true</forceTags>
+							<imageTags>
+								<imageTag>LATEST-6</imageTag>
+							</imageTags>
+						</configuration>
+						<executions>
+							<execution>
+								<id>build</id>
+								<goals>
+									<goal>build</goal>
+								</goals>
+								<phase>install</phase>
+							</execution>
+						</executions>
+					</plugin>
+				</plugins>
+			</build>
+		</profile>
+	</profiles>
+
 </project>