Enable casablanca support 21/58321/1
authorKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Wed, 1 Aug 2018 05:07:13 +0000 (10:37 +0530)
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Wed, 1 Aug 2018 05:07:13 +0000 (10:37 +0530)
Issue-ID: CLI-122

Change-Id: I0ba2e5ae51332553fce353f8a035646f483861b3
Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
products/onap-casablanca/pom.xml [new file with mode: 0644]
products/pom.xml

diff --git a/products/onap-casablanca/pom.xml b/products/onap-casablanca/pom.xml
new file mode 100644 (file)
index 0000000..286c13a
--- /dev/null
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+   Copyright 2017 Huawei Technologies Co., Ltd.
+
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+ -->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
+         http://maven.apache.org/xsd/maven-4.0.0.xsd">
+    <modelVersion>4.0.0</modelVersion>
+
+    <parent>
+        <groupId>org.onap.cli</groupId>
+        <artifactId>cli-products</artifactId>
+        <version>2.0.2</version>
+    </parent>
+
+    <artifactId>cli-products-onap-casablanca</artifactId>
+    <name>cli/products/onap-casablanca</name>
+    <packaging>pom</packaging>
+
+
+    <build>
+         <pluginManagement>
+            <plugins>
+                <plugin>
+                  <groupId>org.apache.maven.plugins</groupId>
+                  <artifactId>maven-dependency-plugin</artifactId>
+                  <executions>
+                    <execution>
+                      <id>copy-artifact</id>
+                      <phase>package</phase>
+                      <goals>
+                        <goal>copy</goal>
+                      </goals>
+                      <configuration>
+                        <artifactItems>
+                            <artifactItem>
+                              <groupId>${project.groupId}</groupId>
+                              <artifactId>${project.artifactId}</artifactId>
+                              <version>${project.version}</version>
+                              <type>${project.packaging}</type>
+                            </artifactItem>
+                        </artifactItems>
+                        <!-- copy to products dependencies -->
+                        <outputDirectory>../../../products/target/lib</outputDirectory>
+                      </configuration>
+                    </execution>
+                  </executions>
+                </plugin>
+            </plugins>
+        </pluginManagement>
+    </build>
+</project>
index 44eb9f5..faa6d8e 100644 (file)
@@ -59,7 +59,8 @@
             <activeByDefault>true</activeByDefault>
           </activation>
           <modules>
-            <module>onap-beijing</module>
+            <module>onap-casablanca</module>
+            <module>onap-beijing</module>            
           </modules>
        </profile>
        <profile>