Do not use protobuf serialization for FindPrimary and it's responses
[controller.git] / features / base / 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.4.2-SNAPSHOT</version>
8     <relativePath>../../opendaylight/commons/opendaylight</relativePath>
9   </parent>
10   <artifactId>base-features</artifactId>
11   <packaging>pom</packaging>
12   <name>${project.artifactId}</name>
13   <description>Base Features POM</description>
14   <properties>
15     <features.file>features.xml</features.file>
16   </properties>
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         <!-- There is no useful configuration for the kar mojo. The features-generate-descriptor mojo configuration may be useful -->
42       </plugin>
43       <plugin>
44         <groupId>org.apache.maven.plugins</groupId>
45         <artifactId>maven-resources-plugin</artifactId>
46         <executions>
47           <execution>
48             <id>filter</id>
49             <goals>
50               <goal>resources</goal>
51             </goals>
52             <phase>generate-resources</phase>
53           </execution>
54         </executions>
55       </plugin>
56       <plugin>
57         <groupId>org.codehaus.mojo</groupId>
58         <artifactId>build-helper-maven-plugin</artifactId>
59         <executions>
60           <execution>
61             <id>attach-artifacts</id>
62             <goals>
63               <goal>attach-artifact</goal>
64             </goals>
65             <phase>package</phase>
66             <configuration>
67               <artifacts>
68                 <artifact>
69                   <file>${project.build.directory}/classes/${features.file}</file>
70                   <type>xml</type>
71                   <classifier>features</classifier>
72                 </artifact>
73               </artifacts>
74             </configuration>
75           </execution>
76         </executions>
77       </plugin>
78     </plugins>
79   </build>
80 </project>