Release aaa
[aaa.git] / aaa-password-service / impl / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Copyright © 2017 Brocade Communications Systems and others. All rights reserved.
4
5 This program and the accompanying materials are made available under the
6 terms of the Eclipse Public License v1.0 which accompanies this distribution,
7 and is available at http://www.eclipse.org/legal/epl-v10.html
8 -->
9 <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">
10   <modelVersion>4.0.0</modelVersion>
11
12   <parent>
13     <groupId>org.opendaylight.aaa</groupId>
14     <artifactId>aaa-parent</artifactId>
15     <version>0.18.4</version>
16     <relativePath>../../parent</relativePath>
17   </parent>
18
19   <groupId>org.opendaylight.aaa</groupId>
20   <artifactId>aaa-password-service-impl</artifactId>
21   <version>0.18.4</version>
22   <name>ODL :: aaa :: ${project.artifactId}</name>
23   <packaging>bundle</packaging>
24
25   <dependencies>
26     <dependency>
27       <groupId>org.opendaylight.aaa</groupId>
28       <artifactId>aaa-password-service-api</artifactId>
29     </dependency>
30     <dependency>
31       <groupId>org.opendaylight.aaa</groupId>
32       <artifactId>repackaged-shiro</artifactId>
33     </dependency>
34     <dependency>
35       <groupId>org.osgi</groupId>
36       <artifactId>org.osgi.framework</artifactId>
37     </dependency>
38     <dependency>
39       <groupId>org.osgi</groupId>
40       <artifactId>org.osgi.service.component</artifactId>
41     </dependency>
42     <dependency>
43       <groupId>org.osgi</groupId>
44       <artifactId>org.osgi.service.component.annotations</artifactId>
45     </dependency>
46     <dependency>
47       <groupId>org.opendaylight.mdsal</groupId>
48       <artifactId>yang-binding</artifactId>
49     </dependency>
50     <dependency>
51       <groupId>org.opendaylight.mdsal</groupId>
52       <artifactId>mdsal-binding-api</artifactId>
53       <scope>provided</scope>
54       <optional>true</optional>
55     </dependency>
56   </dependencies>
57
58   <build>
59     <plugins>
60       <plugin>
61         <groupId>org.apache.felix</groupId>
62         <artifactId>maven-bundle-plugin</artifactId>
63         <extensions>true</extensions>
64         <configuration>
65           <instructions>
66             <!--
67             DefaultPasswordHashService is intentionally exported here for internal use by aaa-cli-jar.  In general,
68             it is bad SOA practice to export implementation bundles.  This was done in order to fulfill a specific
69             non-OSGi requirement that uses this implementation directly.  Outside consumers should consider
70             getting the Service through querying the OSGi registry for
71             org.opendaylight.aaa.api.password.service.PasswordHashService implementations instead.
72             -->
73             <Export-Package>
74               org.opendaylight.aaa.impl.password.service.DefaultPasswordHashService
75             </Export-Package>
76             <_dsannotations-options>norequirements</_dsannotations-options>
77           </instructions>
78         </configuration>
79       </plugin>
80       <plugin>
81         <groupId>org.codehaus.mojo</groupId>
82         <artifactId>build-helper-maven-plugin</artifactId>
83         <executions>
84           <execution>
85             <id>attach-artifacts</id>
86             <phase>package</phase>
87             <goals>
88               <goal>attach-artifact</goal>
89             </goals>
90             <configuration>
91               <artifacts>
92                 <artifact>
93                   <file>${project.build.directory}/classes/initial/aaa-password-service-config.xml</file>
94                   <type>xml</type>
95                   <classifier>aaa-password-service-config</classifier>
96                 </artifact>
97               </artifacts>
98             </configuration>
99           </execution>
100         </executions>
101       </plugin>
102     </plugins>
103   </build>
104 </project>