d91981d6ed7705db2a82abdf23b659408e75896f
[appc.git] / appc-dispatcher / appc-license-manager / appc-license-manager-core / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   ============LICENSE_START=======================================================
4   ONAP : APPC
5   ================================================================================
6   Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
7   ================================================================================
8   Copyright (C) 2017 Amdocs
9   =============================================================================
10   Licensed under the Apache License, Version 2.0 (the "License");
11   you may not use this file except in compliance with the License.
12   You may obtain a copy of the License at
13
14        http://www.apache.org/licenses/LICENSE-2.0
15
16   Unless required by applicable law or agreed to in writing, software
17   distributed under the License is distributed on an "AS IS" BASIS,
18   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19   See the License for the specific language governing permissions and
20   limitations under the License.
21
22   ============LICENSE_END=========================================================
23   -->
24 <project xmlns="http://maven.apache.org/POM/4.0.0"
25          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
26          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
27     <modelVersion>4.0.0</modelVersion>
28     <parent>
29         <groupId>org.onap.appc.parent</groupId>
30         <artifactId>binding-parent</artifactId>
31         <version>1.5.0-SNAPSHOT</version>
32         <relativePath />
33     </parent>
34
35     <artifactId>appc-license-manager-core</artifactId>
36     <groupId>org.onap.appc</groupId>
37     <version>1.5.0-SNAPSHOT</version>
38     <packaging>bundle</packaging>
39     <name>APPC License Manager - Core</name>
40     <description>appc-license-manager-core OSGi bundle project.</description>
41
42     <properties>
43         <licenseDir>${project.parent.parent.parent.basedir}</licenseDir>
44     </properties>
45
46     <dependencies>
47         <dependency>
48             <groupId>org.onap.appc</groupId>
49             <artifactId>appc-common-bundle</artifactId>
50             <version>${project.version}</version>
51             <exclusions>
52               <exclusion>
53                 <groupId>com.fasterxml.jackson.core</groupId>
54                 <artifactId>jackson-databind</artifactId>
55               </exclusion>
56            </exclusions>
57         </dependency>
58         <dependency>
59             <groupId>org.onap.appc</groupId>
60             <artifactId>appc-license-manager-api</artifactId>
61             <version>${project.version}</version>
62         </dependency>
63         <dependency>
64             <groupId>com.sun.mail</groupId>
65             <artifactId>javax.mail</artifactId>
66             <version>1.5.0</version>
67         </dependency>
68         <dependency>
69             <groupId>org.onap.ccsdk.sli.core</groupId>
70             <artifactId>sli-common</artifactId>
71             <scope>compile</scope>
72         </dependency>
73         <dependency>
74             <groupId>junit</groupId>
75             <artifactId>junit</artifactId>
76             <scope>test</scope>
77         </dependency>
78         <dependency>
79             <groupId>org.assertj</groupId>
80             <artifactId>assertj-core</artifactId>
81             <scope>test</scope>
82             <version>${assertj.version}</version>
83         </dependency>
84         <dependency>
85             <groupId>org.onap.ccsdk.sli.core</groupId>
86             <artifactId>sli-provider</artifactId>
87         </dependency>
88         <dependency>
89             <groupId>org.onap.ccsdk.sli.core</groupId>
90             <artifactId>dblib-provider</artifactId>
91             <scope>provided</scope>
92         </dependency>
93         <dependency>
94            <groupId>com.fasterxml.jackson.core</groupId>
95            <artifactId>jackson-databind</artifactId>
96            <version>2.8.11.3</version>
97         </dependency>
98     </dependencies>
99
100     <build>
101         <plugins>
102             <plugin>
103                 <groupId>org.apache.felix</groupId>
104                 <artifactId>maven-bundle-plugin</artifactId>
105                 <configuration>
106                     <instructions>
107                         <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
108                         <Bundle-Version>${project.version}</Bundle-Version>
109                         <Export-Service>org.onap.appc.licmgr.LicenseManager</Export-Service>
110
111                         <Embed-Dependency>
112                             artifactId=!dblib-provider|slf4j-api|jcl-over-slf4j;scope=compile|runtime;inline=false
113                         </Embed-Dependency>
114
115                         <Import-Package>
116                             org.onap.appc.licmgr,org.onap.appc.licmgr.exception,org.onap.appc.licmgr.objects,
117                             *;resolution:=optional
118                         </Import-Package>
119                         <_removeheaders>Import-Service</_removeheaders>
120
121                         <Embed-Transitive>true</Embed-Transitive>
122                     </instructions>
123                 </configuration>
124             </plugin>
125         </plugins>
126     </build>
127
128 </project>