Support maven deploy and docker build targets
[aai/champ.git] / champ-service-deps-janus / pom.xml
index 9bc954c..fcf019a 100644 (file)
@@ -1,3 +1,23 @@
+<!--
+============LICENSE_START=======================================================
+org.onap.aai
+================================================================================
+Copyright © 2017-2018 AT&T Intellectual Property. All rights reserved.
+Copyright © 2017-2018 Amdocs
+================================================================================
+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.
+============LICENSE_END=========================================================
+-->
 <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>
     <artifactId>champ-service-deps-janus</artifactId>
     <packaging>pom</packaging>
     <version>1.2.0-SNAPSHOT</version>
-    
-    <properties>
-        <event.client.version>1.2.0</event.client.version>
-    </properties>
 
-    <dependencies>
-         <!-- Event Bus Library. -->
-        <dependency>
-            <groupId>org.onap.aai.event-client</groupId>
-            <artifactId>event-client-api</artifactId>
-            <version>${event.client.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.onap.aai.event-client</groupId>
-            <artifactId>event-client-dmaap</artifactId>
-            <version>${event.client.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.onap.aai.event-client</groupId>
-            <artifactId>event-client-kafka</artifactId>
-            <version>${event.client.version}</version>
-        </dependency>
+    <parent>
+        <groupId>org.onap.aai</groupId>
+        <artifactId>champ</artifactId>
+        <version>1.2.0-SNAPSHOT</version>
+    </parent>
 
+    <dependencies>
         <dependency>
             <groupId>org.onap.aai</groupId>
             <artifactId>champ-janus</artifactId>
             <version>1.2.0-SNAPSHOT</version>
-            <exclusions>
-                <exclusion>
-                    <groupId>org.onap.aai.event-client</groupId>
-                    <artifactId>event-client-api</artifactId>
-                </exclusion>
-                <exclusion>
-                    <groupId>org.onap.aai.event-client</groupId>
-                    <artifactId>event-client-dmaap</artifactId>
-                </exclusion>
-                <exclusion>
-                    <groupId>org.onap.aai.event-client</groupId>
-                    <artifactId>event-client-kafka</artifactId>
-                </exclusion>
-            </exclusions>
         </dependency>
         <dependency>
             <groupId>org.janusgraph</groupId>
                             <goal>copy-dependencies</goal>
                         </goals>
                         <configuration>
-                            <outputDirectory>../champ-service/target/graph-deps/janus-deps</outputDirectory>
+                            <outputDirectory>target/graph-deps/janus-deps</outputDirectory>
                             <overWriteReleases>false</overWriteReleases>
                             <overWriteSnapshots>false</overWriteSnapshots>
                             <overWriteIfNewer>true</overWriteIfNewer>