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