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