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