Merge "Integrate MRI projects for Neon"
[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.9.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.9.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       <version>${project.version}</version>
30     </dependency>
31     <dependency>
32       <groupId>org.apache.shiro</groupId>
33       <artifactId>shiro-core</artifactId>
34     </dependency>
35   </dependencies>
36
37   <build>
38     <plugins>
39       <plugin>
40         <groupId>org.apache.felix</groupId>
41         <artifactId>maven-bundle-plugin</artifactId>
42         <extensions>true</extensions>
43         <configuration>
44           <instructions>
45             <!--
46             DefaultPasswordHashService is intentionally exported here for internal use by aaa-cli-jar.  In general,
47             it is bad SOA practice to export implementation bundles.  This was done in order to fulfill a specific
48             non-OSGi requirement that uses this implementation directly.  Outside consumers should consider
49             getting the Service through querying the OSGi registry for
50             org.opendaylight.aaa.api.password.service.PasswordHashService implementations instead.
51             -->
52             <Export-Package>
53               org.opendaylight.aaa.impl.password.service.DefaultPasswordHashService
54             </Export-Package>
55           </instructions>
56         </configuration>
57       </plugin>
58       <plugin>
59         <groupId>org.codehaus.mojo</groupId>
60         <artifactId>build-helper-maven-plugin</artifactId>
61         <executions>
62           <execution>
63             <id>attach-artifacts</id>
64             <phase>package</phase>
65             <goals>
66               <goal>attach-artifact</goal>
67             </goals>
68             <configuration>
69               <artifacts>
70                 <artifact>
71                   <file>${project.build.directory}/classes/initial/aaa-password-service-config.xml</file>
72                   <type>xml</type>
73                   <classifier>aaa-password-service-config</classifier>
74                 </artifact>
75               </artifacts>
76             </configuration>
77           </execution>
78         </executions>
79       </plugin>
80     </plugins>
81   </build>
82 </project>