90c088eaba2aab2911bdc65fbbba281af094ecb4
[controller.git] / features / netconf / 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>netconf-subsystem</artifactId>
7     <version>0.2.5-SNAPSHOT</version>
8     <relativePath>../../opendaylight/netconf</relativePath>
9   </parent>
10   <artifactId>netconf-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.controller</groupId>
21       <artifactId>config-features</artifactId>
22       <version>${config.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>features-odl-protocol-framework</artifactId>
30       <version>${protocol-framework.version}</version>
31       <classifier>features</classifier>
32       <type>xml</type>
33       <scope>runtime</scope>
34     </dependency>
35   </dependencies>
36
37   <build>
38     <resources>
39       <resource>
40         <filtering>true</filtering>
41         <directory>src/main/resources</directory>
42       </resource>
43     </resources>
44     <plugins>
45       <plugin>
46         <groupId>org.apache.maven.plugins</groupId>
47         <artifactId>maven-resources-plugin</artifactId>
48         <executions>
49           <execution>
50             <id>filter</id>
51             <goals>
52               <goal>resources</goal>
53             </goals>
54             <phase>generate-resources</phase>
55           </execution>
56         </executions>
57       </plugin>
58       <plugin>
59         <groupId>org.codehaus.mojo</groupId>
60         <artifactId>build-helper-maven-plugin</artifactId>
61         <executions>
62           <execution>
63             <id>attach-artifacts</id>
64             <goals>
65               <goal>attach-artifact</goal>
66             </goals>
67             <phase>package</phase>
68             <configuration>
69               <artifacts>
70                 <artifact>
71                   <file>${project.build.directory}/classes/${features.file}</file>
72                   <type>xml</type>
73                   <classifier>features</classifier>
74                 </artifact>
75               </artifacts>
76             </configuration>
77           </execution>
78         </executions>
79       </plugin>
80     </plugins>
81   </build>
82   <scm>
83     <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
84     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
85     <tag>HEAD</tag>
86     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
87   </scm>
88 </project>