adjust to use password-service
[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"
10   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
11   <modelVersion>4.0.0</modelVersion>
12
13   <parent>
14     <groupId>org.opendaylight.aaa</groupId>
15     <artifactId>aaa-parent</artifactId>
16     <version>0.8.0-SNAPSHOT</version>
17     <relativePath>../../parent</relativePath>
18   </parent>
19
20   <groupId>org.opendaylight.aaa</groupId>
21   <artifactId>aaa-password-service-impl</artifactId>
22   <version>0.8.0-SNAPSHOT</version>
23   <name>ODL :: aaa :: ${project.artifactId}</name>
24   <packaging>bundle</packaging>
25
26   <dependencies>
27     <dependency>
28       <groupId>org.opendaylight.aaa</groupId>
29       <artifactId>aaa-password-service-api</artifactId>
30       <version>${project.version}</version>
31     </dependency>
32     <dependency>
33       <groupId>org.apache.shiro</groupId>
34       <artifactId>shiro-core</artifactId>
35     </dependency>
36   </dependencies>
37
38   <build>
39     <plugins>
40       <plugin>
41         <groupId>org.apache.felix</groupId>
42         <artifactId>maven-bundle-plugin</artifactId>
43         <extensions>true</extensions>
44         <configuration>
45           <instructions>
46             <!--
47             DefaultPasswordHashService is intentionally exported here for internal use by aaa-cli-jar.  In general,
48             it is bad SOA practice to export implementation bundles.  This was done in order to fulfill a specific
49             non-OSGi requirement that uses this implementation directly.  Outside consumers should consider
50             getting the Service through querying the OSGi registry for
51             org.opendaylight.aaa.api.password.service.PasswordHashService implementations instead.
52             -->
53             <Export-Package>
54               org.opendaylight.aaa.impl.password.service.DefaultPasswordHashService
55             </Export-Package>
56           </instructions>
57         </configuration>
58       </plugin>
59       <plugin>
60         <groupId>org.codehaus.mojo</groupId>
61         <artifactId>build-helper-maven-plugin</artifactId>
62         <executions>
63           <execution>
64             <id>attach-artifacts</id>
65             <phase>package</phase>
66             <goals>
67               <goal>attach-artifact</goal>
68             </goals>
69             <configuration>
70               <artifacts>
71                 <artifact>
72                   <file>${project.build.directory}/classes/initial/aaa-password-service-config.xml</file>
73                   <type>xml</type>
74                   <classifier>aaa-password-service-config</classifier>
75                 </artifact>
76               </artifacts>
77             </configuration>
78           </execution>
79         </executions>
80       </plugin>
81     </plugins>
82   </build>
83 </project>