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

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.