You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streams.apache.org by sb...@apache.org on 2015/02/20 18:18:03 UTC

incubator-streams-examples git commit: added docker profile/plugin

Repository: incubator-streams-examples
Updated Branches:
  refs/heads/STREAMS-289 c923602ce -> 858e054d7


added docker profile/plugin


Project: http://git-wip-us.apache.org/repos/asf/incubator-streams-examples/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-streams-examples/commit/858e054d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-streams-examples/tree/858e054d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-streams-examples/diff/858e054d

Branch: refs/heads/STREAMS-289
Commit: 858e054d7bf69ba52053488fa0a2f0e7831e7e44
Parents: c923602
Author: sblackmon <sb...@apache.org>
Authored: Fri Feb 20 11:18:00 2015 -0600
Committer: sblackmon <sb...@apache.org>
Committed: Fri Feb 20 11:18:00 2015 -0600

----------------------------------------------------------------------
 local/mongo-elasticsearch-sync/pom.xml | 40 +++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-streams-examples/blob/858e054d/local/mongo-elasticsearch-sync/pom.xml
----------------------------------------------------------------------
diff --git a/local/mongo-elasticsearch-sync/pom.xml b/local/mongo-elasticsearch-sync/pom.xml
index 8e900a9..79470ee 100644
--- a/local/mongo-elasticsearch-sync/pom.xml
+++ b/local/mongo-elasticsearch-sync/pom.xml
@@ -310,4 +310,44 @@
             </plugin>
         </plugins>
     </build>
+
+    <profiles>
+        <profile>
+            <id>docker</id>
+            <build>
+                <plugins>
+                    <plugin>
+                        <!-- The Docker Maven plugin is used to create docker image with the fat jar -->
+                        <groupId>org.jolokia</groupId>
+                        <artifactId>docker-maven-plugin</artifactId>
+                        <version>0.11.0</version>
+                        <configuration>
+                            <images>
+
+                                <image>
+                                    <alias>${project.artifactId}</alias>
+                                    <name>${project.artifactId}:${project.version}</name>
+                                    <build>
+                                        <from>dockerfile/java:oracle-java8</from>
+                                        <assembly>
+                                            <basedir>/</basedir>
+                                            <descriptorRef>artifact</descriptorRef>
+                                        </assembly>
+                                        <!-- Default command for the build image -->
+                                    </build>
+
+                                </image>
+
+                            </images>
+                        </configuration>
+
+                    </plugin>
+
+                </plugins>
+            </build>
+            <activation>
+                <activeByDefault/>
+            </activation>
+        </profile>
+    </profiles>
 </project>
\ No newline at end of file