04d8764db49d726366a3c3d144434f1bc1577f24
[aaf/cadi.git] / shiro-osgi-bundle / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3  * ============LICENSE_START====================================================
4  * org.onap.aaf
5  * ===========================================================================
6  * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
7  * ===========================================================================
8  * Licensed under the Apache License, Version 2.0 (the "License");
9  * you may not use this file except in compliance with the License.
10  * You may obtain a copy of the License at
11  *
12  *      http://www.apache.org/licenses/LICENSE-2.0
13  *
14  * Unless required by applicable law or agreed to in writing, software
15  * distributed under the License is distributed on an "AS IS" BASIS,
16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  * See the License for the specific language governing permissions and
18  * limitations under the License.
19  * ============LICENSE_END====================================================
20  *
21 -->
22 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
23         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
24
25         <parent>
26                 <groupId>org.onap.aaf.cadi</groupId>
27                 <artifactId>cadimiscparent</artifactId>
28                 <version>2.1.2-SNAPSHOT</version>
29                 <relativePath>..</relativePath>
30         </parent>
31         <modelVersion>4.0.0</modelVersion>
32
33         <name>AAF Shiro CADI Plugin</name>
34         <artifactId>aaf-shiro-aafrealm-osgi-bundle</artifactId>
35         <packaging>bundle</packaging>
36
37         <properties>
38             <sonar.skip>true</sonar.skip>
39             <cadi.shiro.version>2.1.1</cadi.shiro.version>
40         </properties>
41
42         <build>
43                 <plugins>
44                         <plugin>
45                                 <groupId>org.apache.felix</groupId>
46                                 <artifactId>maven-bundle-plugin</artifactId>
47                                 <version>2.5.4</version>
48                                 <extensions>true</extensions>
49                                 <configuration>
50                                         <instructions>
51                                                 <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
52                                                 <Bundle-Version>${project.version}</Bundle-Version>
53                                                 <Export-Package>
54                                                         org.onap.aaf.cadi.shiro*;version=${cadi.shiro.version}
55                                                 </Export-Package>
56                                                 <Import-Package>
57                                                         javax.servlet,
58                                                         javax.servlet.http,
59                                                         org.osgi.service.blueprint;version="[1.0.0,2.0.0)",
60                                                         javax.net.ssl,
61                                                         javax.crypto,
62                                                         javax.crypto.spec,
63                                                         javax.xml.bind.annotation,
64                                                         javax.xml.bind,
65                                                         javax.xml.transform,
66                                                         javax.xml.datatype,
67                                                         javax.management,
68                                                         javax.security.auth,
69                                                         javax.security.auth.login,
70                                                         javax.security.auth.callback,
71                                                         javax.xml.soap,
72                                                         javax.xml.parsers,
73                                                         javax.xml.namespace,
74                                                         org.w3c.dom,
75                                                         org.xml.sax,
76                                                         javax.xml.transform.stream
77                                                 </Import-Package>
78                                                 <Embed-Dependency>*;scope=compile|runtime;inline=false</Embed-Dependency>
79                                                 <!-- <Embed-Dependency>*;scope=compile|runtime;artifactId=!shiro-core;inline=false</Embed-Dependency> -->
80                                                 <Embed-Transitive>true</Embed-Transitive>
81                                                 <Fragment-Host>org.apache.shiro.core</Fragment-Host>
82                                         </instructions>
83                                 </configuration>
84                         </plugin>
85                 </plugins>
86
87
88         </build>
89
90         <dependencies>
91                 <dependency>
92            <groupId>org.onap.aaf.authz</groupId>
93            <artifactId>aaf-cadi-shiro</artifactId>
94            <version>2.1.1</version>
95         </dependency>
96         </dependencies>
97 </project>