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