Merge "Fix the unit Test"
[aaa.git] / aaa-authn / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- Copyright (c) 2014-2015 Hewlett-Packard Development Company, L.P. and others.
3     All rights reserved. This program and the accompanying materials are made
4     available under the terms of the Eclipse Public License v1.0 which accompanies
5     this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html -->
6 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
7     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
8     <modelVersion>4.0.0</modelVersion>
9     <parent>
10         <groupId>org.opendaylight.aaa</groupId>
11         <artifactId>aaa-parent</artifactId>
12         <version>0.5.0-SNAPSHOT</version>
13         <relativePath>../parent</relativePath>
14     </parent>
15
16     <artifactId>aaa-authn</artifactId>
17     <packaging>bundle</packaging>
18
19     <dependencies>
20         <dependency>
21             <groupId>org.opendaylight.aaa</groupId>
22             <artifactId>aaa-authn-api</artifactId>
23         </dependency>
24         <dependency>
25             <groupId>com.google.guava</groupId>
26             <artifactId>guava</artifactId>
27         </dependency>
28         <dependency>
29             <groupId>org.slf4j</groupId>
30             <artifactId>slf4j-api</artifactId>
31         </dependency>
32         <dependency>
33             <groupId>com.sun.jersey</groupId>
34             <artifactId>jersey-server</artifactId>
35             <scope>provided</scope>
36         </dependency>
37         <dependency>
38             <groupId>org.osgi</groupId>
39             <artifactId>org.osgi.core</artifactId>
40             <scope>provided</scope>
41         </dependency>
42         <dependency>
43             <groupId>org.osgi</groupId>
44             <artifactId>org.osgi.compendium</artifactId>
45             <scope>provided</scope>
46         </dependency>
47         <dependency>
48             <groupId>org.apache.felix</groupId>
49             <artifactId>org.apache.felix.dependencymanager</artifactId>
50             <scope>provided</scope>
51         </dependency>
52         <!-- Testing Dependencies -->
53         <dependency>
54             <groupId>junit</groupId>
55             <artifactId>junit</artifactId>
56             <scope>test</scope>
57         </dependency>
58         <dependency>
59             <groupId>org.slf4j</groupId>
60             <artifactId>slf4j-simple</artifactId>
61             <scope>test</scope>
62         </dependency>
63     </dependencies>
64
65     <build>
66         <plugins>
67             <plugin>
68                 <groupId>org.apache.felix</groupId>
69                 <artifactId>maven-bundle-plugin</artifactId>
70                 <extensions>true</extensions>
71                 <configuration>
72                     <instructions>
73                         <Bundle-Activator>org.opendaylight.aaa.Activator</Bundle-Activator>
74                     </instructions>
75                     <manifestLocation>${project.basedir}/META-INF</manifestLocation>
76                 </configuration>
77             </plugin>
78             <plugin>
79                 <groupId>org.codehaus.mojo</groupId>
80                 <artifactId>build-helper-maven-plugin</artifactId>
81                 <executions>
82                     <execution>
83                         <id>attach-artifacts</id>
84                         <phase>package</phase>
85                         <goals>
86                             <goal>attach-artifact</goal>
87                         </goals>
88                         <configuration>
89                             <artifacts>
90                                 <artifact>
91                                     <file>${project.build.directory}/classes/authn.cfg</file>
92                                     <type>cfg</type>
93                                     <classifier>config</classifier>
94                                 </artifact>
95                             </artifacts>
96                         </configuration>
97                     </execution>
98                 </executions>
99             </plugin>
100         </plugins>
101     </build>
102
103 </project>