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