Merge "Replace FindBugs :jsr305 by full :annotation (Bug 7663)"
[aaa.git] / aaa-h2-store / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4     <modelVersion>4.0.0</modelVersion>
5
6     <parent>
7         <groupId>org.opendaylight.aaa</groupId>
8         <artifactId>aaa-parent</artifactId>
9         <version>0.5.0-SNAPSHOT</version>
10         <relativePath>../parent</relativePath>
11     </parent>
12
13     <artifactId>aaa-h2-store</artifactId>
14     <packaging>bundle</packaging>
15
16     <dependencies>
17         <dependency>
18             <groupId>org.apache.commons</groupId>
19             <artifactId>commons-lang3</artifactId>
20         </dependency>
21         <dependency>
22             <groupId>org.opendaylight.aaa</groupId>
23             <artifactId>aaa-authn-api</artifactId>
24         </dependency>
25         <dependency>
26             <groupId>org.opendaylight.aaa</groupId>
27             <artifactId>aaa-authn</artifactId>
28         </dependency>
29         <dependency>
30             <groupId>org.apache.felix</groupId>
31             <artifactId>org.apache.felix.dependencymanager</artifactId>
32             <scope>provided</scope>
33         </dependency>
34         <dependency>
35             <groupId>org.immutables</groupId>
36             <artifactId>value</artifactId>
37         </dependency>
38         <dependency>
39             <groupId>net.sf.ehcache</groupId>
40             <artifactId>ehcache</artifactId>
41         </dependency>
42
43         <!-- JDBC -->
44         <dependency>
45             <groupId>com.h2database</groupId>
46             <artifactId>h2</artifactId>
47         </dependency>
48
49         <!-- Testing Dependencies -->
50         <dependency>
51             <groupId>junit</groupId>
52             <artifactId>junit</artifactId>
53             <scope>test</scope>
54         </dependency>
55         <dependency>
56             <groupId>org.mockito</groupId>
57             <artifactId>mockito-core</artifactId>
58             <scope>test</scope>
59         </dependency>
60         <dependency>
61             <groupId>com.google.truth</groupId>
62             <artifactId>truth</artifactId>
63         </dependency>
64     </dependencies>
65
66     <build>
67         <plugins>
68             <plugin>
69                 <groupId>org.apache.felix</groupId>
70                 <artifactId>maven-bundle-plugin</artifactId>
71                 <extensions>true</extensions>
72                 <configuration>
73                     <instructions>
74                         <Import-Package>net.sf.ehcache.*,com.google.*,org.opendaylight.aaa.api.*,org.apache.felix.*,org.slf4j.*,org.osgi.*,org.apache.commons.lang3</Import-Package>
75                         <Private-Package>org.h2.*</Private-Package>
76                     </instructions>
77                 </configuration>
78             </plugin>
79             <plugin>
80                 <groupId>org.codehaus.mojo</groupId>
81                 <artifactId>build-helper-maven-plugin</artifactId>
82                 <executions>
83                   <execution>
84                     <id>attach-artifacts</id>
85                     <goals>
86                       <goal>attach-artifact</goal>
87                     </goals>
88                     <phase>package</phase>
89                     <configuration>
90                       <artifacts>
91                         <artifact>
92                           <file>${project.build.directory}/classes/initial/tokens.cfg</file>
93                           <type>cfg</type>
94                           <classifier>config</classifier>
95                         </artifact>
96                       </artifacts>
97                     </configuration>
98                   </execution>
99                 </executions>
100             </plugin>
101         </plugins>
102     </build>
103 </project>