Handle more specific BindException and IOException
[controller.git] / features / flow / 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>sal-parent</artifactId>
7     <version>1.2.0-SNAPSHOT</version>
8     <relativePath>../../opendaylight/md-sal</relativePath>
9   </parent>
10   <artifactId>features-flow</artifactId>
11
12   <packaging>jar</packaging>
13
14   <properties>
15     <features.file>features.xml</features.file>
16   </properties>
17
18   <dependencies>
19     <dependency>
20       <groupId>org.opendaylight.controller</groupId>
21       <artifactId>features-mdsal</artifactId>
22       <version>${mdsal.version}</version>
23       <classifier>features</classifier>
24       <type>xml</type>
25     </dependency>
26     <dependency>
27       <groupId>org.opendaylight.controller.model</groupId>
28       <artifactId>model-flow-base</artifactId>
29     </dependency>
30     <dependency>
31       <groupId>org.opendaylight.controller.model</groupId>
32       <artifactId>model-flow-service</artifactId>
33     </dependency>
34     <dependency>
35       <groupId>org.opendaylight.controller.model</groupId>
36       <artifactId>model-flow-statistics</artifactId>
37     </dependency>
38     <dependency>
39       <groupId>org.opendaylight.controller.model</groupId>
40       <artifactId>model-inventory</artifactId>
41     </dependency>
42     <dependency>
43       <groupId>org.opendaylight.controller.model</groupId>
44       <artifactId>model-topology</artifactId>
45     </dependency>
46     <dependency>
47       <groupId>org.opendaylight.controller.md</groupId>
48       <artifactId>topology-manager</artifactId>
49     </dependency>
50     <dependency>
51       <groupId>org.opendaylight.controller.md</groupId>
52       <artifactId>topology-lldp-discovery</artifactId>
53     </dependency>
54     <dependency>
55       <groupId>org.opendaylight.controller.md</groupId>
56       <artifactId>statistics-manager</artifactId>
57     </dependency>
58     <dependency>
59       <groupId>org.opendaylight.controller.md</groupId>
60       <artifactId>inventory-manager</artifactId>
61     </dependency>
62     <dependency>
63       <groupId>org.opendaylight.controller.md</groupId>
64       <artifactId>forwardingrules-manager</artifactId>
65     </dependency>
66     <!-- test to validate features.xml -->
67     <dependency>
68       <groupId>org.opendaylight.yangtools</groupId>
69       <artifactId>features-test</artifactId>
70     </dependency>
71   </dependencies>
72
73   <build>
74     <resources>
75       <resource>
76         <filtering>true</filtering>
77         <directory>src/main/resources</directory>
78       </resource>
79     </resources>
80     <plugins>
81       <plugin>
82         <groupId>org.apache.maven.plugins</groupId>
83         <artifactId>maven-resources-plugin</artifactId>
84         <executions>
85           <execution>
86             <id>filter</id>
87             <goals>
88               <goal>resources</goal>
89             </goals>
90             <phase>generate-resources</phase>
91           </execution>
92         </executions>
93       </plugin>
94       <plugin>
95         <groupId>org.codehaus.mojo</groupId>
96         <artifactId>build-helper-maven-plugin</artifactId>
97         <executions>
98           <execution>
99             <id>attach-artifacts</id>
100             <goals>
101               <goal>attach-artifact</goal>
102             </goals>
103             <phase>package</phase>
104             <configuration>
105               <artifacts>
106                 <artifact>
107                   <file>${project.build.directory}/classes/${features.file}</file>
108                   <type>xml</type>
109                   <classifier>features</classifier>
110                 </artifact>
111               </artifacts>
112             </configuration>
113           </execution>
114         </executions>
115       </plugin>
116       <plugin>
117         <groupId>org.apache.maven.plugins</groupId>
118         <artifactId>maven-surefire-plugin</artifactId>
119         <configuration>
120           <systemPropertyVariables>
121             <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
122             <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
123             <karaf.distro.version>${commons.opendaylight.version}</karaf.distro.version>
124           </systemPropertyVariables>
125           <dependenciesToScan>
126            <dependency>org.opendaylight.yangtools:features-test</dependency>
127           </dependenciesToScan>
128         </configuration>
129       </plugin>
130     </plugins>
131   </build>
132   <scm>
133     <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
134     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
135     <tag>HEAD</tag>
136     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
137   </scm>
138 </project>