Updating master to 1.1.0-SNAPSHOT
[appc.git] / appc-adapters / appc-iaas-adapter / appc-iaas-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-iaas-adapter</artifactId>
7                 <version>1.1.0-SNAPSHOT</version>
8         </parent>
9
10         <artifactId>appc-iaas-adapter-bundle</artifactId>
11         <packaging>bundle</packaging>
12         <name>IaaS Adapter - bundle</name>
13
14         <dependencies>
15                 <dependency>
16                         <groupId>org.openecomp.appc</groupId>
17                         <artifactId>appc-common</artifactId>
18                         <version>${project.version}</version>
19                         <classifier>jar-with-dependencies</classifier>
20                         <scope>compile</scope>
21                 </dependency>
22                 <dependency>
23                         <groupId>org.openecomp.appc</groupId>
24                         <artifactId>appc-common</artifactId>
25                         <version>${project.version}</version>
26                         <scope>test</scope>
27                 </dependency>
28                 <dependency>
29                         <groupId>javax</groupId>
30                         <artifactId>javaee-api</artifactId>
31                         <version>7.0</version>
32                 </dependency>
33
34                 <dependency>
35                         <groupId>com.att.cdp</groupId>
36                         <artifactId>cdp-pal-common</artifactId>
37                         <scope>compile</scope>
38                 </dependency>
39
40                 <dependency>
41                         <groupId>com.att.cdp</groupId>
42                         <artifactId>cdp-pal-openstack</artifactId>
43                         <scope>compile</scope>
44                 </dependency>
45
46                 <dependency>
47                         <groupId>javax.ws.rs</groupId>
48                         <artifactId>javax.ws.rs-api</artifactId>
49                         </dependency>
50
51                 <!-- Jersey support needed for OpenStack connector and API version logic -->
52                 <dependency>
53                         <groupId>com.sun.jersey</groupId>
54                         <artifactId>jersey-client</artifactId>
55                         </dependency>
56
57                 <dependency>
58                         <groupId>com.sun.jersey</groupId>
59                         <artifactId>jersey-json</artifactId>
60                         </dependency>
61
62                 <dependency>
63                         <groupId>javax.xml.bind</groupId>
64                         <artifactId>jaxb-api</artifactId>
65                         <version>2.1</version>
66                 </dependency>
67
68                 <dependency>
69                         <groupId>javax.xml</groupId>
70                         <artifactId>jaxp-api</artifactId>
71                         <version>1.4.2</version>
72                 </dependency>
73
74                 <!-- Needed to run test cases -->
75                 <dependency>
76                         <groupId>org.glassfish.jersey.core</groupId>
77                         <artifactId>jersey-common</artifactId>
78                         <version>2.9.1</version>
79                 </dependency>
80
81                 <dependency>
82                         <groupId>org.codehaus.jackson</groupId>
83                         <artifactId>jackson-jaxrs</artifactId>
84                         <version>1.9.12</version>
85                 </dependency>
86
87                 <dependency>
88                         <groupId>commons-codec</groupId>
89                         <artifactId>commons-codec</artifactId>
90                         </dependency>
91
92                 <dependency>
93                         <groupId>org.apache.httpcomponents</groupId>
94                         <artifactId>httpclient</artifactId>
95                         <version>4.5.1</version>
96                 </dependency>
97
98                 <dependency>
99                         <groupId>junit</groupId>
100                         <artifactId>junit</artifactId>
101                         <scope>test</scope>
102                 </dependency>
103
104                 <dependency>
105                         <groupId>org.openecomp.sdnc.core</groupId>
106                         <artifactId>sli-common</artifactId>
107                         <scope>compile</scope>
108                         <!-- Added exclusion to prevent missing dependency issue on dblib -->
109                         <exclusions>
110                                 <exclusion>
111                                         <groupId>org.openecomp.sdnc.core</groupId>
112                                         <artifactId>dblib-provider</artifactId>
113                                 </exclusion>
114                         </exclusions>
115                 </dependency>
116
117                 <dependency>
118                         <groupId>org.openecomp.sdnc.core</groupId>
119                         <artifactId>sli-provider</artifactId>
120                         <scope>compile</scope>
121                         <!-- Added exclusion to prevent missing dependency issue on dblib -->
122                         <exclusions>
123                                 <exclusion>
124                                         <groupId>org.openecomp.sdnc.core</groupId>
125                                         <artifactId>dblib-provider</artifactId>
126                                 </exclusion>
127                         </exclusions>
128                 </dependency>
129
130                 <dependency>
131                         <groupId>equinoxSDK381</groupId>
132                         <artifactId>org.eclipse.osgi</artifactId>
133                 </dependency>
134
135                 <dependency>
136                         <groupId>org.slf4j</groupId>
137                         <artifactId>slf4j-api</artifactId>
138                 </dependency>
139
140                 <dependency>
141                         <groupId>org.slf4j</groupId>
142                         <artifactId>jcl-over-slf4j</artifactId>
143                         </dependency>
144
145                 <dependency>
146                         <groupId>mysql</groupId>
147                         <artifactId>mysql-connector-java</artifactId>
148                         <version>5.1.31</version>
149                         <type>jar</type>
150                         <scope>compile</scope>
151                 </dependency>
152
153                 <dependency>
154                         <groupId>com.vmware</groupId>
155                         <artifactId>vijava</artifactId>
156                         <version>5.1</version>
157                         <scope>compile</scope>
158                 </dependency>
159
160                 <dependency>
161                         <groupId>xerces</groupId>
162                         <artifactId>xerces</artifactId>
163                         <version>2.4.0</version>
164                         <scope>provided</scope>
165                 </dependency>
166
167                 <dependency>
168                         <groupId>org.apache.httpcomponents</groupId>
169                         <artifactId>httpcore</artifactId>
170                         <version>${apache.httpcomponents.version}</version>
171                 </dependency>
172
173                 <dependency>
174                         <groupId>commons-logging</groupId>
175                         <artifactId>commons-logging</artifactId>
176                         <version>1.2</version>
177                 </dependency>
178
179         </dependencies>
180
181         <build>
182                 <plugins>
183                         <plugin>
184                                 <groupId>org.apache.felix</groupId>
185                                 <artifactId>maven-bundle-plugin</artifactId>
186                                 <extensions>true</extensions>
187                                 <configuration>
188                                         <instructions>
189                                                 <Bundle-SymbolicName>appc-iaas-adapter</Bundle-SymbolicName>
190                                                 <Bundle-Activator>org.openecomp.appc.adapter.iaas.AppcProviderAdapterActivator</Bundle-Activator>
191                                                 <Export-Package>org.openecomp.appc.adapter.iaas</Export-Package>
192                                                 <Import-Package>org.openecomp.sdnc.sli.*,org.osgi.framework.*,org.slf4j.*,com.vmware.*,org.apache.xerces.*,javax.net.*,javax.net.ssl.*,org.xml.sax.*,javax.xml.bind.*,javax.naming.*,com.sun.jersey.*</Import-Package>
193                                                 <Embed-Dependency>*;scope=compile|runtime;artifactId=!sli-common|org.eclipse.osgi|slf4j-api|jcl-over-slf4j|mysql-connector-java|xml-apis</Embed-Dependency>
194                                                 <Embed-Transitive>true</Embed-Transitive>
195                                         </instructions>
196
197                                         <manifestLocation>${project.basedir}/src/main/resources/META-INF</manifestLocation>
198                                 </configuration>
199                         </plugin>
200                 </plugins>
201         </build>
202
203         <profiles>
204                 <profile>
205                         <id>NonSlowTests</id>
206                         <activation>
207                                 <activeByDefault>true</activeByDefault>
208                         </activation>
209                         <build>
210                                 <plugins>
211                                         <plugin>
212                                                 <groupId>org.apache.maven.plugins</groupId>
213                                                 <artifactId>maven-surefire-plugin</artifactId>
214                                                 <configuration>
215                                                         <excludedGroups>org.openecomp.appc.adapter.iaas.impl.TestProviderAdapterImpl</excludedGroups>
216                                                 </configuration>
217                                         </plugin>
218                                 </plugins>
219                         </build>
220                 </profile>
221         </profiles>
222 </project>