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