summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDeterme, Sebastien (sd378r) <sd378r@intl.att.com>2018-05-24 13:51:22 +0200
committerDeterme, Sebastien (sd378r) <sd378r@intl.att.com>2018-05-24 13:51:22 +0200
commit615717632e9f3f5e5cbc3a9890d8d76a99e0f775 (patch)
tree2e2a7e46005de94896f4facbaaa3949d3d772bf8
parent6441224b04ae08ac68712deb79d5446ef8535daa (diff)
Attempt to fix docker build
Attempt to fix the docker build due to dockerHost not reachable Issue-ID: CLAMP-150 Change-Id: Ibc1a0e31ba11702831f79e809314d97e96663f5d Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
-rw-r--r--pom.xml42
1 files changed, 1 insertions, 41 deletions
diff --git a/pom.xml b/pom.xml
index 0f3fddc9..fd5410dd 100644
--- a/pom.xml
+++ b/pom.xml
@@ -565,47 +565,6 @@
</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>docker</executable>
- <arguments>
- <argument>info</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 property ********</echo>
- <echo>Docker host set:${env.DOCKER_HOST}</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>
@@ -808,6 +767,7 @@
<artifactId>docker-maven-plugin</artifactId>
<version>1.1.0</version>
<configuration>
+ <dockerHost>unix:///var/run/docker.sock</dockerHost>
<imageName>onap/clamp</imageName>
<dockerDirectory>src/main/docker</dockerDirectory>
<serverId>docker-hub</serverId>