Merge changes Iee05b833,I58312ab8,I170fd69f
[ovsdb.git] / features / 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.ovsdb</groupId>
6     <artifactId>commons</artifactId>
7     <version>1.2.0-SNAPSHOT</version>
8     <relativePath>../commons/parent</relativePath>
9   </parent>
10   <artifactId>ovsdb-features</artifactId>
11   <name>OpenDaylight OVSDB Project Karaf Features</name>
12   <packaging>pom</packaging>
13   <properties>
14     <features.file>features.xml</features.file>
15   </properties>
16   <build>
17     <resources>
18       <resource>
19         <filtering>true</filtering>
20         <directory>src/main/resources</directory>
21       </resource>
22     </resources>
23     <plugins>
24       <plugin>
25         <groupId>org.apache.karaf.tooling</groupId>
26         <artifactId>karaf-maven-plugin</artifactId>
27         <version>${karaf.version}</version>
28         <extensions>true</extensions>
29         <executions>
30           <execution>
31             <id>features-create-kar</id>
32             <goals>
33               <goal>features-create-kar</goal>
34             </goals>
35             <configuration>
36               <featuresFile>${project.build.directory}/classes/${features.file}</featuresFile>
37             </configuration>
38           </execution>
39         </executions>
40       </plugin>
41       <plugin>
42         <groupId>org.apache.maven.plugins</groupId>
43         <artifactId>maven-resources-plugin</artifactId>
44         <executions>
45           <execution>
46             <id>filter</id>
47             <goals>
48               <goal>resources</goal>
49             </goals>
50             <phase>generate-resources</phase>
51           </execution>
52         </executions>
53       </plugin>
54       <plugin>
55         <groupId>org.codehaus.mojo</groupId>
56         <artifactId>build-helper-maven-plugin</artifactId>
57         <executions>
58           <execution>
59             <id>attach-artifacts</id>
60             <goals>
61               <goal>attach-artifact</goal>
62             </goals>
63             <phase>package</phase>
64             <configuration>
65               <artifacts>
66                 <artifact>
67                   <file>${project.build.directory}/classes/${features.file}</file>
68                   <type>xml</type>
69                   <classifier>features</classifier>
70                 </artifact>
71               </artifacts>
72             </configuration>
73           </execution>
74         </executions>
75       </plugin>
76     </plugins>
77   </build>
78   <scm>
79     <connection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</connection>
80     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</developerConnection>
81     <tag>HEAD</tag>
82     <url>https://wiki.opendaylight.org/view/OVSDB_Integration:Main</url>
83    </scm>
84 </project>