Merge "Fixed for bug : 1171 - issue while creating subnet"
[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.2.5-SNAPSHOT</version>
8     <relativePath>../../opendaylight/config/</relativePath>
9   </parent>
10   <artifactId>config-persister-features</artifactId>
11
12   <packaging>pom</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       <scope>runtime</scope>
26     </dependency>
27     <dependency>
28       <groupId>org.opendaylight.controller</groupId>
29       <artifactId>netconf-features</artifactId>
30       <version>${netconf.version}</version>
31       <classifier>features</classifier>
32       <type>xml</type>
33       <scope>runtime</scope>
34     </dependency>
35     <dependency>
36       <groupId>org.opendaylight.controller</groupId>
37       <artifactId>config-features</artifactId>
38       <version>${config.version}</version>
39       <classifier>features</classifier>
40       <type>xml</type>
41       <scope>runtime</scope>
42     </dependency>
43   </dependencies>
44
45   <build>
46     <resources>
47       <resource>
48         <filtering>true</filtering>
49         <directory>src/main/resources</directory>
50       </resource>
51     </resources>
52     <plugins>
53       <plugin>
54         <groupId>org.apache.maven.plugins</groupId>
55         <artifactId>maven-resources-plugin</artifactId>
56         <executions>
57           <execution>
58             <id>filter</id>
59             <goals>
60               <goal>resources</goal>
61             </goals>
62             <phase>generate-resources</phase>
63           </execution>
64         </executions>
65       </plugin>
66       <plugin>
67         <groupId>org.codehaus.mojo</groupId>
68         <artifactId>build-helper-maven-plugin</artifactId>
69         <executions>
70           <execution>
71             <id>attach-artifacts</id>
72             <goals>
73               <goal>attach-artifact</goal>
74             </goals>
75             <phase>package</phase>
76             <configuration>
77               <artifacts>
78                 <artifact>
79                   <file>${project.build.directory}/classes/${features.file}</file>
80                   <type>xml</type>
81                   <classifier>features</classifier>
82                 </artifact>
83               </artifacts>
84             </configuration>
85           </execution>
86         </executions>
87       </plugin>
88     </plugins>
89   </build>
90   <scm>
91     <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
92     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
93     <tag>HEAD</tag>
94     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
95   </scm>
96 </project>