Merge "Bug 624 - Separate netty and exi specific classes from netconf-util."
[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     <dependency>
37       <groupId>org.apache.karaf.features</groupId>
38       <artifactId>standard</artifactId>
39       <version>${karaf.version}</version>
40       <classifier>features</classifier>
41       <type>xml</type>
42       <scope>runtime</scope>
43     </dependency>
44     <dependency>
45       <!-- scope is compile so all features (there is only one) are installed
46             into startup.properties and the feature repo itself is not installed -->
47       <groupId>org.opendaylight.controller</groupId>
48       <artifactId>base-features</artifactId>
49       <version>${project.version}</version>
50       <type>kar</type>
51       <scope>runtime</scope>
52     </dependency>
53     <!--<dependency>
54       <groupId>org.opendaylight.controller</groupId>
55       <artifactId>base-features</artifactId>
56       <version>${project.version}</version>
57       <classifier>features</classifier>
58       <type>xml</type>
59       <scope>runtime</scope>
60     </dependency>-->
61     <!-- <dependency>
62       <groupId>org.opendaylight.controller</groupId>
63       <artifactId>controller-features</artifactId>
64       <version>${project.version}</version>
65       <classifier>features</classifier>
66       <type>xml</type>
67       <scope>runtime</scope>
68     </dependency>
69   -->
70     <dependency>
71       <groupId>org.opendaylight.controller</groupId>
72       <artifactId>mdsal-features</artifactId>
73       <version>${mdsal.version}</version>
74       <classifier>features</classifier>
75       <type>xml</type>
76       <scope>runtime</scope>
77     </dependency>
78     <dependency>
79       <groupId>org.opendaylight.yangtools</groupId>
80       <artifactId>features-file</artifactId>
81       <version>${yangtools.version}</version>
82       <classifier>features</classifier>
83       <type>xml</type>
84       <scope>runtime</scope>
85     </dependency>
86   </dependencies>
87
88   <build>
89     <pluginManagement>
90       <plugins>
91         <plugin>
92           <groupId>org.eclipse.m2e</groupId>
93           <artifactId>lifecycle-mapping</artifactId>
94           <version>1.0.0</version>
95           <configuration>
96             <lifecycleMappingMetadata>
97               <pluginExecutions>
98                 <pluginExecution>
99                   <pluginExecutionFilter>
100                     <groupId>org.apache.felix</groupId>
101                     <artifactId>maven-bundle-plugin</artifactId>
102                     <versionRange>[0,)</versionRange>
103                     <goals>
104                       <goal>cleanVersions</goal>
105                     </goals>
106                   </pluginExecutionFilter>
107                   <action>
108                     <ignore></ignore>
109                   </action>
110                 </pluginExecution>
111                 <pluginExecution>
112                   <pluginExecutionFilter>
113                     <groupId>org.apache.maven.plugins</groupId>
114                     <artifactId>maven-dependency-plugin</artifactId>
115                     <versionRange>[0,)</versionRange>
116                     <goals>
117                       <goal>copy</goal>
118                       <goal>unpack</goal>
119                     </goals>
120                   </pluginExecutionFilter>
121                   <action>
122                     <ignore></ignore>
123                   </action>
124                 </pluginExecution>
125                 <pluginExecution>
126                   <pluginExecutionFilter>
127                     <groupId>org.apache.karaf.tooling</groupId>
128                     <artifactId>karaf-maven-plugin</artifactId>
129                     <versionRange>[0,)</versionRange>
130                     <goals>
131                       <goal>commands-generate-help</goal>
132                     </goals>
133                   </pluginExecutionFilter>
134                   <action>
135                     <ignore></ignore>
136                   </action>
137                 </pluginExecution>
138                 <pluginExecution>
139                   <pluginExecutionFilter>
140                     <groupId>org.fusesource.scalate</groupId>
141                     <artifactId>maven-scalate-plugin</artifactId>
142                     <versionRange>[0,)</versionRange>
143                     <goals>
144                       <goal>sitegen</goal>
145                     </goals>
146                   </pluginExecutionFilter>
147                   <action>
148                     <ignore></ignore>
149                   </action>
150                 </pluginExecution>
151                 <pluginExecution>
152                   <pluginExecutionFilter>
153                     <groupId>org.apache.servicemix.tooling</groupId>
154                     <artifactId>depends-maven-plugin</artifactId>
155                     <versionRange>[0,)</versionRange>
156                     <goals>
157                       <goal>generate-depends-file</goal>
158                     </goals>
159                   </pluginExecutionFilter>
160                   <action>
161                     <ignore></ignore>
162                   </action>
163                 </pluginExecution>
164               </pluginExecutions>
165             </lifecycleMappingMetadata>
166           </configuration>
167         </plugin>
168       </plugins>
169     </pluginManagement>
170     <plugins>
171       <plugin>
172         <groupId>org.apache.karaf.tooling</groupId>
173         <artifactId>karaf-maven-plugin</artifactId>
174         <version>${karaf.version}</version>
175         <extensions>true</extensions>
176         <configuration>
177           <!-- no startupFeatures -->
178           <bootFeatures>
179             <feature>standard</feature>
180           </bootFeatures>
181           <!-- no installedFeatures -->
182         </configuration>
183         <executions>
184           <execution>
185             <id>process-resources</id>
186             <goals>
187               <goal>install-kars</goal>
188             </goals>
189             <phase>process-resources</phase>
190           </execution>
191           <execution>
192             <id>package</id>
193             <goals>
194               <goal>instance-create-archive</goal>
195             </goals>
196           </execution>
197         </executions>
198       </plugin>
199       <plugin>
200         <groupId>org.apache.maven.plugins</groupId>
201         <artifactId>maven-checkstyle-plugin</artifactId>
202         <version>${checkstyle.version}</version>
203         <configuration>
204           <excludes>**\/target\/,**\/bin\/,**\/target-ide\/,**\/configuration\/initial\/</excludes>
205         </configuration>
206       </plugin>
207       <plugin>
208         <artifactId>maven-resources-plugin</artifactId>
209         <version>2.6</version>
210         <executions>
211           <execution>
212             <id>copy-resources</id>
213             <goals>
214               <goal>copy-resources</goal>
215             </goals>
216             <!-- here the phase you need -->
217             <phase>process-resources</phase>
218             <configuration>
219               <outputDirectory>${basedir}/target/assembly</outputDirectory>
220               <overwrite>true</overwrite>
221               <resources>
222                 <resource>
223                   <directory>${basedir}/src/main/resources</directory>
224                 </resource>
225               </resources>
226             </configuration>
227           </execution>
228         </executions>
229       </plugin>
230     </plugins>
231   </build>
232   <scm>
233     <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
234     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
235     <tag>HEAD</tag>
236     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:Main</url>
237   </scm>
238 </project>