Change parent version
[appc.git] / appc-adapters / appc-dmaap-adapter / appc-dmaap-adapter-bundle / pom.xml
index c37cb7e..576613b 100644 (file)
@@ -1,40 +1,76 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+  ============LICENSE_START=======================================================
+  ONAP : APPC
+  ================================================================================
+  Copyright (C) 2017-2019 AT&T Intellectual Property. All rights reserved.
+  Copyright (C) 2017 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>
        <parent>
-               <groupId>org.openecomp.appc</groupId>
-               <artifactId>appc-dmaap-adapter</artifactId>
-               <version>1.0.0-SNAPSHOT</version>
+               <groupId>org.onap.appc.parent</groupId>
+               <artifactId>binding-parent</artifactId>
+               <version>2.5.0</version>
+                <relativePath />
        </parent>
-
+        <groupId>org.onap.appc</groupId>
        <artifactId>appc-dmaap-adapter-bundle</artifactId>
        <packaging>bundle</packaging>
        <name>DMaaP Adapter - bundle</name>
 
        <dependencies>
                <dependency>
-                       <groupId>org.openecomp.appc</groupId>
+                       <groupId>org.onap.appc</groupId>
+                       <artifactId>appc-message-adapter-api</artifactId>
+                       <version>${project.version}</version>
+               </dependency>
+               <dependency>
+                       <groupId>org.onap.appc</groupId>
                        <artifactId>appc-metric-bundle</artifactId>
-                       <version>1.0.0-SNAPSHOT</version>
+                       <version>${project.version}</version>
                </dependency>
                <dependency>
-                       <groupId>org.openecomp.appc</groupId>
-                       <artifactId>appc-common</artifactId>
-                       <classifier>jar-with-dependencies</classifier>
+                       <groupId>org.onap.appc</groupId>
+                       <artifactId>appc-common-bundle</artifactId>
                        <version>${project.version}</version>
                </dependency>
 
+        <dependency>
+            <groupId>ch.qos.logback</groupId>
+            <artifactId>logback-classic</artifactId>
+            <version>${logback.version}</version>
+        </dependency>
+       <dependency>
+            <groupId>com.att.eelf</groupId>
+            <artifactId>eelf-core</artifactId>
+            <exclusions>
+                <exclusion>
+                    <groupId>ch.qos.logback</groupId>
+                    <artifactId>logback-classic</artifactId>
+                </exclusion>
+            </exclusions>
+        </dependency>
+
                <dependency>
                        <groupId>junit</groupId>
                        <artifactId>junit</artifactId>
                        <scope>test</scope>
                </dependency>
 
-               <dependency>
-                       <groupId>equinoxSDK381</groupId>
-                       <artifactId>org.eclipse.osgi</artifactId>
-               </dependency>
-
                <dependency>
                        <groupId>commons-codec</groupId>
                        <artifactId>commons-codec</artifactId>
                        <groupId>org.mockito</groupId>
                        <artifactId>mockito-core</artifactId>
                        </dependency>
+               <dependency>
+                       <groupId>org.osgi</groupId>
+                       <artifactId>org.osgi.core</artifactId>
+                       <scope>provided</scope>
+               </dependency>
                <dependency>
                        <groupId>org.powermock</groupId>
                        <artifactId>powermock-api-mockito</artifactId>
-                       <version>1.6.2</version>
                        <scope>test</scope>
                </dependency>
                <dependency>
                        <artifactId>objenesis</artifactId>
                        <version>2.2</version>
                </dependency>
-               <dependency>
-                       <groupId>org.mockito</groupId>
-                       <artifactId>mockito-all</artifactId>
-                       </dependency>
 
                <dependency>
                        <groupId>org.powermock</groupId>
                        <artifactId>powermock-module-junit4</artifactId>
-                       <version>1.6.2</version>
                        <scope>test</scope>
                </dependency>
+        <!-- <dependency>
+            <groupId>org.slf4j</groupId>
+            <artifactId>slf4j-api</artifactId>
+        </dependency>
 
+        <dependency>
+            <groupId>org.slf4j</groupId>
+            <artifactId>jcl-over-slf4j</artifactId>
+            </dependency>-->
                <dependency>
-                       <groupId>org.openecomp.sdnc.core</groupId>
+                       <groupId>org.onap.ccsdk.sli.core</groupId>
                        <artifactId>sli-common</artifactId>
                        <scope>compile</scope>
                        <!-- Added exclusion to prevent missing dependency issue on dblib -->
                        <exclusions>
                                <exclusion>
-                                       <groupId>org.openecomp.sdnc.core</groupId>
+                                       <groupId>org.onap.ccsdk.sli.core</groupId>
                                        <artifactId>dblib-provider</artifactId>
                                </exclusion>
                                <exclusion>
                </dependency>
 
                <dependency>
-                       <groupId>org.openecomp.sdnc.core</groupId>
+                       <groupId>org.onap.ccsdk.sli.core</groupId>
                        <artifactId>sli-provider</artifactId>
                        <scope>compile</scope>
                        <!-- Added exclusion to prevent missing dependency issue on dblib -->
                        <exclusions>
                                <exclusion>
-                                       <groupId>org.openecomp.sdnc.core</groupId>
+                                       <groupId>org.onap.ccsdk.sli.core</groupId>
                                        <artifactId>dblib-provider</artifactId>
                                </exclusion>
                        </exclusions>
                </dependency>
 
                <!-- DMaaP Client -->
-<!--           <dependency> -->
-<!--                   <groupId>com.att.nsa</groupId> -->
-<!--                   <artifactId>dmaapClient</artifactId> -->
-<!--                   <version>${dmaap.client.version}</version> -->
-<!--           </dependency> -->
+               <dependency> 
+                       <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId> 
+                       <artifactId>dmaapClient</artifactId>
+            <version>${dmaap.client.version}</version>
+            <classifier>jar-with-dependencies</classifier>
+               </dependency>
 
                <dependency>
                        <groupId>org.json</groupId>
                </dependency>
        </dependencies>
 
-       
-
        <build>
                <plugins>
                        <plugin>
                                <extensions>true</extensions>
                                <configuration>
                                        <instructions>
-                                               <Bundle-SymbolicName>org.openecomp.appc.adapter.dmaap</Bundle-SymbolicName>
-                                               <Bundle-Activator>org.openecomp.appc.adapter.dmaap.AppcDmaapAdapterActivator</Bundle-Activator>                         
-                                               <Export-Package>org.openecomp.appc.adapter.dmaap.*</Export-Package>
-                                               <Export-Serice>org.openecomp.appc.adapter.dmaap.EventSender</Export-Serice>
-                                               <Import-Package>org.openecomp.appc.metricservice.*,com.att.nsa.*,org.openecomp.sdnc.sli.*,org.osgi.framework.*,!org.osgi.service.event.*,org.osgi.service.*,org.osgi.util.*,org.slf4j.*,com.vmware.*,org.apache.xerces.*,javax.net.ssl.*,org.xml.sax.*,javax.xml.*,javax.naming.*,javax.crypto.*, com.sun.jersey.spi.container.servlet,org.eclipse.jetty.servlets</Import-Package>
-                                               <Embed-Dependency>*;scope=compile|runtime;artifactId=!appc-metric-bundle|sli-common|org.eclipse.osgi|slf4j-api|jcl-over-slf4j|mysql-connector-java|xml-apis|pax-*</Embed-Dependency>
+                                               <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
+                                               <Bundle-Version>${project.version}</Bundle-Version>
+                                               <!--<Bundle-SymbolicName>org.onap.appc.adapter.messaging.dmaap</Bundle-SymbolicName>-->
+                                               <Bundle-Activator>org.onap.appc.adapter.messaging.dmaap.AppcDmaapAdapterActivator</Bundle-Activator>
+                                               <Export-Package>org.onap.appc.adapter.messaging.*</Export-Package>
+                                               <Import-Package>com.att.eelf.configuration,*;resolution:=optional</Import-Package>
+                                               <!-- <Embed-Dependency>dmaapClient,eelf-core</Embed-Dependency>-->
+                        <Embed-Dependency>logback-classic, logback-core,dmaapClient;scope=compile|runtime;artifactId=!org.eclipse.osgi|slf4j-api|slf4j-simple|jcl-over-slf4j|</Embed-Dependency>                                               
                                                <Embed-Transitive>true</Embed-Transitive>
                                                <Bundle-Blueprint>OSGI-INF/blueprint/blueprint.xml</Bundle-Blueprint>
                                        </instructions>
                        </plugin>
                </plugins>
        </build>
-</project>
+       <version>1.5.0-SNAPSHOT</version>
+</project>
\ No newline at end of file