Merge "Turn on feature testing for those features that pass"
[controller.git] / features / config / 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</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.yangtools</groupId>
21       <artifactId>features-yangtools</artifactId>
22       <version>${yangtools.version}</version>
23       <classifier>features</classifier>
24       <type>xml</type>
25     </dependency>
26     <dependency>
27       <groupId>org.opendaylight.controller</groupId>
28       <artifactId>sal-common</artifactId>
29     </dependency>
30     <dependency>
31       <groupId>org.opendaylight.controller</groupId>
32       <artifactId>sal-common-api</artifactId>
33     </dependency>
34     <dependency>
35       <groupId>org.opendaylight.controller</groupId>
36       <artifactId>sal-common-impl</artifactId>
37     </dependency>
38     <dependency>
39       <groupId>org.opendaylight.controller</groupId>
40       <artifactId>sal-common-util</artifactId>
41     </dependency>
42     <dependency>
43       <groupId>org.opendaylight.controller</groupId>
44       <artifactId>config-api</artifactId>
45     </dependency>
46     <dependency>
47       <groupId>org.opendaylight.controller</groupId>
48       <artifactId>netty-config-api</artifactId>
49     </dependency>
50     <dependency>
51       <groupId>io.netty</groupId>
52       <artifactId>netty-transport</artifactId>
53     </dependency>
54     <dependency>
55       <groupId>io.netty</groupId>
56       <artifactId>netty-common</artifactId>
57     </dependency>
58     <dependency>
59       <groupId>io.netty</groupId>
60       <artifactId>netty-buffer</artifactId>
61     </dependency>
62     <dependency>
63       <groupId>org.opendaylight.controller</groupId>
64       <artifactId>config-util</artifactId>
65     </dependency>
66     <dependency>
67       <groupId>org.opendaylight.controller</groupId>
68       <artifactId>yang-jmx-generator</artifactId>
69     </dependency>
70     <dependency>
71       <groupId>org.opendaylight.controller</groupId>
72       <artifactId>shutdown-api</artifactId>
73     </dependency>
74     <dependency>
75       <groupId>org.opendaylight.controller</groupId>
76       <artifactId>shutdown-impl</artifactId>
77     </dependency>
78     <dependency>
79       <groupId>org.osgi</groupId>
80       <artifactId>org.osgi.core</artifactId>
81     </dependency>
82     <dependency>
83       <groupId>com.google.guava</groupId>
84       <artifactId>guava</artifactId>
85     </dependency>
86     <dependency>
87       <groupId>org.javassist</groupId>
88       <artifactId>javassist</artifactId>
89     </dependency>
90     <dependency>
91       <groupId>org.opendaylight.controller</groupId>
92       <artifactId>config-manager</artifactId>
93     </dependency>
94     <!-- test the features.xml -->
95     <dependency>
96       <groupId>org.opendaylight.yangtools</groupId>
97       <artifactId>features-test</artifactId>
98     </dependency>
99   </dependencies>
100
101   <build>
102     <resources>
103       <resource>
104         <filtering>true</filtering>
105         <directory>src/main/resources</directory>
106       </resource>
107     </resources>
108     <plugins>
109       <plugin>
110         <groupId>org.apache.maven.plugins</groupId>
111         <artifactId>maven-resources-plugin</artifactId>
112         <executions>
113           <execution>
114             <id>filter</id>
115             <goals>
116               <goal>resources</goal>
117             </goals>
118             <phase>generate-resources</phase>
119           </execution>
120         </executions>
121       </plugin>
122       <plugin>
123         <groupId>org.codehaus.mojo</groupId>
124         <artifactId>build-helper-maven-plugin</artifactId>
125         <executions>
126           <execution>
127             <id>attach-artifacts</id>
128             <goals>
129               <goal>attach-artifact</goal>
130             </goals>
131             <phase>package</phase>
132             <configuration>
133               <artifacts>
134                 <artifact>
135                   <file>${project.build.directory}/classes/${features.file}</file>
136                   <type>xml</type>
137                   <classifier>features</classifier>
138                 </artifact>
139               </artifacts>
140             </configuration>
141           </execution>
142         </executions>
143       </plugin>
144       <plugin>
145         <groupId>org.apache.maven.plugins</groupId>
146         <artifactId>maven-surefire-plugin</artifactId>
147         <configuration>
148           <systemPropertyVariables>
149             <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
150             <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
151             <karaf.distro.version>${commons.opendaylight.version}</karaf.distro.version>
152           </systemPropertyVariables>
153           <dependenciesToScan>
154            <dependency>org.opendaylight.yangtools:features-test</dependency>
155           </dependenciesToScan>
156         </configuration>
157       </plugin>
158     </plugins>
159   </build>
160   <scm>
161     <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
162     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
163     <tag>HEAD</tag>
164     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
165   </scm>
166 </project>