Bumping versions by 0.1.0 for next dev cycle
[mdsal.git] / common / parent / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!--
4  Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
5
6  This program and the accompanying materials are made available under the
7  terms of the Eclipse Public License v1.0 which accompanies this distribution,
8  and is available at http://www.eclipse.org/legal/epl-v10.html
9 -->
10 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
11          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
12
13     <parent>
14         <groupId>org.opendaylight.odlparent</groupId>
15         <artifactId>odlparent</artifactId>
16         <version>1.7.0-SNAPSHOT</version>
17         <relativePath></relativePath>
18     </parent>
19
20     <modelVersion>4.0.0</modelVersion>
21     <artifactId>mdsal-parent</artifactId>
22     <groupId>org.opendaylight.mdsal</groupId>
23     <version>2.1.0-SNAPSHOT</version>
24     <packaging>pom</packaging>
25
26     <properties>
27         <yangtools.version>0.9.0-SNAPSHOT</yangtools.version>
28         <salGeneratorPath>target/generated-sources/sal</salGeneratorPath>
29
30         <!-- FIXME: these will be upstreamed -->
31         <maven.depends.version>1.2</maven.depends.version>
32     </properties>
33
34     <dependencyManagement>
35         <dependencies>
36             <dependency>
37                  <groupId>org.opendaylight.mdsal</groupId>
38                  <artifactId>mdsal-artifacts</artifactId>
39                  <version>2.1.0-SNAPSHOT</version>
40                  <type>pom</type>
41                  <scope>import</scope>
42             </dependency>
43             <dependency>
44                  <groupId>org.opendaylight.yangtools</groupId>
45                  <artifactId>yangtools-artifacts</artifactId>
46                  <version>0.9.0-SNAPSHOT</version>
47                  <type>pom</type>
48                  <scope>import</scope>
49             </dependency>
50             <!-- Testing Dependencies -->
51             <dependency>
52                 <groupId>org.apache.maven.shared</groupId>
53                 <artifactId>maven-verifier</artifactId>
54                 <version>1.6</version>
55                 <scope>test</scope>
56             </dependency>
57             <dependency>
58                 <groupId>org.codehaus.groovy</groupId>
59                 <artifactId>groovy</artifactId>
60                 <version>2.4.5</version>
61                 <scope>test</scope>
62             </dependency>
63             <dependency>
64                 <groupId>org.codehaus.groovy</groupId>
65                 <artifactId>groovy-xml</artifactId>
66                 <version>2.4.5</version>
67                 <scope>test</scope>
68             </dependency>
69             <dependency>
70                 <groupId>org.apache.maven</groupId>
71                 <artifactId>maven-core</artifactId>
72                 <version>3.3.3</version>
73             </dependency>
74             <dependency>
75                 <groupId>org.apache.maven</groupId>
76                 <artifactId>maven-plugin-api</artifactId>
77                 <version>3.3.3</version>
78             </dependency>
79             <dependency>
80                 <groupId>org.eclipse.xtend</groupId>
81                 <artifactId>org.eclipse.xtend.lib</artifactId>
82                 <version>2.8.4</version>
83             </dependency>
84             <dependency>
85                 <groupId>org.eclipse.xtend</groupId>
86                 <artifactId>org.eclipse.xtend.lib.macro</artifactId>
87                 <version>2.8.4</version>
88             </dependency>
89             <dependency>
90                 <groupId>org.eclipse.xtext</groupId>
91                 <artifactId>org.eclipse.xtext.xbase.lib</artifactId>
92                 <version>2.8.4</version>
93             </dependency>
94
95             <dependency>
96                 <groupId>org.glassfish.jersey.ext</groupId>
97                 <artifactId>jersey-proxy-client</artifactId>
98                 <version>2.22</version>
99             </dependency>
100             <dependency>
101                 <groupId>org.glassfish.jersey.core</groupId>
102                 <artifactId>jersey-client</artifactId>
103                 <version>2.0</version>
104             </dependency>
105             <dependency>
106               <groupId>com.lmax</groupId>
107               <artifactId>disruptor</artifactId>
108               <version>3.3.2</version>
109             </dependency>
110         </dependencies>
111     </dependencyManagement>
112
113     <dependencies>
114         <dependency>
115             <groupId>org.slf4j</groupId>
116             <artifactId>slf4j-simple</artifactId>
117             <scope>test</scope>
118         </dependency>
119     </dependencies>
120
121     <build>
122         <pluginManagement>
123             <plugins>
124                 <plugin>
125                     <groupId>org.apache.maven.plugins</groupId>
126                     <artifactId>maven-jar-plugin</artifactId>
127                     <version>${maven.jar.version}</version>
128                     <configuration>
129                         <archive>
130                             <!--
131                                  Bundle OSGi Manifest created by maven-bundle-plugin
132                                  into a jar file
133                                  -->
134                             <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
135                         </archive>
136                     </configuration>
137                 </plugin>
138                 <plugin>
139                     <groupId>org.apache.felix</groupId>
140                     <artifactId>maven-bundle-plugin</artifactId>
141                     <extensions>true</extensions>
142                     <executions>
143                         <execution>
144                             <id>bundle-manifest</id>
145                             <phase>process-classes</phase>
146                             <goals>
147                                 <goal>manifest</goal>
148                             </goals>
149                         </execution>
150                     </executions>
151                 </plugin>
152
153                 <plugin>
154                     <groupId>org.eclipse.m2e</groupId>
155                     <artifactId>lifecycle-mapping</artifactId>
156                     <version>1.0.0</version>
157                     <configuration>
158                         <lifecycleMappingMetadata>
159                             <pluginExecutions>
160                                 <pluginExecution>
161                                     <pluginExecutionFilter>
162                                         <groupId>org.apache.felix</groupId>
163                                         <artifactId>maven-bundle-plugin</artifactId>
164                                         <versionRange>[1.0,)</versionRange>
165                                         <goals>
166                                             <goal>manifest</goal>
167                                         </goals>
168                                     </pluginExecutionFilter>
169                                     <action>
170                                         <execute />
171                                     </action>
172                                 </pluginExecution>
173                                 <pluginExecution>
174                                     <pluginExecutionFilter>
175                                         <groupId>org.apache.maven.plugins</groupId>
176                                         <artifactId>maven-antrun-plugin</artifactId>
177                                         <versionRange>[1.0,)</versionRange>
178                                         <goals>
179                                             <goal>run</goal>
180                                         </goals>
181                                     </pluginExecutionFilter>
182                                     <action>
183                                         <execute/>
184                                     </action>
185                                 </pluginExecution>
186                                 <pluginExecution>
187                                     <pluginExecutionFilter>
188                                         <groupId>org.opendaylight.yangtools</groupId>
189                                         <artifactId>yang-maven-plugin</artifactId>
190                                         <versionRange>[0.5,)</versionRange>
191                                         <goals>
192                                             <goal>generate-sources</goal>
193                                         </goals>
194                                      </pluginExecutionFilter>
195                                      <action>
196                                          <execute/>
197                                      </action>
198                                  </pluginExecution>
199                                  <pluginExecution>
200                                     <pluginExecutionFilter>
201                                         <groupId>org.codehaus.mojo</groupId>
202                                         <artifactId>properties-maven-plugin</artifactId>
203                                         <versionRange>1.0-alpha-2</versionRange>
204                                         <goals>
205                                             <goal>write-project-properties</goal>
206                                         </goals>
207                                      </pluginExecutionFilter>
208                                      <action>
209                                          <ignore />
210                                      </action>
211                                  </pluginExecution>
212                                  <pluginExecution>
213                                     <pluginExecutionFilter>
214                                         <groupId>org.ops4j.pax.exam</groupId>
215                                         <artifactId>maven-paxexam-plugin</artifactId>
216                                         <versionRange>1.2.4</versionRange>
217                                         <goals>
218                                             <goal>generate-depends-file</goal>
219                                         </goals>
220                                      </pluginExecutionFilter>
221                                      <action>
222                                          <ignore />
223                                      </action>
224                                  </pluginExecution>
225                                  <pluginExecution>
226                                     <pluginExecutionFilter>
227                                         <groupId>org.jacoco</groupId>
228                                         <artifactId>jacoco-maven-plugin</artifactId>
229                                         <versionRange>[0.6,)</versionRange>
230                                         <goals>
231                                             <goal>prepare-agent</goal>
232                                         </goals>
233                                      </pluginExecutionFilter>
234                                      <action>
235                                          <ignore/>
236                                      </action>
237                                  </pluginExecution>
238                                  <pluginExecution>
239                                     <pluginExecutionFilter>
240                                         <groupId>org.apache.maven.plugins</groupId>
241                                         <artifactId>maven-checkstyle-plugin</artifactId>
242                                         <versionRange>[2.12,)</versionRange>
243                                         <goals>
244                                             <goal>check</goal>
245                                         </goals>
246                                      </pluginExecutionFilter>
247                                      <action>
248                                          <execute/>
249                                      </action>
250                                  </pluginExecution>
251                             </pluginExecutions>
252                         </lifecycleMappingMetadata>
253                     </configuration>
254                 </plugin>
255                 <plugin>
256                     <groupId>org.opendaylight.yangtools</groupId>
257                     <artifactId>yang-maven-plugin</artifactId>
258                     <version>0.9.0-SNAPSHOT</version>
259                     <executions>
260                         <execution>
261                             <goals>
262                                 <goal>generate-sources</goal>
263                             </goals>
264                             <configuration>
265                                 <yangFilesRootDir>src/main/yang</yangFilesRootDir>
266                                 <codeGenerators>
267                                     <generator>
268                                         <codeGeneratorClass>
269                                             org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
270                                         </codeGeneratorClass>
271                                         <outputBaseDir>
272                                             ${salGeneratorPath}
273                                         </outputBaseDir>
274                                     </generator>
275                                     <generator>
276                                         <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
277                                         <outputBaseDir>target/site/models</outputBaseDir>
278                                     </generator>
279                                     <generator>
280                                         <codeGeneratorClass>org.opendaylight.yangtools.yang.wadl.generator.maven.WadlGenerator</codeGeneratorClass>
281                                         <outputBaseDir>target/site/models</outputBaseDir>
282                                     </generator>
283                                 </codeGenerators>
284                                 <inspectDependencies>true</inspectDependencies>
285                             </configuration>
286                         </execution>
287                     </executions>
288                     <dependencies>
289                         <dependency>
290                             <groupId>org.opendaylight.mdsal</groupId>
291                             <artifactId>maven-sal-api-gen-plugin</artifactId>
292                             <version>0.9.0-SNAPSHOT</version>
293                             <type>jar</type>
294                         </dependency>
295                     </dependencies>
296                 </plugin>
297                 <plugin>
298                     <groupId>org.ops4j.pax.exam</groupId>
299                     <artifactId>maven-paxexam-plugin</artifactId>
300                     <version>1.2.4</version>
301                     <executions>
302                         <execution>
303                             <id>generate-config</id>
304                             <goals>
305                                 <goal>generate-depends-file</goal>
306                             </goals>
307                         </execution>
308                     </executions>
309                 </plugin>
310                 <plugin>
311                     <groupId>org.apache.maven.plugins</groupId>
312                     <artifactId>maven-javadoc-plugin</artifactId>
313                     <version>${maven.javadoc.version}</version>
314                     <configuration>
315                         <stylesheetfile>stylesheet.css</stylesheetfile>
316                     </configuration>
317                     <executions>
318                         <execution>
319                             <id>attach-javadocs</id>
320                             <goals>
321                                 <goal>jar</goal>
322                             </goals>
323                         </execution>
324                         <execution>
325                             <goals>
326                                 <goal>aggregate</goal>
327                             </goals>
328                             <phase>site</phase>
329                         </execution>
330                     </executions>
331                 </plugin>
332                 <plugin>
333                     <groupId>org.codehaus.mojo</groupId>
334                     <artifactId>build-helper-maven-plugin</artifactId>
335                     <version>1.9.1</version>
336                     <executions>
337                         <execution>
338                             <phase>generate-sources</phase>
339                             <goals>
340                                 <goal>add-source</goal>
341                             </goals>
342                             <configuration>
343                                 <sources>
344                                     <source>target/generated-sources/parser</source>
345                                     <source>${salGeneratorPath}</source>
346                                     <source>${basedir}/src/main/xtend-gen</source>
347                                 </sources>
348                             </configuration>
349                         </execution>
350                     </executions>
351                 </plugin>
352                 <plugin>
353                     <groupId>org.eclipse.xtend</groupId>
354                     <artifactId>xtend-maven-plugin</artifactId>
355                     <version>2.8.4</version>
356                     <executions>
357                         <execution>
358                             <goals>
359                                 <goal>compile</goal>
360                             </goals>
361                             <configuration>
362                                 <outputDirectory>${basedir}/src/main/xtend-gen</outputDirectory>
363                             </configuration>
364                         </execution>
365                     </executions>
366                 </plugin>
367                 <plugin>
368                     <groupId>org.apache.servicemix.tooling</groupId>
369                     <artifactId>depends-maven-plugin</artifactId>
370                     <version>${maven.depends.version}</version>
371                     <executions>
372                         <execution>
373                             <id>generate-depends-file</id>
374                             <goals>
375                                 <goal>generate-depends-file</goal>
376                             </goals>
377                         </execution>
378                     </executions>
379                 </plugin>
380             </plugins>
381         </pluginManagement>
382
383         <plugins>
384             <plugin>
385                 <groupId>org.apache.maven.plugins</groupId>
386                 <artifactId>maven-enforcer-plugin</artifactId>
387                 <!--
388                 <executions>
389                     <execution>
390                         <id>enforce-dependencies</id>
391                         <configuration>
392                             <rules>
393                                 <DependencyConvergence />
394                             </rules>
395                         </configuration>
396                         <goals>
397                             <goal>enforce</goal>
398                         </goals>
399                     </execution>
400                 </executions>
401                 -->
402             </plugin>
403
404             <plugin>
405                 <artifactId>maven-clean-plugin</artifactId>
406                 <configuration>
407                     <filesets>
408                         <fileset>
409                             <directory>${basedir}/src/main/xtend-gen</directory>
410                             <includes>
411                                 <include>**</include>
412                             </includes>
413                         </fileset>
414                     </filesets>
415                 </configuration>
416             </plugin>
417             <plugin>
418                 <groupId>org.apache.maven.plugins</groupId>
419                 <artifactId>maven-jar-plugin</artifactId>
420             </plugin>
421             <plugin>
422                 <groupId>org.apache.felix</groupId>
423                 <artifactId>maven-bundle-plugin</artifactId>
424             </plugin>
425             <plugin>
426                 <groupId>org.apache.maven.plugins</groupId>
427                 <artifactId>maven-javadoc-plugin</artifactId>
428             </plugin>
429             <plugin>
430               <groupId>org.codehaus.mojo</groupId>
431               <artifactId>build-helper-maven-plugin</artifactId>
432             </plugin>
433         </plugins>
434     </build>
435 </project>