e6302b5c5b920924c9ad74d69fd65648cf119f1f
[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.16.0-SNAPSHOT</version>
16     <relativePath>../../parent</relativePath>
17   </parent>
18
19   <groupId>org.opendaylight.aaa</groupId>
20   <artifactId>aaa-password-service-impl</artifactId>
21   <version>0.16.0-SNAPSHOT</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.service.component</artifactId>
37     </dependency>
38     <dependency>
39       <groupId>org.osgi</groupId>
40       <artifactId>org.osgi.service.component.annotations</artifactId>
41     </dependency>
42     <dependency>
43       <groupId>org.opendaylight.mdsal</groupId>
44       <artifactId>yang-binding</artifactId>
45     </dependency>
46     <dependency>
47       <groupId>org.opendaylight.mdsal</groupId>
48       <artifactId>mdsal-binding-api</artifactId>
49       <scope>provided</scope>
50       <optional>true</optional>
51     </dependency>
52   </dependencies>
53
54   <build>
55     <plugins>
56       <plugin>
57         <groupId>org.apache.felix</groupId>
58         <artifactId>maven-bundle-plugin</artifactId>
59         <extensions>true</extensions>
60         <configuration>
61           <instructions>
62             <!--
63             DefaultPasswordHashService is intentionally exported here for internal use by aaa-cli-jar.  In general,
64             it is bad SOA practice to export implementation bundles.  This was done in order to fulfill a specific
65             non-OSGi requirement that uses this implementation directly.  Outside consumers should consider
66             getting the Service through querying the OSGi registry for
67             org.opendaylight.aaa.api.password.service.PasswordHashService implementations instead.
68             -->
69             <Export-Package>
70               org.opendaylight.aaa.impl.password.service.DefaultPasswordHashService
71             </Export-Package>
72             <_dsannotations-options>norequirements</_dsannotations-options>
73           </instructions>
74         </configuration>
75       </plugin>
76       <plugin>
77         <groupId>org.codehaus.mojo</groupId>
78         <artifactId>build-helper-maven-plugin</artifactId>
79         <executions>
80           <execution>
81             <id>attach-artifacts</id>
82             <phase>package</phase>
83             <goals>
84               <goal>attach-artifact</goal>
85             </goals>
86             <configuration>
87               <artifacts>
88                 <artifact>
89                   <file>${project.build.directory}/classes/initial/aaa-password-service-config.xml</file>
90                   <type>xml</type>
91                   <classifier>aaa-password-service-config</classifier>
92                 </artifact>
93               </artifacts>
94             </configuration>
95           </execution>
96         </executions>
97       </plugin>
98     </plugins>
99   </build>
100 </project>