Added CorsFilter to enable secure cross site scripting
[controller.git] / opendaylight / northbound / statistics / 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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3   <modelVersion>4.0.0</modelVersion>
4   <parent>
5     <groupId>org.opendaylight.controller</groupId>
6     <artifactId>commons.opendaylight</artifactId>
7     <version>1.4.0-SNAPSHOT</version>
8     <relativePath>../../commons/opendaylight</relativePath>
9   </parent>
10
11   <artifactId>statistics.northbound</artifactId>
12   <version>0.4.0-SNAPSHOT</version>
13   <packaging>bundle</packaging>
14   <build>
15     <plugins>
16       <plugin>
17         <groupId>org.codehaus.enunciate</groupId>
18         <artifactId>maven-enunciate-plugin</artifactId>
19         <version>${enunciate.version}</version>
20         <dependencies>
21           <dependency>
22             <groupId>org.opendaylight.controller</groupId>
23             <artifactId>sal</artifactId>
24             <version>0.5.0-SNAPSHOT</version>
25           </dependency>
26         </dependencies>
27       </plugin>
28       <plugin>
29         <groupId>org.apache.felix</groupId>
30         <artifactId>maven-bundle-plugin</artifactId>
31         <version>2.3.6</version>
32         <extensions>true</extensions>
33         <configuration>
34           <instructions>
35             <Export-Package>
36             </Export-Package>
37               <Import-Package>
38                 org.opendaylight.controller.forwardingrulesmanager,
39                 org.opendaylight.controller.sal.action,
40                 org.opendaylight.controller.sal.core,
41                 org.opendaylight.controller.sal.flowprogrammer,
42                 org.opendaylight.controller.sal.match,
43                 org.opendaylight.controller.sal.packet,
44                 org.opendaylight.controller.sal.reader,
45                 org.opendaylight.controller.sal.utils,
46                 org.opendaylight.controller.containermanager,
47                 org.opendaylight.controller.statisticsmanager,
48                 org.opendaylight.controller.usermanager,
49                 org.opendaylight.controller.switchmanager,
50                 org.opendaylight.controller.sal.authorization,
51                 org.apache.commons.logging,
52                 com.sun.jersey.spi.container.servlet,
53                 org.opendaylight.controller.northbound.commons,
54                 org.opendaylight.controller.northbound.commons.exception,
55                 org.opendaylight.controller.northbound.commons.utils,
56                 javax.ws.rs,
57                 javax.ws.rs.core,
58                 javax.xml.bind.annotation,
59                 javax.xml.bind,
60                 org.slf4j,
61                 org.apache.catalina.filters,
62                 !org.codehaus.enunciate.jaxrs
63               </Import-Package>
64             <Export-Package>
65             </Export-Package>
66             <Web-ContextPath>/controller/nb/v2/statistics</Web-ContextPath>
67           </instructions>
68           <manifestLocation>${project.basedir}/src/main/resources/META-INF</manifestLocation>
69         </configuration>
70       </plugin>
71     </plugins>
72   </build>
73   <dependencies>
74     <dependency>
75       <groupId>org.opendaylight.controller</groupId>
76       <artifactId>containermanager</artifactId>
77       <version>0.4.0-SNAPSHOT</version>
78     </dependency>
79     <dependency>
80       <groupId>org.opendaylight.controller</groupId>
81       <artifactId>statisticsmanager</artifactId>
82       <version>0.4.0-SNAPSHOT</version>
83     </dependency>
84     <dependency>
85       <groupId>org.opendaylight.controller</groupId>
86       <artifactId>sal</artifactId>
87       <version>0.5.0-SNAPSHOT</version>
88     </dependency>
89     <dependency>
90       <groupId>org.opendaylight.controller.thirdparty</groupId>
91       <artifactId>com.sun.jersey.jersey-servlet</artifactId>
92       <version>1.17-SNAPSHOT</version>
93     </dependency>
94     <dependency>
95       <groupId>org.opendaylight.controller</groupId>
96       <artifactId>commons.northbound</artifactId>
97       <version>0.4.0-SNAPSHOT</version>
98     </dependency>
99     <dependency>
100       <groupId>org.codehaus.enunciate</groupId>
101       <artifactId>enunciate-core-annotations</artifactId>
102       <version>${enunciate.version}</version>
103     </dependency>
104     <dependency>
105       <groupId>org.opendaylight.controller.thirdparty</groupId>
106       <artifactId>org.apache.catalina.filters.CorsFilter</artifactId>
107       <version>7.0.42-SNAPSHOT</version>
108     </dependency>
109   </dependencies>
110 </project>