Refactor the poms to clean up unused tags and move to odl parent
[lispflowmapping.git] / commons / parent / 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"
3         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
4         <modelVersion>4.0.0</modelVersion>
5
6         <!-- NOTE: Tags we removed: SCM: We don't use maven to pull and push code, so
7                 the SCM section does not appear to be needed. See http://maven.apache.org/scm/maven-scm-plugin/usage.html
8
9             NOTE: our ultimate goal is to remove this pom, and move everything in here
10               up to ODL parent or the root of this project, depending on
11               its relevance. Only the logical root should reference this file.
12
13               -->
14
15         <parent>
16                 <!-- We want to inherit of ODL parent so we can inherit common third party
17                         versions etc instead of redefining them here. Also we get some common definitions
18                         for plugin configuration etc. -->
19                 <groupId>org.opendaylight.odlparent</groupId>
20                 <artifactId>odlparent</artifactId>
21                 <version>1.5.0-SNAPSHOT</version>
22         </parent>
23
24         <groupId>org.opendaylight.lispflowmapping</groupId>
25         <artifactId>lispflowmapping-commons</artifactId>
26         <version>1.2.0-SNAPSHOT</version>
27         <packaging>pom</packaging>
28         <name>Parent POM</name>
29         <description></description>
30
31         <properties>
32                 <branding.version>1.1.0-SNAPSHOT</branding.version>
33                 <build.suffix>1.0.0</build.suffix>
34                 <clustering.services.version>0.6.0-SNAPSHOT</clustering.services.version>
35                 <config.version>0.3.0-SNAPSHOT</config.version>
36                 <enforcer.version>1.3.1</enforcer.version>
37                 <enunciate.version>1.26.2</enunciate.version>
38                 <feature.test.version>0.7.0-SNAPSHOT</feature.test.version>
39                 <forwardingrulesmanager.version>0.5.0</forwardingrulesmanager.version>
40                 <guava.version>14.0.1</guava.version>
41                 <ietf-inet-types.version>2010.09.24.7-SNAPSHOT</ietf-inet-types.version>
42                 <jacoco.version>0.6.2.201302030002</jacoco.version>
43                 <java.version.source>1.7</java.version.source>
44                 <java.version.target>1.7</java.version.target>
45                 <jmxGeneratorPath>src/main/yang-gen-config</jmxGeneratorPath>
46                 <karaf.empty.version>1.5.0-SNAPSHOT</karaf.empty.version>
47                 <karaf.resources.version>1.5.0-SNAPSHOT</karaf.resources.version>
48                 <karaf.version>3.0.1</karaf.version>
49                 <!-- TODO: Lets remove the variables which are duplicates of ODL or which
50                         are unused. -->
51                 <lispflowmapping.version>1.2.0-SNAPSHOT</lispflowmapping.version>
52                 <maven.compile.plugin.version>2.5.1</maven.compile.plugin.version>
53                 <mdsal.version>1.2.0-SNAPSHOT</mdsal.version>
54                 <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
55                 <nsf.version>0.5.0-SNAPSHOT</nsf.version>
56                 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
57                 <projectinfo>2.6</projectinfo>
58                 <releaseplugin.version>2.3.2</releaseplugin.version>
59                 <sal.version>0.9.0-SNAPSHOT</sal.version>
60                 <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath>
61                 <slf4j.version>1.7.2</slf4j.version>
62                 <sonar.branch>${user.name}-develop</sonar.branch>
63                 <sonar.host.url>https://sonar.opendaylight.org/</sonar.host.url>
64                 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
65                 <sonar.language>java</sonar.language>
66                 <statisticsmanager.version>0.5.0</statisticsmanager.version>
67                 <surefire.version>2.16</surefire.version>
68                 <xtend.dstdir>src/main/xtend-gen</xtend.dstdir>
69                 <yang-jmx-generator.version>1.1.0-SNAPSHOT</yang-jmx-generator.version>
70                 <yang.binding.version>0.6.1</yang.binding.version>
71                 <yang.codegen.version>0.6.1</yang.codegen.version>
72                 <yang.version>0.6.1</yang.version>
73                 <yangtools.binding.version>0.6.1</yangtools.binding.version>
74                 <yangtools.version>0.7.0-SNAPSHOT</yangtools.version>
75                 <yang.src.path>src/main/yang</yang.src.path>
76         </properties>
77
78         <dependencyManagement>
79                 <dependencies>
80                         <!-- NOTE: the "Type" jar is considered default. You only need to specify
81                                 the type when it is something other than jar. -->
82                         <dependency>
83                                 <groupId>com.google.guava</groupId>
84                                 <artifactId>guava</artifactId>
85                                 <version>${guava.version}</version>
86                         </dependency>
87                         <dependency>
88                                 <groupId>equinoxSDK381</groupId>
89                                 <artifactId>org.eclipse.osgi</artifactId>
90                                 <version>3.8.1.v20120830-144521</version>
91                         </dependency>
92                         <dependency>
93                                 <groupId>junit</groupId>
94                                 <artifactId>junit</artifactId>
95                                 <version>4.8.1</version>
96                         </dependency>
97                         <dependency>
98                                 <groupId>junit-addons</groupId>
99                                 <artifactId>junit-addons</artifactId>
100                                 <version>1.4</version>
101                         </dependency>
102                         <dependency>
103                                 <groupId>org.apache.karaf.features</groupId>
104                                 <artifactId>framework</artifactId>
105                                 <version>${karaf.version}</version>
106                                 <type>kar</type>
107                         </dependency>
108                         <dependency>
109                                 <groupId>org.hamcrest</groupId>
110                                 <artifactId>hamcrest-core</artifactId>
111                                 <version>1.3</version>
112                         </dependency>
113                         <dependency>
114                                 <groupId>org.jmock</groupId>
115                                 <artifactId>jmock-junit4</artifactId>
116                                 <version>2.6.0</version>
117                         </dependency>
118                         <dependency>
119                                 <groupId>org.jmock</groupId>
120                                 <artifactId>jmock-legacy</artifactId>
121                                 <version>2.6.0</version>
122                         </dependency>
123                         <dependency>
124                                 <groupId>org.opendaylight.controller</groupId>
125                                 <artifactId>clustering.services</artifactId>
126                                 <version>0.6.0-SNAPSHOT</version>
127                         </dependency>
128                         <dependency>
129                                 <groupId>org.opendaylight.controller</groupId>
130                                 <artifactId>commons.northbound</artifactId>
131                                 <version>0.5.0-SNAPSHOT</version>
132                         </dependency>
133                         <dependency>
134                                 <groupId>org.opendaylight.controller</groupId>
135                                 <artifactId>config-api</artifactId>
136                                 <version>0.3.0-SNAPSHOT</version>
137                         </dependency>
138                         <dependency>
139                                 <groupId>org.opendaylight.controller</groupId>
140                                 <artifactId>config-manager</artifactId>
141                                 <version>${config.version}</version>
142                         </dependency>
143                         <dependency>
144                                 <groupId>org.opendaylight.controller</groupId>
145                                 <artifactId>config-util</artifactId>
146                                 <version>0.3.0-SNAPSHOT</version>
147                         </dependency>
148                         <dependency>
149                                 <groupId>org.opendaylight.controller</groupId>
150                                 <artifactId>containermanager</artifactId>
151                                 <version>0.6.0-SNAPSHOT</version>
152                         </dependency>
153                         <dependency>
154                                 <groupId>org.opendaylight.controller</groupId>
155                                 <artifactId>distribution.opendaylight</artifactId>
156                                 <version>0.2.0-SNAPSHOT</version>
157                                 <classifier>osgipackage</classifier>
158                                 <type>zip</type>
159                                 <!-- Make sure this isn't included on any classpath -->
160                         </dependency>
161                         <dependency>
162                                 <groupId>org.opendaylight.controller</groupId>
163                                 <artifactId>features-adsal</artifactId>
164                                 <version>${sal.version}</version>
165                                 <classifier>features</classifier>
166                                 <type>xml</type>
167                         </dependency>
168                         <dependency>
169                                 <groupId>org.opendaylight.controller</groupId>
170                                 <artifactId>features-mdsal</artifactId>
171                                 <version>${mdsal.version}</version>
172                                 <classifier>features</classifier>
173                                 <type>xml</type>
174                         </dependency>
175                         <dependency>
176                                 <groupId>org.opendaylight.controller</groupId>
177                                 <artifactId>features-netconf-connector</artifactId>
178                                 <version>${mdsal.version}</version>
179                                 <classifier>features</classifier>
180                                 <type>xml</type>
181                         </dependency>
182                         <dependency>
183                                 <groupId>org.opendaylight.controller</groupId>
184                                 <artifactId>features-nsf</artifactId>
185                                 <version>${nsf.version}</version>
186                                 <classifier>features</classifier>
187                                 <type>xml</type>
188                         </dependency>
189
190                         <dependency>
191                                 <groupId>org.opendaylight.controller</groupId>
192                                 <artifactId>karaf.branding</artifactId>
193                                 <version>${branding.version}</version>
194                                 <scope>compile</scope>
195                         </dependency>
196                         <dependency>
197                                 <groupId>org.opendaylight.controller</groupId>
198                                 <artifactId>netty-event-executor-config</artifactId>
199                                 <version>${config.version}</version>
200                         </dependency>
201                         <dependency>
202                                 <groupId>org.opendaylight.controller</groupId>
203                                 <artifactId>networkconfig.neutron</artifactId>
204                                 <version>0.5.0-SNAPSHOT</version>
205                         </dependency>
206                         <dependency>
207                                 <groupId>org.opendaylight.controller</groupId>
208                                 <artifactId>opendaylight-karaf-empty</artifactId>
209                                 <version>${karaf.empty.version}</version>
210                                 <type>zip</type>
211                         </dependency>
212
213                         <dependency>
214                                 <groupId>org.opendaylight.controller</groupId>
215                                 <artifactId>opendaylight-karaf-resources</artifactId>
216                                 <version>${karaf.resources.version}</version>
217                         </dependency>
218                         <dependency>
219                                 <groupId>org.opendaylight.controller</groupId>
220                                 <artifactId>sal</artifactId>
221                                 <version>0.9.0-SNAPSHOT</version>
222                         </dependency>
223                         <dependency>
224                                 <groupId>org.opendaylight.controller</groupId>
225                                 <artifactId>sal-binding-api</artifactId>
226                                 <version>${mdsal.version}</version>
227                         </dependency>
228                         <dependency>
229                                 <groupId>org.opendaylight.controller</groupId>
230                                 <artifactId>sal-binding-broker-impl</artifactId>
231                                 <version>${mdsal.version}</version>
232                         </dependency>
233                         <dependency>
234                                 <groupId>org.opendaylight.controller</groupId>
235                                 <artifactId>sal-binding-config</artifactId>
236                                 <version>${mdsal.version}</version>
237                         </dependency>
238                         <dependency>
239                                 <groupId>org.opendaylight.controller</groupId>
240                                 <artifactId>sal-broker-impl</artifactId>
241                                 <version>${mdsal.version}</version>
242                         </dependency>
243                         <dependency>
244                                 <groupId>org.opendaylight.controller</groupId>
245                                 <artifactId>sal-common-util</artifactId>
246                                 <version>${mdsal.version}</version>
247                         </dependency>
248                         <dependency>
249                                 <groupId>org.opendaylight.controller</groupId>
250                                 <artifactId>sal-netconf-connector</artifactId>
251                                 <version>${mdsal.version}</version>
252                         </dependency>
253                         <dependency>
254                                 <groupId>org.opendaylight.controller</groupId>
255                                 <artifactId>threadpool-config-api</artifactId>
256                                 <version>${config.version}</version>
257                         </dependency>
258                         <dependency>
259                                 <groupId>org.opendaylight.controller</groupId>
260                                 <artifactId>threadpool-config-impl</artifactId>
261                                 <version>0.3.0-SNAPSHOT</version>
262                         </dependency>
263                         <dependency>
264                                 <groupId>org.opendaylight.lispflowmapping</groupId>
265                                 <artifactId>common.build.tools</artifactId>
266                                 <version>${lispflowmapping.version}</version>
267                         </dependency>
268                         <dependency>
269                                 <groupId>org.opendaylight.lispflowmapping</groupId>
270                                 <artifactId>lispflowmapping-code-commons</artifactId>
271                                 <version>${lispflowmapping.version}</version>
272                         </dependency>
273                         <dependency>
274                                 <groupId>org.opendaylight.lispflowmapping</groupId>
275                                 <artifactId>lispflowmapping-commons</artifactId>
276                                 <version>${lispflowmapping.version}</version>
277                         </dependency>
278                         <dependency>
279                                 <groupId>org.opendaylight.lispflowmapping</groupId>
280                                 <artifactId>mappingservice.api</artifactId>
281                                 <version>${lispflowmapping.version}</version>
282                         </dependency>
283                         <dependency>
284                                 <groupId>org.opendaylight.lispflowmapping</groupId>
285                                 <artifactId>mappingservice.clusterdao</artifactId>
286                                 <version>${lispflowmapping.version}</version>
287                         </dependency>
288                         <dependency>
289                                 <groupId>org.opendaylight.lispflowmapping</groupId>
290                                 <artifactId>mappingservice.config</artifactId>
291                                 <version>${lispflowmapping.version}</version>
292                         </dependency>
293                         <dependency>
294                                 <groupId>org.opendaylight.lispflowmapping</groupId>
295                                 <artifactId>mappingservice.implementation</artifactId>
296                                 <version>${lispflowmapping.version}</version>
297                         </dependency>
298
299                         <dependency>
300                                 <groupId>org.opendaylight.lispflowmapping</groupId>
301                                 <artifactId>mappingservice.netconf</artifactId>
302                                 <version>${lispflowmapping.version}</version>
303                         </dependency>
304                         <dependency>
305                                 <groupId>org.opendaylight.lispflowmapping</groupId>
306                                 <artifactId>mappingservice.neutron</artifactId>
307                                 <version>${lispflowmapping.version}</version>
308                         </dependency>
309                         <dependency>
310                                 <groupId>org.opendaylight.lispflowmapping</groupId>
311                                 <artifactId>mappingservice.northbound</artifactId>
312                                 <version>${lispflowmapping.version}</version>
313                         </dependency>
314                         <dependency>
315                                 <groupId>org.opendaylight.lispflowmapping</groupId>
316                                 <artifactId>mappingservice.southbound</artifactId>
317                                 <version>${lispflowmapping.version}</version>
318                         </dependency>
319                         <dependency>
320                                 <groupId>org.opendaylight.lispflowmapping</groupId>
321                                 <artifactId>mappingservice.yangmodel</artifactId>
322                                 <version>${lispflowmapping.version}</version>
323                         </dependency>
324                         <dependency>
325                                 <groupId>org.opendaylight.yangtools</groupId>
326                                 <artifactId>yang-binding</artifactId>
327                                 <version>0.7.0-SNAPSHOT</version>
328                         </dependency>
329                         <dependency>
330                                 <groupId>org.opendaylight.yangtools</groupId>
331                                 <artifactId>yang-common</artifactId>
332                                 <version>0.7.0-SNAPSHOT</version>
333                         </dependency>
334                         <dependency>
335                                 <groupId>org.opendaylight.yangtools</groupId>
336                                 <artifactId>yang-data-api</artifactId>
337                                 <version>0.7.0-SNAPSHOT</version>
338                         </dependency>
339                         <dependency>
340                                 <groupId>org.opendaylight.yangtools</groupId>
341                                 <artifactId>yang-data-impl</artifactId>
342                                 <version>${yangtools.version}</version>
343                         </dependency>
344                         <dependency>
345                                 <groupId>org.opendaylight.yangtools</groupId>
346                                 <artifactId>yang-data-util</artifactId>
347                                 <version>0.7.0-SNAPSHOT</version>
348                         </dependency>
349                         <dependency>
350                                 <groupId>org.opendaylight.yangtools</groupId>
351                                 <artifactId>yang-model-api</artifactId>
352                                 <version>0.7.0-SNAPSHOT</version>
353                         </dependency>
354                         <dependency>
355                                 <groupId>org.opendaylight.yangtools</groupId>
356                                 <artifactId>yang-parser-impl</artifactId>
357                                 <version>${yangtools.version}</version>
358                         </dependency>
359                         <dependency>
360                                 <groupId>org.opendaylight.yangtools.model</groupId>
361                                 <artifactId>ietf-inet-types</artifactId>
362                                 <version>2010.09.24.7-SNAPSHOT</version>
363                         </dependency>
364                         <dependency>
365                                 <groupId>org.opendaylight.yangtools.model</groupId>
366                                 <artifactId>ietf-yang-types</artifactId>
367                                 <version>2010.09.24.7-SNAPSHOT</version>
368                         </dependency>
369                         <dependency>
370                                 <groupId>org.apache.karaf.features</groupId>
371                                 <artifactId>standard</artifactId>
372                                 <version>${karaf.version}</version>
373                                 <classifier>features</classifier>
374                                 <type>xml</type>
375                                 <scope>runtime</scope>
376                         </dependency>
377
378                         <dependency>
379                                 <groupId>org.opendaylight.lispflowmapping</groupId>
380                                 <artifactId>features-lispflowmapping</artifactId>
381                                 <version>${lispflowmapping.version}</version>
382                                 <classifier>features</classifier>
383                                 <type>xml</type>
384                                 <scope>runtime</scope>
385                         </dependency>
386                         <dependency>
387                                 <groupId>org.opendaylight.lispflowmapping</groupId>
388                                 <artifactId>common.unittest.tools</artifactId>
389                                 <version>${lispflowmapping.version}</version>
390                                 <scope>test</scope>
391                         </dependency>
392                         <dependency>
393                                 <groupId>org.opendaylight.yangtools</groupId>
394                                 <artifactId>features-test</artifactId>
395                                 <version>${feature.test.version}</version>
396                                 <scope>test</scope>
397                         </dependency>
398                         <dependency>
399                                 <groupId>org.opendaylight.yangtools</groupId>
400                                 <artifactId>mockito-configuration</artifactId>
401                                 <version>${yangtools.version}</version>
402                                 <scope>test</scope>
403                         </dependency>
404                 </dependencies>
405         </dependencyManagement>
406         <build>
407                 <pluginManagement>
408                         <plugins>
409                                 <plugin>
410                                         <!-- This configures the sort pom plugin to sort properties, dependencies
411                                                 etc during a build. It helps to ensure consistent poms that are easy to read.
412                                                 While the configuration should exist at a root level it is still up to the
413                                                 individual projects to invoke it by defining the plugin in the build->plugins
414                                                 section. -->
415                                         <groupId>com.google.code.sortpom</groupId>
416                                         <artifactId>maven-sortpom-plugin</artifactId>
417                                         <version>2.2.1</version>
418                                         <configuration>
419                                                 <createBackupFile>false</createBackupFile>
420                                                 <encoding>${project.build.sourceEncoding}</encoding>
421                                                 <keepBlankLines>true</keepBlankLines>
422                                                 <lineSeparator>\n</lineSeparator>
423                                                 <nrOfIndentSpace>2</nrOfIndentSpace>
424                                                 <predefinedSortOrder>custom_1</predefinedSortOrder>
425                                                 <sortDependencies>scope,groupId,artifactId</sortDependencies>
426                                                 <sortPlugins>groupId,artifactId</sortPlugins>
427                                                 <sortProperties>true</sortProperties>
428                                         </configuration>
429                                         <executions>
430                                                 <execution>
431                                                         <goals>
432                                                                 <goal>sort</goal>
433                                                         </goals>
434                                                         <phase>verify</phase>
435                                                 </execution>
436                                         </executions>
437                                 </plugin>
438                                 <plugin>
439                                         <groupId>org.apache.felix</groupId>
440                                         <artifactId>maven-bundle-plugin</artifactId>
441                                         <version>2.4.0</version>
442                                         <extensions>true</extensions>
443                                         <configuration>
444                                                 <manifestLocation>${project.basedir}/META-INF</manifestLocation>
445                                         </configuration>
446                                 </plugin>
447                                 <plugin>
448                                         <groupId>org.apache.maven.plugins</groupId>
449                                         <artifactId>maven-assembly-plugin</artifactId>
450                                         <version>2.4</version>
451                                 </plugin>
452                                 <plugin>
453                                         <!-- TODO move up to ODL parent. -->
454                                         <!-- This is required to make sure that we delete the files which are
455                                                 being generated under the src/main directory since by default only files
456                                                 under target get cleaned up. Because the clean plugin is automatically invoked
457                                                 you do NOT need to specify it in the build->plugin section. You would only
458                                                 want to override this if you have additional folders which need to be cleaned
459                                                 up. -->
460                                         <artifactId>maven-clean-plugin</artifactId>
461                                         <configuration>
462                                                 <filesets>
463                                                         <fileset>
464                                                                 <directory>${xtend.dstdir}</directory>
465                                                                 <includes>
466                                                                         <include>**</include>
467                                                                 </includes>
468                                                         </fileset>
469                                                         <fileset>
470                                                                 <directory>${jmxGeneratorPath}</directory>
471                                                                 <includes>
472                                                                         <include>**</include>
473                                                                 </includes>
474                                                         </fileset>
475                                                         <fileset>
476                                                                 <directory>${salGeneratorPath}</directory>
477                                                                 <includes>
478                                                                         <include>**</include>
479                                                                 </includes>
480                                                         </fileset>
481                                                 </filesets>
482                                         </configuration>
483                                 </plugin>
484                                 <plugin>
485                                         <!-- this should really be defined in odl parent as it defines what
486                                                 JRE this is targeted for. -->
487                                         <groupId>org.apache.maven.plugins</groupId>
488                                         <artifactId>maven-compiler-plugin</artifactId>
489                                         <version>2.3.2</version>
490                                         <configuration>
491                                                 <source>${java.version.source}</source>
492                                                 <target>${java.version.target}</target>
493                                         </configuration>
494                                 </plugin>
495                                 <plugin>
496                                         <!-- we are overriding the default version of this plugin here... not
497                                                 sure why. -->
498                                         <groupId>org.apache.maven.plugins</groupId>
499                                         <artifactId>maven-dependency-plugin</artifactId>
500                                         <version>2.8</version>
501                                 </plugin>
502                                 <plugin>
503                                         <!-- Configures the java doc generation. Generally you should not have
504                                                 to override this unless you need to exclude other packages etc. -->
505                                         <groupId>org.apache.maven.plugins</groupId>
506                                         <artifactId>maven-javadoc-plugin</artifactId>
507                                         <version>2.8.1</version>
508                                         <configuration>
509                                                 <doclet>org.jboss.apiviz.APIviz</doclet>
510                                                 <docletArtifact>
511                                                         <groupId>org.jboss.apiviz</groupId>
512                                                         <artifactId>apiviz</artifactId>
513                                                         <version>1.3.2.GA</version>
514                                                 </docletArtifact>
515                                                 <finalName>${project.artifactId}-${project.version}</finalName>
516                                                 <useStandardDocletOptions>true</useStandardDocletOptions>
517                                                 <charset>UTF-8</charset>
518                                                 <encoding>UTF-8</encoding>
519                                                 <docencoding>UTF-8</docencoding>
520                                                 <breakiterator>true</breakiterator>
521                                                 <version>true</version>
522                                                 <author>true</author>
523                                                 <keywords>true</keywords>
524                                                 <excludePackageNames>net.sf.jnetlib.*:cern.*:corejava:*.internal:edu.uci.*</excludePackageNames>
525                                                 <failOnError>false</failOnError>
526                                         </configuration>
527                                 </plugin>
528                                 <plugin>
529                                         <groupId>org.apache.maven.plugins</groupId>
530                                         <artifactId>maven-jxr-plugin</artifactId>
531                                         <version>2.3</version>
532                                         <configuration>
533                                                 <aggregate>true</aggregate>
534                                                 <linkJavadoc>true</linkJavadoc>
535                                                 <javadocDir>target/apidocs</javadocDir>
536                                         </configuration>
537                                 </plugin>
538                                 <plugin>
539                                         <groupId>org.apache.maven.plugins</groupId>
540                                         <artifactId>maven-release-plugin</artifactId>
541                                         <version>${releaseplugin.version}</version>
542                                 </plugin>
543                                 <plugin>
544                                         <groupId>org.apache.maven.plugins</groupId>
545                                         <artifactId>maven-surefire-plugin</artifactId>
546                                         <version>2.14.1</version>
547                                 </plugin>
548                                 <plugin>
549                                         <groupId>org.codehaus.enunciate</groupId>
550                                         <artifactId>maven-enunciate-plugin</artifactId>
551                                         <version>${enunciate.version}</version>
552                                         <configuration>
553                                                 <configFile>enunciate.xml</configFile>
554                                         </configuration>
555                                         <executions>
556                                                 <execution>
557                                                         <goals>
558                                                                 <goal>docs</goal>
559                                                         </goals>
560                                                 </execution>
561                                         </executions>
562                                 </plugin>
563                                 <plugin>
564                                         <!-- TODO: This should be in ODL parent -->
565                                         <groupId>org.codehaus.mojo</groupId>
566                                         <artifactId>build-helper-maven-plugin</artifactId>
567                                         <version>1.8</version>
568                                         <executions>
569                                                 <execution>
570                                                         <id>add-source</id>
571                                                         <goals>
572                                                                 <goal>add-source</goal>
573                                                         </goals>
574                                                         <phase>generate-sources</phase>
575                                                         <configuration>
576                                                                 <sources>
577                                                                         <source>${yang.src.path}</source>
578                                                                         <source>${jmxGeneratorPath}</source>
579                                                                         <source>${salGeneratorPath}</source>
580                                                                         <source>${xtend.dstdir}</source>
581                                                                 </sources>
582                                                         </configuration>
583                                                 </execution>
584                                         </executions>
585                                 </plugin>
586
587                                 <plugin>
588                                         <groupId>org.eclipse.m2e</groupId>
589                                         <artifactId>lifecycle-mapping</artifactId>
590                                         <version>1.0.0</version>
591                                         <configuration>
592                                                 <lifecycleMappingMetadata>
593                                                         <pluginExecutions>
594                                                                 <pluginExecution>
595                                                                         <pluginExecutionFilter>
596                                                                                 <groupId>org.codehaus.mojo</groupId>
597                                                                                 <artifactId>properties-maven-plugin</artifactId>
598                                                                                 <versionRange>[0.0,)</versionRange>
599                                                                                 <goals>
600                                                                                         <goal>set-system-properties</goal>
601                                                                                 </goals>
602                                                                         </pluginExecutionFilter>
603                                                                         <action>
604                                                                                 <ignore></ignore>
605                                                                         </action>
606                                                                 </pluginExecution>
607                                                                 <pluginExecution>
608                                                                         <pluginExecutionFilter>
609                                                                                 <groupId>org.codehaus.enunciate</groupId>
610                                                                                 <artifactId>maven-enunciate-plugin</artifactId>
611                                                                                 <versionRange>[0.0,)</versionRange>
612                                                                                 <goals>
613                                                                                         <goal>docs</goal>
614                                                                                 </goals>
615                                                                         </pluginExecutionFilter>
616                                                                         <action>
617                                                                                 <ignore></ignore>
618                                                                         </action>
619                                                                 </pluginExecution>
620                                                                 <pluginExecution>
621                                                                         <pluginExecutionFilter>
622                                                                                 <groupId>org.jacoco</groupId>
623                                                                                 <artifactId>jacoco-maven-plugin</artifactId>
624                                                                                 <versionRange>[0.0,)</versionRange>
625                                                                                 <goals>
626                                                                                         <goal>prepare-agent</goal>
627                                                                                         <goal>pre-test</goal>
628                                                                                         <goal>post-test</goal>
629                                                                                 </goals>
630                                                                         </pluginExecutionFilter>
631                                                                         <action>
632                                                                                 <ignore></ignore>
633                                                                         </action>
634                                                                 </pluginExecution>
635                                                                 <pluginExecution>
636                                                                         <pluginExecutionFilter>
637                                                                                 <groupId>org.ops4j.pax.exam</groupId>
638                                                                                 <artifactId>maven-paxexam-plugin</artifactId>
639                                                                                 <versionRange>[1.2.4,)</versionRange>
640                                                                                 <goals>
641                                                                                         <goal>generate-depends-file</goal>
642                                                                                 </goals>
643                                                                         </pluginExecutionFilter>
644                                                                         <action>
645                                                                                 <ignore></ignore>
646                                                                         </action>
647                                                                 </pluginExecution>
648                                                                 <pluginExecution>
649                                                                         <pluginExecutionFilter>
650                                                                                 <groupId>org.apache.maven.plugins</groupId>
651                                                                                 <artifactId>maven-checkstyle-plugin</artifactId>
652                                                                                 <versionRange>[2.0,)</versionRange>
653                                                                                 <goals>
654                                                                                         <goal>check</goal>
655                                                                                 </goals>
656                                                                         </pluginExecutionFilter>
657                                                                         <action>
658                                                                                 <ignore></ignore>
659                                                                         </action>
660                                                                 </pluginExecution>
661                                                                 <pluginExecution>
662                                                                         <pluginExecutionFilter>
663                                                                                 <groupId>org.opendaylight.yangtools</groupId>
664                                                                                 <artifactId>yang-maven-plugin</artifactId>
665                                                                                 <versionRange>[0.5,)</versionRange>
666                                                                                 <goals>
667                                                                                         <goal>generate-sources</goal>
668                                                                                 </goals>
669                                                                         </pluginExecutionFilter>
670                                                                         <action>
671                                                                                 <ignore></ignore>
672                                                                         </action>
673                                                                 </pluginExecution>
674                                                         </pluginExecutions>
675                                                 </lifecycleMappingMetadata>
676                                         </configuration>
677                                 </plugin>
678                                 <plugin>
679                                         <groupId>org.jacoco</groupId>
680                                         <artifactId>jacoco-maven-plugin</artifactId>
681                                         <version>${jacoco.version}</version>
682                                 </plugin>
683                                 <plugin>
684                                         <!-- here we are defining the default generators for yang You may need
685                                                 to override this in child poms if you want to define additional generators,
686                                                 such as the JMX generator etc. -->
687                                         <groupId>org.opendaylight.yangtools</groupId>
688                                         <artifactId>yang-maven-plugin</artifactId>
689                                         <version>${yangtools.version}</version>
690                                         <dependencies>
691                                                 <dependency>
692                                                         <groupId>org.opendaylight.yangtools</groupId>
693                                                         <artifactId>maven-sal-api-gen-plugin</artifactId>
694                                                         <version>${yangtools.version}</version>
695                                                 </dependency>
696                                         </dependencies>
697                                         <executions>
698                                                 <execution>
699                                                         <goals>
700                                                                 <goal>generate-sources</goal>
701                                                         </goals>
702                                                         <configuration>
703                                                                 <yangFilesRootDir>${yang.src.path}</yangFilesRootDir>
704                                                                 <codeGenerators>
705                                                                         <generator>
706                                                                                 <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
707                                                                                 <outputBaseDir>${salGeneratorPath}</outputBaseDir>
708                                                                         </generator>
709                                                                 </codeGenerators>
710                                                                 <inspectDependencies>true</inspectDependencies>
711                                                         </configuration>
712                                                 </execution>
713                                         </executions>
714                                 </plugin>
715                         </plugins>
716                 </pluginManagement>
717                 <plugins>
718
719                         <plugin>
720                                 <!-- This should run on ALL projects because it makes eclipse import
721                                         the correct source folders to get rid of hte red x's. This should live in
722                                         ODLPARENT. -->
723                                 <groupId>org.codehaus.mojo</groupId>
724                                 <artifactId>build-helper-maven-plugin</artifactId>
725                         </plugin>
726
727                 </plugins>
728         </build>
729
730         <reporting>
731                 <outputDirectory>${project.build.directory}/site</outputDirectory>
732                 <excludeDefaults>true</excludeDefaults>
733                 <plugins>
734                         <plugin>
735                                 <groupId>org.apache.maven.plugins</groupId>
736                                 <artifactId>maven-javadoc-plugin</artifactId>
737                                 <version>2.8.1</version>
738                                 <configuration>
739                                         <doclet>org.jboss.apiviz.APIviz</doclet>
740                                         <docletArtifact>
741                                                 <groupId>org.jboss.apiviz</groupId>
742                                                 <artifactId>apiviz</artifactId>
743                                                 <version>1.3.2.GA</version>
744                                         </docletArtifact>
745                                         <finalName>${project.artifactId}-${build.suffix}</finalName>
746                                         <useStandardDocletOptions>true</useStandardDocletOptions>
747                                         <charset>UTF-8</charset>
748                                         <encoding>UTF-8</encoding>
749                                         <docencoding>UTF-8</docencoding>
750                                         <breakiterator>true</breakiterator>
751                                         <version>true</version>
752                                         <author>true</author>
753                                         <keywords>true</keywords>
754                                         <excludePackageNames>*.internal:edu.uci.*</excludePackageNames>
755                                 </configuration>
756                         </plugin>
757                         <plugin>
758                                 <groupId>org.apache.maven.plugins</groupId>
759                                 <artifactId>maven-jxr-plugin</artifactId>
760                                 <version>2.3</version>
761                                 <configuration>
762                                         <aggregate>true</aggregate>
763                                         <linkJavadoc>true</linkJavadoc>
764                                 </configuration>
765                         </plugin>
766                         <plugin>
767                                 <groupId>org.apache.maven.plugins</groupId>
768                                 <artifactId>maven-project-info-reports-plugin</artifactId>
769                                 <version>${projectinfo}</version>
770                                 <configuration>
771                                         <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
772                                         <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
773                                 </configuration>
774                                 <reportSets>
775                                         <reportSet>
776                                                 <reports>
777                                                         <report>index</report>
778                                                         <report>project-team</report>
779                                                         <report>license</report>
780                                                         <report>mailing-list</report>
781                                                         <report>plugin-management</report>
782                                                         <report>cim</report>
783                                                         <report>issue-tracking</report>
784                                                         <report>scm</report>
785                                                         <report>summary</report>
786                                                 </reports>
787                                         </reportSet>
788                                 </reportSets>
789                         </plugin>
790                 </plugins>
791         </reporting>
792
793         <distributionManagement>
794                 <!-- Note: We want the nexus proxy property here because want to enable
795                         devs to upload this artifact using mvn deploy to other maven repositories. -->
796                 <!-- OpenDayLight Released artifact -->
797                 <repository>
798                         <id>opendaylight-release</id>
799                         <url>${nexusproxy}/repositories/opendaylight.release/</url>
800                 </repository>
801                 <!-- OpenDayLight Snapshot artifact -->
802                 <snapshotRepository>
803                         <id>opendaylight-snapshot</id>
804                         <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
805                 </snapshotRepository>
806                 <!-- Site deployment -->
807         </distributionManagement>
808
809 </project>