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