[NO ISSUE] asterix-docker profilization

Change-Id: I71eb349de45b4d424e171d82e1ae598235b04b48
Reviewed-on: https://asterix-gerrit.ics.uci.edu/2945
Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Michael Blow <mblow@apache.org>
diff --git a/asterixdb/asterix-docker/pom.xml b/asterixdb/asterix-docker/pom.xml
index fd4a61f..0da3620 100644
--- a/asterixdb/asterix-docker/pom.xml
+++ b/asterixdb/asterix-docker/pom.xml
@@ -39,25 +39,30 @@
     </license>
   </licenses>
 
-  <build>
-    <plugins>
-      <plugin>
-        <groupId>com.spotify</groupId>
-        <artifactId>docker-maven-plugin</artifactId>
-        <version>0.2.11</version>
-        <configuration>
-          <imageName>asterixdb/demo</imageName>
-          <dockerDirectory>docker</dockerDirectory>
-          <resources>
-            <resource>
-              <targetPath>/</targetPath>
-              <directory>../asterix-server/target/</directory>
-              <include>asterix-server-${project.version}-binary-assembly.zip</include>
-            </resource>
-          </resources>
-        </configuration>
-      </plugin>
-    </plugins>
-  </build>
+  <profiles>
+    <profile>
+        <id>docker</id>
+        <build>
+          <plugins>
+            <plugin>
+              <groupId>com.spotify</groupId>
+              <artifactId>docker-maven-plugin</artifactId>
+              <version>0.2.11</version>
+              <configuration>
+                <imageName>asterixdb/demo</imageName>
+                <dockerDirectory>docker</dockerDirectory>
+                <resources>
+                  <resource>
+                    <targetPath>/</targetPath>
+                    <directory>../asterix-server/target/</directory>
+                    <include>asterix-server-${project.version}-binary-assembly.zip</include>
+                  </resource>
+                </resources>
+              </configuration>
+            </plugin>
+          </plugins>
+        </build>
+    </profile>
+  </profiles>
 
 </project>
diff --git a/asterixdb/pom.xml b/asterixdb/pom.xml
index eaee996..d8aab3d 100644
--- a/asterixdb/pom.xml
+++ b/asterixdb/pom.xml
@@ -786,6 +786,7 @@
     <module>asterix-test-framework</module>
     <module>asterix-maven-plugins</module>
     <module>asterix-server</module>
+    <module>asterix-docker</module>
     <module>asterix-doc</module>
     <module>asterix-fuzzyjoin</module>
     <module>asterix-replication</module>