BUG-2637: migrate features
[controller.git] / features / flow / 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>sal-parent</artifactId>
7     <version>1.2.0-SNAPSHOT</version>
8     <relativePath>../../opendaylight/md-sal</relativePath>
9   </parent>
10   <artifactId>features-flow</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.controller</groupId>
21       <artifactId>features-mdsal</artifactId>
22       <version>${mdsal.version}</version>
23       <classifier>features</classifier>
24       <type>xml</type>
25     </dependency>
26
27     <dependency>
28       <groupId>org.opendaylight.controller.model</groupId>
29       <artifactId>model-inventory</artifactId>
30     </dependency>
31     <dependency>
32       <groupId>org.opendaylight.controller.model</groupId>
33       <artifactId>model-topology</artifactId>
34     </dependency>
35
36     <!-- test to validate features.xml -->
37     <dependency>
38       <groupId>org.opendaylight.yangtools</groupId>
39       <artifactId>features-test</artifactId>
40     </dependency>
41   </dependencies>
42
43   <build>
44     <resources>
45       <resource>
46         <filtering>true</filtering>
47         <directory>src/main/resources</directory>
48       </resource>
49     </resources>
50     <plugins>
51       <plugin>
52         <groupId>org.apache.maven.plugins</groupId>
53         <artifactId>maven-resources-plugin</artifactId>
54         <executions>
55           <execution>
56             <id>filter</id>
57             <goals>
58               <goal>resources</goal>
59             </goals>
60             <phase>generate-resources</phase>
61           </execution>
62         </executions>
63       </plugin>
64       <plugin>
65         <groupId>org.codehaus.mojo</groupId>
66         <artifactId>build-helper-maven-plugin</artifactId>
67         <executions>
68           <execution>
69             <id>attach-artifacts</id>
70             <goals>
71               <goal>attach-artifact</goal>
72             </goals>
73             <phase>package</phase>
74             <configuration>
75               <artifacts>
76                 <artifact>
77                   <file>${project.build.directory}/classes/${features.file}</file>
78                   <type>xml</type>
79                   <classifier>features</classifier>
80                 </artifact>
81               </artifacts>
82             </configuration>
83           </execution>
84         </executions>
85       </plugin>
86       <plugin>
87         <groupId>org.apache.maven.plugins</groupId>
88         <artifactId>maven-surefire-plugin</artifactId>
89         <configuration>
90           <systemPropertyVariables>
91             <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
92             <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
93             <karaf.distro.version>${commons.opendaylight.version}</karaf.distro.version>
94           </systemPropertyVariables>
95           <dependenciesToScan>
96            <dependency>org.opendaylight.yangtools:features-test</dependency>
97           </dependenciesToScan>
98         </configuration>
99       </plugin>
100     </plugins>
101   </build>
102   <scm>
103     <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
104     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
105     <tag>HEAD</tag>
106     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
107   </scm>
108 </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.