d92d15cfa855923c472b61198f38352e2819fcb6
[aaa.git] / aaa-filterchain / pom.xml
1 <?xml version="1.0"?>
2 <!-- Copyright (c) 2015 Brocade Communications Systems, Inc. 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" 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.15.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>javax.servlet</groupId>
22       <artifactId>javax.servlet-api</artifactId>
23     </dependency>
24     <dependency>
25       <groupId>com.google.guava</groupId>
26       <artifactId>guava</artifactId>
27     </dependency>
28     <dependency>
29       <groupId>org.osgi</groupId>
30       <artifactId>osgi.cmpn</artifactId>
31     </dependency>
32   </dependencies>
33
34   <build>
35     <plugins>
36       <plugin>
37         <groupId>org.apache.felix</groupId>
38         <artifactId>maven-bundle-plugin</artifactId>
39         <extensions>true</extensions>
40         <configuration>
41           <instructions>
42             <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
43             <DynamicImport-Package>*</DynamicImport-Package>
44           </instructions>
45         </configuration>
46       </plugin>
47       <plugin>
48         <groupId>org.codehaus.mojo</groupId>
49         <artifactId>build-helper-maven-plugin</artifactId>
50         <executions>
51           <execution>
52             <id>attach-artifacts</id>
53             <phase>package</phase>
54             <goals>
55               <goal>attach-artifact</goal>
56             </goals>
57             <configuration>
58               <artifacts>
59                 <artifact>
60                   <file>${project.build.directory}/classes/filterchain.cfg</file>
61                   <type>cfg</type>
62                   <classifier>config</classifier>
63                 </artifact>
64               </artifacts>
65             </configuration>
66           </execution>
67         </executions>
68       </plugin>
69     </plugins>
70   </build>
71 </project>