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