Merge "BUG 1966 - change message logging level (info -> trace)"
[controller.git] / features / extras / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project>
3   <modelVersion>4.0.0</modelVersion>
4   <parent>
5     <groupId>org.opendaylight.controller</groupId>
6     <artifactId>commons.opendaylight</artifactId>
7     <version>1.5.0-SNAPSHOT</version>
8     <relativePath>../../opendaylight/commons/opendaylight</relativePath>
9   </parent>
10   <artifactId>extras-features</artifactId>
11   <packaging>kar</packaging>
12   <name>${project.artifactId}</name>
13   <description>Base Features POM</description>
14   <properties>
15     <features.file>features.xml</features.file>
16     <netty3.version>3.9.2.Final</netty3.version>
17   </properties>
18   <build>
19     <resources>
20       <resource>
21         <filtering>true</filtering>
22         <directory>src/main/resources</directory>
23       </resource>
24     </resources>
25     <plugins>
26       <plugin>
27         <groupId>org.apache.karaf.tooling</groupId>
28         <artifactId>karaf-maven-plugin</artifactId>
29         <version>${karaf.version}</version>
30         <extensions>true</extensions>
31         <executions>
32           <execution>
33             <id>features-create-kar</id>
34             <goals>
35               <goal>features-create-kar</goal>
36             </goals>
37             <configuration>
38               <featuresFile>${project.build.directory}/classes/${features.file}</featuresFile>
39             </configuration>
40           </execution>
41         </executions>
42         <!-- There is no useful configuration for the kar mojo. The features-generate-descriptor mojo configuration may be useful -->
43       </plugin>
44       <plugin>
45         <groupId>org.apache.maven.plugins</groupId>
46         <artifactId>maven-resources-plugin</artifactId>
47         <executions>
48           <execution>
49             <id>filter</id>
50             <goals>
51               <goal>resources</goal>
52             </goals>
53             <phase>generate-resources</phase>
54           </execution>
55         </executions>
56       </plugin>
57       <plugin>
58         <groupId>org.codehaus.mojo</groupId>
59         <artifactId>build-helper-maven-plugin</artifactId>
60         <executions>
61           <execution>
62             <id>attach-artifacts</id>
63             <goals>
64               <goal>attach-artifact</goal>
65             </goals>
66             <phase>package</phase>
67             <configuration>
68               <artifacts>
69                 <artifact>
70                   <file>${project.build.directory}/classes/${features.file}</file>
71                   <type>xml</type>
72                   <classifier>features</classifier>
73                 </artifact>
74               </artifacts>
75             </configuration>
76           </execution>
77         </executions>
78       </plugin>
79     </plugins>
80   </build>
81 </project>