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