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