5fbc463df32f798c757a293da391fc0bc77f76bb
[controller.git] / features / config-netty / 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>config-subsystem</artifactId>
7     <version>0.2.5-SNAPSHOT</version>
8     <relativePath>../../opendaylight/config/</relativePath>
9   </parent>
10   <artifactId>features-config-netty</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-config-persister</artifactId>
22       <classifier>features</classifier>
23       <type>xml</type>
24     </dependency>
25     <dependency>
26       <groupId>org.opendaylight.controller</groupId>
27       <artifactId>netty-event-executor-config</artifactId>
28     </dependency>
29     <dependency>
30       <groupId>org.opendaylight.controller</groupId>
31       <artifactId>netty-threadgroup-config</artifactId>
32     </dependency>
33     <dependency>
34       <groupId>org.opendaylight.controller</groupId>
35       <artifactId>netty-timer-config</artifactId>
36     </dependency>
37     <dependency>
38       <groupId>org.opendaylight.controller</groupId>
39       <artifactId>threadpool-config-api</artifactId>
40     </dependency>
41     <dependency>
42       <groupId>org.opendaylight.controller</groupId>
43       <artifactId>threadpool-config-impl</artifactId>
44     </dependency>
45     <dependency>
46       <groupId>org.opendaylight.controller</groupId>
47       <artifactId>config-netty-config</artifactId>
48     </dependency>
49     <!-- test to validate features.xml -->
50     <dependency>
51       <groupId>org.opendaylight.yangtools</groupId>
52       <artifactId>features-test</artifactId>
53     </dependency>
54   </dependencies>
55
56   <build>
57     <resources>
58       <resource>
59         <filtering>true</filtering>
60         <directory>src/main/resources</directory>
61       </resource>
62     </resources>
63     <plugins>
64       <plugin>
65         <groupId>org.apache.maven.plugins</groupId>
66         <artifactId>maven-resources-plugin</artifactId>
67         <executions>
68           <execution>
69             <id>filter</id>
70             <goals>
71               <goal>resources</goal>
72             </goals>
73             <phase>generate-resources</phase>
74           </execution>
75         </executions>
76       </plugin>
77       <plugin>
78         <groupId>org.codehaus.mojo</groupId>
79         <artifactId>build-helper-maven-plugin</artifactId>
80         <executions>
81           <execution>
82             <id>attach-artifacts</id>
83             <goals>
84               <goal>attach-artifact</goal>
85             </goals>
86             <phase>package</phase>
87             <configuration>
88               <artifacts>
89                 <artifact>
90                   <file>${project.build.directory}/classes/${features.file}</file>
91                   <type>xml</type>
92                   <classifier>features</classifier>
93                 </artifact>
94               </artifacts>
95             </configuration>
96           </execution>
97         </executions>
98       </plugin>
99       <plugin>
100         <groupId>org.apache.maven.plugins</groupId>
101         <artifactId>maven-surefire-plugin</artifactId>
102         <configuration>
103           <systemPropertyVariables>
104             <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
105             <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
106             <karaf.distro.version>${commons.opendaylight.version}</karaf.distro.version>
107           </systemPropertyVariables>
108           <dependenciesToScan>
109            <dependency>org.opendaylight.yangtools:features-test</dependency>
110           </dependenciesToScan>
111         </configuration>
112       </plugin>
113     </plugins>
114   </build>
115   <scm>
116     <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
117     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
118     <tag>HEAD</tag>
119     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
120   </scm>
121 </project>