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