Changes for cdt over https
[appc/deployment.git] / cdt / pom.xml
index 0abe90b..bd408b5 100644 (file)
@@ -42,7 +42,7 @@ limitations under the License.
     <properties>
         <image.name>onap/appc-cdt-image</image.name>
         <appc.release.version>1.4.0</appc.release.version>
-        <appc.snapshot.version>1.4.1-SNAPSHOT</appc.snapshot.version>
+        <appc.snapshot.version>1.5.0-SNAPSHOT</appc.snapshot.version>
                 <!--This version will be over-ridden by jenkins 
                     injecting the version.properties variable file during docker build-->
         <appc.docker.staging.version>1.0.0</appc.docker.staging.version>
@@ -96,6 +96,44 @@ limitations under the License.
                             </resources>
                         </configuration>
                     </execution>
+                    <execution>
+                        <id>copy-resources</id>
+                        <goals>
+                            <goal>copy-resources</goal>
+                        </goals>
+                        <phase>validate</phase>
+                        <configuration>
+                            <outputDirectory>${basedir}/target/docker-stage</outputDirectory>
+                            <resources>
+                                <resource>
+                                    <directory>src/main/resources</directory>
+                                    <includes>
+                                        <include>nginx.conf</include>
+                                    </includes>
+                                    <filtering>false</filtering>
+                                </resource>
+                            </resources>
+                        </configuration>
+                    </execution>
+                    <execution>
+                        <id>copy-certs</id>
+                        <goals>
+                            <goal>copy-resources</goal>
+                        </goals>
+                        <phase>validate</phase>
+                        <configuration>
+                            <outputDirectory>${basedir}/target/docker-stage/cert</outputDirectory>
+                            <resources>
+                                <resource>
+                                    <directory>src/main/resources/cert</directory>
+                                    <includes>
+                                        <include>*.pem</include>
+                                    </includes>
+                                    <filtering>false</filtering>
+                                </resource>
+                            </resources>
+                        </configuration>
+                    </execution>
                 </executions>
             </plugin>
             <plugin>