Merge "Replace FindBugs :jsr305 by full :annotation (Bug 7663)"
[aaa.git] / aaa-filterchain / pom.xml
1 <!-- Copyright (c) 2015 Brocade Communications Systems, Inc. and others.
2   All rights reserved. This program and the accompanying materials are made
3   available under the terms of the Eclipse Public License v1.0 which accompanies
4   this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html -->
5 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
6   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
7   <modelVersion>4.0.0</modelVersion>
8   <parent>
9     <groupId>org.opendaylight.aaa</groupId>
10     <artifactId>aaa-parent</artifactId>
11     <version>0.5.0-SNAPSHOT</version>
12     <relativePath>../parent</relativePath>
13   </parent>
14
15   <artifactId>aaa-filterchain</artifactId>
16   <packaging>bundle</packaging>
17
18   <dependencies>
19     <dependency>
20       <groupId>org.apache.felix</groupId>
21       <artifactId>org.apache.felix.dependencymanager</artifactId>
22     </dependency>
23     <dependency>
24       <groupId>javax.servlet</groupId>
25       <artifactId>javax.servlet-api</artifactId>
26     </dependency>
27     <dependency>
28       <groupId>com.google.guava</groupId>
29       <artifactId>guava</artifactId>
30     </dependency>
31
32     <!-- Testing Dependencies -->
33     <dependency>
34       <groupId>junit</groupId>
35       <artifactId>junit</artifactId>
36       <scope>test</scope>
37     </dependency>
38     <dependency>
39       <groupId>org.mockito</groupId>
40       <artifactId>mockito-core</artifactId>
41       <scope>test</scope>
42     </dependency>
43   </dependencies>
44   <build>
45     <plugins>
46       <plugin>
47         <groupId>org.apache.felix</groupId>
48         <artifactId>maven-bundle-plugin</artifactId>
49         <extensions>true</extensions>
50         <configuration>
51           <instructions>
52             <Bundle-Activator>org.opendaylight.aaa.filterchain.Activator</Bundle-Activator>
53             <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
54             <DynamicImport-Package>*</DynamicImport-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/filterchain.cfg</file>
72                   <type>cfg</type>
73                   <classifier>config</classifier>
74                 </artifact>
75               </artifacts>
76             </configuration>
77           </execution>
78         </executions>
79       </plugin>
80     </plugins>
81   </build>
82 </project>