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