Merge "Fixes bug 2114"
[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.3.0-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       <!--
49         note, the reason the type and classifier
50         are here instead of in opendaylight/commons/opendaylight/pom.xml
51         is because they are used as jars in distribution.
52       -->
53       <version>${config.version}</version>
54       <type>xml</type>
55       <classifier>config</classifier>
56     </dependency>
57     <!-- test to validate features.xml -->
58     <dependency>
59       <groupId>org.opendaylight.yangtools</groupId>
60       <artifactId>features-test</artifactId>
61     </dependency>
62   </dependencies>
63
64   <build>
65     <resources>
66       <resource>
67         <filtering>true</filtering>
68         <directory>src/main/resources</directory>
69       </resource>
70     </resources>
71     <plugins>
72       <plugin>
73         <groupId>org.apache.maven.plugins</groupId>
74         <artifactId>maven-resources-plugin</artifactId>
75         <executions>
76           <execution>
77             <id>filter</id>
78             <goals>
79               <goal>resources</goal>
80             </goals>
81             <phase>generate-resources</phase>
82           </execution>
83         </executions>
84       </plugin>
85       <plugin>
86         <groupId>org.codehaus.mojo</groupId>
87         <artifactId>build-helper-maven-plugin</artifactId>
88         <executions>
89           <execution>
90             <id>attach-artifacts</id>
91             <goals>
92               <goal>attach-artifact</goal>
93             </goals>
94             <phase>package</phase>
95             <configuration>
96               <artifacts>
97                 <artifact>
98                   <file>${project.build.directory}/classes/${features.file}</file>
99                   <type>xml</type>
100                   <classifier>features</classifier>
101                 </artifact>
102               </artifacts>
103             </configuration>
104           </execution>
105         </executions>
106       </plugin>
107       <plugin>
108         <groupId>org.apache.maven.plugins</groupId>
109         <artifactId>maven-surefire-plugin</artifactId>
110         <configuration>
111           <systemPropertyVariables>
112             <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
113             <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
114             <karaf.distro.version>${commons.opendaylight.version}</karaf.distro.version>
115           </systemPropertyVariables>
116           <dependenciesToScan>
117            <dependency>org.opendaylight.yangtools:features-test</dependency>
118           </dependenciesToScan>
119         </configuration>
120       </plugin>
121     </plugins>
122   </build>
123   <scm>
124     <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
125     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
126     <tag>HEAD</tag>
127     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
128   </scm>
129 </project>