Merge "Bug 849: Fixed NPE in Translated Data Change Events."
[controller.git] / opendaylight / distribution / opendaylight-karaf / 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.controller</groupId>
6     <artifactId>commons.opendaylight</artifactId>
7     <version>1.4.2-SNAPSHOT</version>
8     <relativePath>../../commons/opendaylight</relativePath>
9   </parent>
10   <artifactId>distribution.opendaylight-karaf</artifactId>
11   <packaging>pom</packaging>
12   <prerequisites>
13     <maven>3.0</maven>
14   </prerequisites>
15
16   <dependencies>
17     <dependency>
18       <!-- scope is compile so all features (there is only one) are installed
19             into startup.properties and the feature repo itself is not installed -->
20       <groupId>org.apache.karaf.features</groupId>
21       <artifactId>framework</artifactId>
22       <version>${karaf.version}</version>
23       <type>kar</type>
24     </dependency>
25     <dependency>
26       <groupId>org.opendaylight.controller</groupId>
27       <artifactId>config-features</artifactId>
28       <version>${config.version}</version>
29       <classifier>features</classifier>
30       <type>xml</type>
31       <scope>runtime</scope>
32     </dependency>
33     <!-- scope is runtime so the feature repo is listed in the features
34       service config file, and features may be installed using the
35       karaf-maven-plugin configuration -->
36     <!-- dependencies commented out till we can get them in
37     <dependency>
38       <groupId>org.apache.karaf.features</groupId>
39       <artifactId>standard</artifactId>
40       <version>${karaf.version}</version>
41       <classifier>features</classifier>
42       <type>xml</type>
43       <scope>runtime</scope>
44     </dependency>
45     <dependency>
46       <groupId>org.opendaylight.controller</groupId>
47       <artifactId>controller-features</artifactId>
48       <version>${project.version}</version>
49       <classifier>features</classifier>
50       <type>xml</type>
51       <scope>runtime</scope>
52     </dependency>
53   -->
54     <dependency>
55       <groupId>org.opendaylight.controller</groupId>
56       <artifactId>mdsal-features</artifactId>
57       <version>${mdsal.version}</version>
58       <classifier>features</classifier>
59       <type>xml</type>
60       <scope>runtime</scope>
61     </dependency>
62     <dependency>
63       <groupId>org.opendaylight.yangtools</groupId>
64       <artifactId>features-file</artifactId>
65       <version>${yangtools.version}</version>
66       <classifier>features</classifier>
67       <type>xml</type>
68       <scope>runtime</scope>
69     </dependency>
70   </dependencies>
71
72   <build>
73     <pluginManagement>
74       <plugins>
75         <plugin>
76           <groupId>org.eclipse.m2e</groupId>
77           <artifactId>lifecycle-mapping</artifactId>
78           <version>1.0.0</version>
79           <configuration>
80             <lifecycleMappingMetadata>
81               <pluginExecutions>
82                 <pluginExecution>
83                   <pluginExecutionFilter>
84                     <groupId>org.apache.felix</groupId>
85                     <artifactId>maven-bundle-plugin</artifactId>
86                     <versionRange>[0,)</versionRange>
87                     <goals>
88                       <goal>cleanVersions</goal>
89                     </goals>
90                   </pluginExecutionFilter>
91                   <action>
92                     <ignore></ignore>
93                   </action>
94                 </pluginExecution>
95                 <pluginExecution>
96                   <pluginExecutionFilter>
97                     <groupId>org.apache.maven.plugins</groupId>
98                     <artifactId>maven-dependency-plugin</artifactId>
99                     <versionRange>[0,)</versionRange>
100                     <goals>
101                       <goal>copy</goal>
102                       <goal>unpack</goal>
103                     </goals>
104                   </pluginExecutionFilter>
105                   <action>
106                     <ignore></ignore>
107                   </action>
108                 </pluginExecution>
109                 <pluginExecution>
110                   <pluginExecutionFilter>
111                     <groupId>org.apache.karaf.tooling</groupId>
112                     <artifactId>karaf-maven-plugin</artifactId>
113                     <versionRange>[0,)</versionRange>
114                     <goals>
115                       <goal>commands-generate-help</goal>
116                     </goals>
117                   </pluginExecutionFilter>
118                   <action>
119                     <ignore></ignore>
120                   </action>
121                 </pluginExecution>
122                 <pluginExecution>
123                   <pluginExecutionFilter>
124                     <groupId>org.fusesource.scalate</groupId>
125                     <artifactId>maven-scalate-plugin</artifactId>
126                     <versionRange>[0,)</versionRange>
127                     <goals>
128                       <goal>sitegen</goal>
129                     </goals>
130                   </pluginExecutionFilter>
131                   <action>
132                     <ignore></ignore>
133                   </action>
134                 </pluginExecution>
135                 <pluginExecution>
136                   <pluginExecutionFilter>
137                     <groupId>org.apache.servicemix.tooling</groupId>
138                     <artifactId>depends-maven-plugin</artifactId>
139                     <versionRange>[0,)</versionRange>
140                     <goals>
141                       <goal>generate-depends-file</goal>
142                     </goals>
143                   </pluginExecutionFilter>
144                   <action>
145                     <ignore></ignore>
146                   </action>
147                 </pluginExecution>
148               </pluginExecutions>
149             </lifecycleMappingMetadata>
150           </configuration>
151         </plugin>
152       </plugins>
153     </pluginManagement>
154     <plugins>
155       <plugin>
156         <groupId>org.apache.karaf.tooling</groupId>
157         <artifactId>karaf-maven-plugin</artifactId>
158         <version>${karaf.version}</version>
159         <extensions>true</extensions>
160         <configuration>
161           <!-- no startupFeatures -->
162           <bootFeatures>
163             <feature>standard</feature>
164           </bootFeatures>
165           <!-- no installedFeatures -->
166         </configuration>
167         <executions>
168           <execution>
169             <id>process-resources</id>
170             <goals>
171               <goal>install-kars</goal>
172             </goals>
173             <phase>process-resources</phase>
174           </execution>
175           <execution>
176             <id>package</id>
177             <goals>
178               <goal>instance-create-archive</goal>
179             </goals>
180           </execution>
181         </executions>
182       </plugin>
183       <plugin>
184         <groupId>org.apache.maven.plugins</groupId>
185         <artifactId>maven-checkstyle-plugin</artifactId>
186         <version>${checkstyle.version}</version>
187         <configuration>
188           <excludes>**\/target\/,**\/bin\/,**\/target-ide\/,**\/configuration\/initial\/</excludes>
189         </configuration>
190       </plugin>
191       <plugin>
192         <artifactId>maven-resources-plugin</artifactId>
193         <version>2.6</version>
194         <executions>
195           <execution>
196             <id>copy-resources</id>
197             <goals>
198               <goal>copy-resources</goal>
199             </goals>
200             <!-- here the phase you need -->
201             <phase>process-resources</phase>
202             <configuration>
203               <outputDirectory>${basedir}/target/assembly</outputDirectory>
204               <overwrite>true</overwrite>
205               <resources>
206                 <resource>
207                   <directory>${basedir}/src/main/resources</directory>
208                 </resource>
209               </resources>
210             </configuration>
211           </execution>
212         </executions>
213       </plugin>
214     </plugins>
215   </build>
216   <scm>
217     <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
218     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
219     <tag>HEAD</tag>
220     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:Main</url>
221   </scm>
222 </project>

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.