Moving all files to root directory
[appc.git] / appc-adapters / appc-dmaap-adapter / appc-dmaap-adapter-bundle / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <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">
3         <modelVersion>4.0.0</modelVersion>
4         <parent>
5                 <groupId>org.openecomp.appc</groupId>
6                 <artifactId>appc-dmaap-adapter</artifactId>
7                 <version>1.0.0</version>
8         </parent>
9
10         <artifactId>appc-dmaap-adapter-bundle</artifactId>
11         <packaging>bundle</packaging>
12         <name>DMaaP Adapter - bundle</name>
13
14         <dependencies>
15                 <dependency>
16                         <groupId>org.openecomp.appc</groupId>
17                         <artifactId>appc-metric-bundle</artifactId>
18                         <version>1.0.0</version>
19                 </dependency>
20                 <dependency>
21                         <groupId>org.openecomp.appc</groupId>
22                         <artifactId>appc-common</artifactId>
23                         <classifier>jar-with-dependencies</classifier>
24                         <version>${project.version}</version>
25                 </dependency>
26
27                 <dependency>
28                         <groupId>junit</groupId>
29                         <artifactId>junit</artifactId>
30                         <scope>test</scope>
31                 </dependency>
32
33                 <dependency>
34                         <groupId>equinoxSDK381</groupId>
35                         <artifactId>org.eclipse.osgi</artifactId>
36                 </dependency>
37
38                 <dependency>
39                         <groupId>commons-codec</groupId>
40                         <artifactId>commons-codec</artifactId>
41                         </dependency>
42
43                 <dependency>
44                         <groupId>commons-lang</groupId>
45                         <artifactId>commons-lang</artifactId>
46                 </dependency>
47
48                 <dependency>
49                         <groupId>com.fasterxml.jackson.core</groupId>
50                         <artifactId>jackson-databind</artifactId>
51                 </dependency>
52                 <dependency>
53                         <groupId>com.fasterxml.jackson.core</groupId>
54                         <artifactId>jackson-core</artifactId>
55                 </dependency>
56                 <dependency>
57                         <groupId>com.fasterxml.jackson.core</groupId>
58                         <artifactId>jackson-annotations</artifactId>
59                 </dependency>
60
61                 <dependency>
62                         <groupId>org.mockito</groupId>
63                         <artifactId>mockito-core</artifactId>
64                         </dependency>
65                 <dependency>
66                         <groupId>org.powermock</groupId>
67                         <artifactId>powermock-api-mockito</artifactId>
68                         <version>1.6.2</version>
69                         <scope>test</scope>
70                 </dependency>
71                 <dependency>
72                         <groupId>org.hamcrest</groupId>
73                         <artifactId>hamcrest-core</artifactId>
74                         </dependency>
75                 <dependency>
76                         <groupId>org.objenesis</groupId>
77                         <artifactId>objenesis</artifactId>
78                         <version>2.2</version>
79                 </dependency>
80                 <dependency>
81                         <groupId>org.mockito</groupId>
82                         <artifactId>mockito-all</artifactId>
83                         </dependency>
84
85                 <dependency>
86                         <groupId>org.powermock</groupId>
87                         <artifactId>powermock-module-junit4</artifactId>
88                         <version>1.6.2</version>
89                         <scope>test</scope>
90                 </dependency>
91
92                 <dependency>
93                         <groupId>org.openecomp.sdnc.core</groupId>
94                         <artifactId>sli-common</artifactId>
95                         <scope>compile</scope>
96                         <!-- Added exclusion to prevent missing dependency issue on dblib -->
97                         <exclusions>
98                                 <exclusion>
99                                         <groupId>org.openecomp.sdnc.core</groupId>
100                                         <artifactId>dblib-provider</artifactId>
101                                 </exclusion>
102                                 <exclusion>
103                                         <artifactId>slf4j-simple</artifactId>
104                                         <groupId>org.slf4j</groupId>
105                                 </exclusion>
106                         </exclusions>
107                 </dependency>
108
109                 <dependency>
110                         <groupId>org.openecomp.sdnc.core</groupId>
111                         <artifactId>sli-provider</artifactId>
112                         <scope>compile</scope>
113                         <!-- Added exclusion to prevent missing dependency issue on dblib -->
114                         <exclusions>
115                                 <exclusion>
116                                         <groupId>org.openecomp.sdnc.core</groupId>
117                                         <artifactId>dblib-provider</artifactId>
118                                 </exclusion>
119                         </exclusions>
120                 </dependency>
121
122                 <!-- DMaaP Client -->
123 <!--            <dependency> -->
124 <!--                    <groupId>com.att.nsa</groupId> -->
125 <!--                    <artifactId>dmaapClient</artifactId> -->
126 <!--                    <version>${dmaap.client.version}</version> -->
127 <!--            </dependency> -->
128
129                 <dependency>
130                         <groupId>org.json</groupId>
131                         <artifactId>json</artifactId>                   
132                 </dependency>
133                 <dependency>
134                         <groupId>commons-io</groupId>
135                         <artifactId>commons-io</artifactId>
136                 </dependency>
137         </dependencies>
138
139         
140
141         <build>
142                 <plugins>
143                         <plugin>
144                                 <groupId>org.apache.felix</groupId>
145                                 <artifactId>maven-bundle-plugin</artifactId>
146                                 <extensions>true</extensions>
147                                 <configuration>
148                                         <instructions>
149                                                 <Bundle-SymbolicName>org.openecomp.appc.adapter.dmaap</Bundle-SymbolicName>
150                                                 <Bundle-Activator>org.openecomp.appc.adapter.dmaap.AppcDmaapAdapterActivator</Bundle-Activator>                         
151                                                 <Export-Package>org.openecomp.appc.adapter.dmaap.*</Export-Package>
152                                                 <Export-Serice>org.openecomp.appc.adapter.dmaap.EventSender</Export-Serice>
153                                                 <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>
154                                                 <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>
155                                                 <Embed-Transitive>true</Embed-Transitive>
156                                                 <Bundle-Blueprint>OSGI-INF/blueprint/blueprint.xml</Bundle-Blueprint>
157                                         </instructions>
158                                 </configuration>
159                         </plugin>
160                 </plugins>
161         </build>
162 </project>