New attempt to fix docker build 35/48935/1
authorDeterme, Sebastien (sd378r) <sd378r@intl.att.com>
Thu, 24 May 2018 12:51:00 +0000 (14:51 +0200)
committerDeterme, Sebastien (sd378r) <sd378r@intl.att.com>
Thu, 24 May 2018 12:51:23 +0000 (14:51 +0200)
Set the Dockerhost to localhost:2375 in order to fix the build.

Issue-ID: CLAMP-150
Change-Id: I222d5d0fa78e1186ed5dd3e012938ea61defad44
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
pom.xml

diff --git a/pom.xml b/pom.xml
index ab641a6..2001f98 100644 (file)
--- a/pom.xml
+++ b/pom.xml
                                </resources>
 
                                <plugins>
-                                       <plugin>
-                                                       <groupId>org.codehaus.mojo</groupId>
-                                                       <artifactId>exec-maven-plugin</artifactId>
-                                                       <version>1.6.0</version>
-                                                       <executions>
-                                                                       <execution>
-                                                                                       <id>docker_info</id>
-                                                                                       <phase>validate</phase>
-                                                                                       <goals>
-                                                                                                       <goal>exec</goal>
-                                                                                       </goals>
-                                                                       </execution>
-                                                       </executions>
-                                                       <configuration>
-                                                                       <executable>ps</executable>
-                                                                       <arguments>
-                                                                                       <argument>-ef</argument>
-                                                                       </arguments>
-                                                       </configuration>
-                                       </plugin>
-                                       <plugin>
-                                                       <groupId>org.apache.maven.plugins</groupId>
-                                                       <artifactId>maven-antrun-plugin</artifactId>
-                                                       <version>1.1</version>
-                                                       <executions>
-                                                                       <execution>
-                                                                                       <phase>validate</phase>
-                                                                                       <goals>
-                                                                                                       <goal>run</goal>
-                                                                                       </goals>
-                                                                                       <configuration>
-                                                                                                       <tasks>
-                                                                                                                       <echo>******** Displaying value of properties ********</echo>
-                                                                                                                       <echo>http proxy:${env.HTTP_PROXY}</echo>
-                                                                                                                       <echo>https proxy:${env.HTTPS_PROXY}</echo>
-                                                                                                       </tasks>
-                                                                                       </configuration>
-                                                                       </execution>
-                                                       </executions>
-                                       </plugin>
                                        <!-- Scan Clamp code and generate the swagger.json file with all the APIs -->
                                        <plugin>
                                                <groupId>com.sebastian-daschner</groupId>
                                                                <artifactId>docker-maven-plugin</artifactId>
                                                                <version>1.1.0</version>
                                                                <configuration>
-                                                               <dockerHost>unix:///var/run/docker.sock</dockerHost>
+                                                               <dockerHost>tcp://localhost:2375</dockerHost>
                                                                                <imageName>onap/clamp</imageName>
                                                                                <dockerDirectory>src/main/docker</dockerDirectory>
                                                                                <serverId>docker-hub</serverId>