Merge "BUG 2820 - LLDP refactor"
[controller.git] / features / extras / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3  This program and the accompanying materials are made available under the
4  terms of the Eclipse Public License v1.0 which accompanies this distribution,
5  and is available at http://www.eclipse.org/legal/epl-v10.html
6 -->
7
8 <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">
9     <modelVersion>4.0.0</modelVersion>
10     <parent>
11         <groupId>org.opendaylight.controller</groupId>
12         <artifactId>commons.opendaylight</artifactId>
13         <version>1.6.0-SNAPSHOT</version>
14         <relativePath>../../opendaylight/commons/opendaylight</relativePath>
15     </parent>
16     <artifactId>features-extras</artifactId>
17     <groupId>org.opendaylight.controller</groupId>
18     <packaging>jar</packaging>
19     <properties>
20         <features.file>features.xml</features.file>
21         <!-- Optional TODO: Move these properties to your parent pom and possibly
22               DependencyManagement section of your parent pom -->
23         <branding.version>1.2.0-SNAPSHOT</branding.version>
24         <karaf.resources.version>1.6.0-SNAPSHOT</karaf.resources.version>
25         <karaf.version>3.0.3</karaf.version>
26         <karaf.empty.version>1.6.0-SNAPSHOT</karaf.empty.version>
27         <surefire.version>2.16</surefire.version>
28     </properties>
29     <dependencies>
30         <dependency>
31             <groupId>org.jolokia</groupId>
32             <artifactId>jolokia-osgi</artifactId>
33             <version>${jolokia.version}</version>
34         </dependency>
35         <dependency>
36             <groupId>org.opendaylight.odlparent</groupId>
37             <artifactId>features-test</artifactId>
38             <scope>test</scope>
39         </dependency>
40         <!-- dependency for opendaylight-karaf-empty for use by testing -->
41         <dependency>
42             <groupId>org.opendaylight.controller</groupId>
43             <artifactId>opendaylight-karaf-empty</artifactId>
44             <version>${karaf.empty.version}</version>
45             <type>zip</type>
46         </dependency>
47     </dependencies>
48     <build>
49         <resources>
50             <resource>
51                 <directory>src/main/resources</directory>
52                 <filtering>true</filtering>
53             </resource>
54         </resources>
55         <plugins>
56             <plugin>
57                 <groupId>org.apache.maven.plugins</groupId>
58                 <artifactId>maven-resources-plugin</artifactId>
59                 <executions>
60                     <execution>
61                         <id>filter</id>
62                         <phase>generate-resources</phase>
63                         <goals>
64                             <goal>resources</goal>
65                         </goals>
66                     </execution>
67                 </executions>
68             </plugin>
69             <plugin>
70                 <groupId>org.codehaus.mojo</groupId>
71                 <artifactId>build-helper-maven-plugin</artifactId>
72                 <executions>
73                     <execution>
74                         <id>attach-artifacts</id>
75                         <phase>package</phase>
76                         <goals>
77                             <goal>attach-artifact</goal>
78                         </goals>
79                         <configuration>
80                             <artifacts>
81                                 <artifact>
82                                     <file>${project.build.directory}/classes/${features.file}</file>
83                                     <type>xml</type>
84                                     <classifier>features</classifier>
85                                 </artifact>
86                             </artifacts>
87                         </configuration>
88                     </execution>
89                 </executions>
90             </plugin>
91             <plugin>
92                 <groupId>org.apache.maven.plugins</groupId>
93                 <artifactId>maven-surefire-plugin</artifactId>
94                 <version>${surefire.version}</version>
95                 <configuration>
96                     <systemPropertyVariables>
97                         <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
98                         <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
99                         <karaf.distro.version>${karaf.empty.version}</karaf.distro.version>
100                     </systemPropertyVariables>
101                     <dependenciesToScan>
102                         <dependency>org.opendaylight.odlparent:features-test</dependency>
103                     </dependenciesToScan>
104                 </configuration>
105             </plugin>
106         </plugins>
107     </build>
108     <scm>
109         <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
110         <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
111         <tag>HEAD</tag>
112         <url>https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=summary</url>
113     </scm>
114 </project>