summaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/docker/pom.xml37
-rw-r--r--packages/docker/src/main/docker/docker-files/chef-configs/readme.md1
2 files changed, 37 insertions, 1 deletions
diff --git a/packages/docker/pom.xml b/packages/docker/pom.xml
index 8129336108..f011618f5d 100644
--- a/packages/docker/pom.xml
+++ b/packages/docker/pom.xml
@@ -24,6 +24,43 @@
<finalName>${project.artifactId}-${project.version}</finalName>
<plugins>
<plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-scm-plugin</artifactId>
+ <version>1.9.5</version>
+ <executions>
+ <execution>
+ <id>chef-repo-checkout</id>
+ <goals>
+ <goal>checkout</goal>
+ </goals>
+ <phase>initialize</phase>
+ <configuration>
+ <connectionUrl>scm:git:ssh://gerrit.openecomp.org:29418/mso/chef-repo</connectionUrl>
+ <checkoutDirectory>src/main/docker/docker-files/chef-configs/chef-repo</checkoutDirectory>
+ <scmVersion>master</scmVersion>
+ <scmVersionType>branch</scmVersionType>
+ <skipCheckoutIfExists>true</skipCheckoutIfExists>
+ <pushChanges>false</pushChanges>
+ </configuration>
+ </execution>
+ <execution>
+ <id>mso-config-checkout</id>
+ <goals>
+ <goal>checkout</goal>
+ </goals>
+ <phase>initialize</phase>
+ <configuration>
+ <connectionUrl>scm:git:ssh://gerrit.openecomp.org:29418/mso/mso-config</connectionUrl>
+ <checkoutDirectory>src/main/docker/docker-files/chef-configs/mso-config</checkoutDirectory>
+ <scmVersion>master</scmVersion>
+ <scmVersionType>branch</scmVersionType>
+ <skipCheckoutIfExists>true</skipCheckoutIfExists>
+ <pushChanges>false</pushChanges>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
<groupId>io.fabric8</groupId>
<artifactId>docker-maven-plugin</artifactId>
<version>0.16.5</version>
diff --git a/packages/docker/src/main/docker/docker-files/chef-configs/readme.md b/packages/docker/src/main/docker/docker-files/chef-configs/readme.md
deleted file mode 100644
index 6d42de8d23..0000000000
--- a/packages/docker/src/main/docker/docker-files/chef-configs/readme.md
+++ /dev/null
@@ -1 +0,0 @@
-Please clone the 'chef-repo' and 'mso-config' repository here before building images.