c046ab986178f77d2d42222e3a45a522a467739c
[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.7.0-SNAPSHOT</version>
12     <relativePath>../parent</relativePath>
13   </parent>
14
15   <artifactId>aaa-filterchain</artifactId>
16   <name>ODL :: aaa :: ${project.artifactId}</name>
17   <packaging>bundle</packaging>
18
19   <dependencies>
20     <dependency>
21       <groupId>org.osgi</groupId>
22       <artifactId>org.osgi.core</artifactId>
23     </dependency>
24     <dependency>
25       <groupId>org.osgi</groupId>
26       <artifactId>org.osgi.compendium</artifactId>
27     </dependency>
28     <dependency>
29       <groupId>javax.servlet</groupId>
30       <artifactId>javax.servlet-api</artifactId>
31     </dependency>
32     <dependency>
33       <groupId>com.google.guava</groupId>
34       <artifactId>guava</artifactId>
35     </dependency>
36
37     <!-- Testing Dependencies -->
38     <dependency>
39       <groupId>junit</groupId>
40       <artifactId>junit</artifactId>
41       <scope>test</scope>
42     </dependency>
43     <dependency>
44       <groupId>org.mockito</groupId>
45       <artifactId>mockito-core</artifactId>
46       <scope>test</scope>
47     </dependency>
48   </dependencies>
49   <build>
50     <plugins>
51       <plugin>
52         <groupId>org.apache.felix</groupId>
53         <artifactId>maven-bundle-plugin</artifactId>
54         <extensions>true</extensions>
55         <configuration>
56           <instructions>
57             <Bundle-Activator>org.opendaylight.aaa.filterchain.Activator</Bundle-Activator>
58             <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
59             <DynamicImport-Package>*</DynamicImport-Package>
60           </instructions>
61         </configuration>
62       </plugin>
63       <plugin>
64         <groupId>org.apache.maven.plugins</groupId>
65         <artifactId>maven-checkstyle-plugin</artifactId>
66         <configuration>
67           <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
68         </configuration>
69       </plugin>
70       <plugin>
71         <groupId>org.codehaus.mojo</groupId>
72         <artifactId>build-helper-maven-plugin</artifactId>
73         <executions>
74           <execution>
75             <id>attach-artifacts</id>
76             <phase>package</phase>
77             <goals>
78               <goal>attach-artifact</goal>
79             </goals>
80             <configuration>
81               <artifacts>
82                 <artifact>
83                   <file>${project.build.directory}/classes/filterchain.cfg</file>
84                   <type>cfg</type>
85                   <classifier>config</classifier>
86                 </artifact>
87               </artifacts>
88             </configuration>
89           </execution>
90         </executions>
91       </plugin>
92     </plugins>
93   </build>
94 </project>