Remove duplicate properties
[controller.git] / opendaylight / md-sal / pom.xml
1 <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">
2     <modelVersion>4.0.0</modelVersion>
3
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
11     <artifactId>sal-parent</artifactId>
12     <version>1.1-SNAPSHOT</version>
13     <packaging>pom</packaging>
14     <scm>
15         <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
16         <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
17         <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
18       <tag>HEAD</tag>
19   </scm>
20
21     <modules>
22         <!-- Common APIs & Implementation -->
23         <module>sal-common</module>
24         <module>sal-common-api</module>
25         <module>sal-common-impl</module>
26         <module>sal-common-util</module>
27
28         <!-- Binding Independent -->
29         <module>sal-dom-api</module>
30         <module>sal-dom-broker</module>
31         <module>sal-dom-spi</module>
32
33         <!-- Binding Aware -->
34         <module>sal-binding-api</module>
35         <module>sal-binding-config</module>
36         <module>sal-binding-broker</module>
37
38         <module>sal-binding-util</module>
39         <module>sal-binding-dom-it</module>
40
41         <!-- Samples -->
42         <module>samples</module>
43
44         <!-- Base Models -->
45         <module>model</module>
46         <module>sal-remote</module>
47         <module>sal-restconf-broker</module>
48
49
50         <!-- Connectors -->
51         <module>sal-connector-api</module>
52         <module>sal-rest-connector</module>
53         <module>sal-netconf-connector</module>
54
55         
56         <module>inventory-manager</module>
57         <module>statistics-manager</module>
58         <module>topology-manager</module>
59         <module>forwardingrules-manager</module>
60         <module>topology-lldp-discovery</module>
61
62         <!-- Compability Packages -->
63         <module>compatibility</module>
64
65         <!-- Clustering
66         <module>remoterpc-routingtable/implementation</module>
67         <module>sal-remoterpc-connector/implementation</module>
68         <module>clustered-data-store/implementation</module>
69          -->
70         
71     </modules>
72
73
74     <profiles>
75         <profile>
76             <id>integrationtests</id>
77             <activation>
78                 <activeByDefault>false</activeByDefault>
79             </activation>
80             <modules>
81                 <module>sal-binding-it</module>
82                 <!--module>clustered-data-store/integrationtest</module -->
83                 <!--module>zeromq-routingtable/integrationtest</module -->
84                 <!--module>sal-remoterpc-connector/integrationtest</module -->
85                 <!--module>test/sal-rest-connector-it</modulei -->
86             </modules>
87         </profile>
88         <profile>
89             <id>IDE</id>
90             <activation>
91                 <property>
92                     <name>m2e.version</name>
93                 </property>
94             </activation>
95             <build>
96                 <!-- Put the IDE's build output in a folder other than target,
97                     so that IDE builds don't interact with Maven builds -->
98                 <directory>target-ide</directory>
99             </build>
100         </profile>
101     </profiles>
102
103     <properties>
104         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
105
106         <!-- Plugin Versions -->
107         <bundle.plugin.version>2.4.0</bundle.plugin.version>
108         <maven.clean.plugin.version>2.5</maven.clean.plugin.version>
109
110         <!-- Dependency Versions -->
111         <mockito.version>1.9.5</mockito.version>
112         <xtend.version>2.4.3</xtend.version>
113
114         <!-- Sonar properties using jacoco to retrieve integration test results -->
115         <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
116         <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
117         <sonar.jacoco.Reportpath>target/jacoco.exec</sonar.jacoco.Reportpath>
118         <sonar.jacoco.itReportPath>target/jacoco-it.exec</sonar.jacoco.itReportPath>
119         <sonar.host.url>https://sonar.opendaylight.org/</sonar.host.url>
120         <sonar.branch>${user.name}-private-view</sonar.branch>
121         <sonar.language>java</sonar.language>
122         <exam.version>3.0.0</exam.version>
123         <sal.version>0.7.1-SNAPSHOT</sal.version>
124     </properties>
125
126     <pluginRepositories>
127         <!-- OpenDayLight Repo Mirror -->
128         <pluginRepository>
129             <id>opendaylight-mirror</id>
130             <name>opendaylight-mirror</name>
131             <url>${nexusproxy}/groups/public/</url>
132             <snapshots>
133                 <enabled>false</enabled>
134             </snapshots>
135             <releases>
136                 <enabled>true</enabled>
137                 <updatePolicy>never</updatePolicy>
138             </releases>
139         </pluginRepository>
140         <!-- OpenDayLight Snapshot artifact -->
141         <pluginRepository>
142             <id>opendaylight-snapshot</id>
143             <name>opendaylight-snapshot</name>
144             <url> ${nexusproxy}/repositories/opendaylight.snapshot/</url>
145             <snapshots>
146                 <enabled>true</enabled>
147             </snapshots>
148             <releases>
149                 <enabled>false</enabled>
150             </releases>
151         </pluginRepository>
152     </pluginRepositories>
153
154
155     <repositories>
156         <!-- OpenDayLight Repo Mirror -->
157         <repository>
158             <id>opendaylight-mirror</id>
159             <name>opendaylight-mirror</name>
160             <url>${nexusproxy}/groups/public/</url>
161             <snapshots>
162                 <enabled>false</enabled>
163             </snapshots>
164             <releases>
165                 <enabled>true</enabled>
166                 <updatePolicy>never</updatePolicy>
167             </releases>
168         </repository>
169         <!-- OpenDayLight Snapshot artifact -->
170         <repository>
171             <id>opendaylight-snapshot</id>
172             <name>opendaylight-snapshot</name>
173             <url> ${nexusproxy}/repositories/opendaylight.snapshot/</url>
174             <snapshots>
175                 <enabled>true</enabled>
176             </snapshots>
177             <releases>
178                 <enabled>false</enabled>
179             </releases>
180         </repository>
181     </repositories>
182
183     <distributionManagement>
184         <!-- OpenDayLight Released artifact -->
185         <repository>
186             <id>opendaylight-release</id>
187             <url>${nexusproxy}/repositories/opendaylight.release/</url>
188         </repository>
189         <!-- OpenDayLight Snapshot artifact -->
190         <snapshotRepository>
191             <id>opendaylight-snapshot</id>
192             <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
193         </snapshotRepository>
194         <!-- Site deployment -->
195         <site>
196             <id>website</id>
197             <url>${sitedeploy}</url>
198         </site>
199     </distributionManagement>
200
201
202     <dependencyManagement>
203         <dependencies>
204             <dependency>
205                 <groupId>xml-apis</groupId>
206                 <artifactId>xml-apis</artifactId>
207                 <version>1.4.01</version>
208             </dependency>
209
210             <!-- YANG Tools Dependencies -->
211             <dependency>
212                 <groupId>org.opendaylight.yangtools</groupId>
213                 <artifactId>yang-binding</artifactId>
214                 <version>${yangtools.version}</version>
215             </dependency>
216             <dependency>
217                 <groupId>org.opendaylight.yangtools</groupId>
218                 <artifactId>yang-model-util</artifactId>
219                 <version>${yangtools.version}</version>
220             </dependency>
221             <dependency>
222                 <groupId>org.opendaylight.yangtools</groupId>
223                 <artifactId>yang-common</artifactId>
224                 <version>${yangtools.version}</version>
225             </dependency>
226             <dependency>
227                 <groupId>org.opendaylight.yangtools</groupId>
228                 <artifactId>yang-data-api</artifactId>
229                 <version>${yangtools.version}</version>
230             </dependency>
231             <dependency>
232                 <groupId>org.opendaylight.yangtools</groupId>
233                 <artifactId>yang-data-impl</artifactId>
234                 <version>${yangtools.version}</version>
235             </dependency>
236             <dependency>
237                 <groupId>org.opendaylight.yangtools</groupId>
238                 <artifactId>yang-model-api</artifactId>
239                 <version>${yangtools.version}</version>
240             </dependency>
241             <dependency>
242                 <groupId>org.opendaylight.yangtools</groupId>
243                 <artifactId>yang-data-util</artifactId>
244                 <version>${yangtools.version}</version>
245             </dependency>
246             <!-- SAL Dependencies -->
247             <dependency>
248                 <groupId>${project.groupId}</groupId>
249                 <artifactId>sal-connector-api</artifactId>
250                 <version>${project.version}</version>
251             </dependency>
252             <dependency>
253                 <groupId>org.opendaylight.controller</groupId>
254                 <artifactId>sal</artifactId>
255                 <version>${sal.version}</version>
256                 <exclusions>
257                     <exclusion>
258                         <groupId>org.osgi</groupId>
259                         <artifactId>org.osgi.compendium</artifactId>
260                     </exclusion>
261                 </exclusions>
262             </dependency>
263
264             <!-- Supporting Libraries -->
265             <dependency>
266                 <groupId>org.slf4j</groupId>
267                 <artifactId>slf4j-api</artifactId>
268                 <version>${slf4j.version}</version>
269             </dependency>
270             <dependency>
271                 <groupId>com.google.guava</groupId>
272                 <artifactId>guava</artifactId>
273                 <version>${guava.version}</version>
274             </dependency>
275             <dependency>
276                 <groupId>org.eclipse.xtend</groupId>
277                 <artifactId>org.eclipse.xtend.lib</artifactId>
278                 <version>${xtend.version}</version>
279             </dependency>
280             <dependency>
281                 <groupId>org.osgi</groupId>
282                 <artifactId>org.osgi.core</artifactId>
283                 <version>${osgi.core.version}</version>
284             </dependency>
285             <!-- Testing Dependencies -->
286             <dependency>
287                 <groupId>junit</groupId>
288                 <artifactId>junit</artifactId>
289                 <version>${junit.version}</version>
290                 <scope>test</scope>
291             </dependency>
292             <dependency>
293                 <groupId>org.mockito</groupId>
294                 <artifactId>mockito-all</artifactId>
295                 <version>${mockito.version}</version>
296                 <scope>test</scope>
297             </dependency>
298             <dependency>
299                 <groupId>org.opendaylight.yangtools</groupId>
300                 <artifactId>binding-generator-impl</artifactId>
301                 <version>${yangtools.version}</version>
302             </dependency>
303             <dependency>
304                 <groupId>org.opendaylight.yangtools</groupId>
305                 <artifactId>yang-parser-impl</artifactId>
306                 <version>${yangtools.version}</version>
307             </dependency>
308         </dependencies>
309     </dependencyManagement>
310     <build>
311         <pluginManagement>
312             <plugins>
313                 <plugin>
314                     <groupId>org.apache.maven.plugins</groupId>
315                     <artifactId>maven-release-plugin</artifactId>
316                     <version>${releaseplugin.version}</version>
317                 </plugin>
318                 <plugin>
319                     <groupId>org.apache.felix</groupId>
320                     <artifactId>maven-bundle-plugin</artifactId>
321                     <version>${bundle.plugin.version}</version>
322                     <extensions>true</extensions>
323                     <!--executions> <execution> <id>bundle-manifest</id>
324                         <phase>process-classes</phase> <goals> <goal>manifest</goal> </goals> </execution>
325                         </executions -->
326                     <configuration>
327                         <instructions>
328                             <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
329                         </instructions>
330                         <manifestLocation>${project.basedir}/META-INF</manifestLocation>
331                     </configuration>
332                 </plugin>
333                 <plugin>
334                     <groupId>org.eclipse.xtend</groupId>
335                     <artifactId>xtend-maven-plugin</artifactId>
336                     <version>${xtend.version}</version>
337                     <executions>
338                         <execution>
339                             <goals>
340                                 <goal>compile</goal>
341                             </goals>
342                             <configuration>
343                                 <outputDirectory>${basedir}/src/main/xtend-gen</outputDirectory>
344                             </configuration>
345                         </execution>
346                     </executions>
347                 </plugin>
348                 <plugin>
349                     <artifactId>maven-clean-plugin</artifactId>
350                     <version>${maven.clean.plugin.version}</version>
351                     <configuration>
352                         <filesets>
353                             <fileset>
354                                 <directory>${basedir}/src/main/xtend-gen</directory>
355                                 <includes>
356                                     <include>**</include>
357                                 </includes>
358                             </fileset>
359                         </filesets>
360                     </configuration>
361                 </plugin>
362                 <plugin>
363                     <groupId>org.jacoco</groupId>
364                     <artifactId>jacoco-maven-plugin</artifactId>
365                     <version>${jacoco.version}</version>
366                 </plugin>
367                 <!--This plugin's configuration is used to store Eclipse
368                     m2e settings only. It has no influence on the Maven build itself. -->
369                 <plugin>
370                     <groupId>org.eclipse.m2e</groupId>
371                     <artifactId>lifecycle-mapping</artifactId>
372                     <version>1.0.0</version>
373                     <configuration>
374                         <lifecycleMappingMetadata>
375                             <pluginExecutions>
376                                 <pluginExecution>
377                                     <pluginExecutionFilter>
378                                         <groupId>org.opendaylight.yangtools</groupId>
379                                         <artifactId>yang-maven-plugin</artifactId>
380                                         <versionRange>[0,)</versionRange>
381                                         <goals>
382                                             <goal>generate-sources</goal>
383                                         </goals>
384                                     </pluginExecutionFilter>
385                                     <action>
386                                         <ignore />
387                                     </action>
388                                 </pluginExecution>
389                                 <pluginExecution>
390                                     <pluginExecutionFilter>
391                                         <groupId>net.alchim31.maven</groupId>
392                                         <artifactId>scala-maven-plugin</artifactId>
393                                         <versionRange>[0,)</versionRange>
394                                         <goals>
395                                             <goal>compile</goal>
396                                             <goal>testCompile</goal>
397                                         </goals>
398                                     </pluginExecutionFilter>
399                                     <action>
400                                         <ignore />
401                                     </action>
402                                 </pluginExecution>
403                                 <pluginExecution>
404                                     <pluginExecutionFilter>
405                                         <groupId>org.jacoco</groupId>
406                                         <artifactId>jacoco-maven-plugin</artifactId>
407                                         <versionRange>[0,)</versionRange>
408                                         <goals>
409                                             <goal>prepare-agent</goal>
410                                         </goals>
411                                     </pluginExecutionFilter>
412                                     <action>
413                                         <ignore />
414                                     </action>
415                                 </pluginExecution>
416                             </pluginExecutions>
417                         </lifecycleMappingMetadata>
418                     </configuration>
419                 </plugin>
420             </plugins>
421
422         </pluginManagement>
423         <plugins>
424             <plugin>
425                 <groupId>org.apache.felix</groupId>
426                 <artifactId>maven-bundle-plugin</artifactId>
427             </plugin>
428             <plugin>
429                 <groupId>org.codehaus.mojo</groupId>
430                 <artifactId>build-helper-maven-plugin</artifactId>
431                 <version>1.8</version>
432                 <executions>
433                     <execution>
434                         <id>add-source</id>
435                         <phase>generate-sources</phase>
436                         <goals>
437                             <goal>add-source</goal>
438                         </goals>
439                         <configuration>
440                             <sources>
441                                 <source>${project.build.directory}/generated-sources/config</source>
442                                 <source>${project.build.directory}/generated-sources/sal</source>
443                                 <source>src/main/xtend-gen</source>
444                             </sources>
445                         </configuration>
446                     </execution>
447                 </executions>
448             </plugin>
449             <plugin>
450                 <groupId>org.apache.maven.plugins</groupId>
451                 <artifactId>maven-jar-plugin</artifactId>
452                 <version>2.4</version>
453             </plugin>
454             <plugin>
455                 <!-- FIXME: BUG-272: remove this configuration override -->
456                 <groupId>org.apache.maven.plugins</groupId>
457                 <artifactId>maven-checkstyle-plugin</artifactId>
458                 <version>${checkstyle.version}</version>
459                 <executions>
460                   <execution>
461                     <phase>none</phase>
462                   </execution>
463                 </executions>
464             </plugin>
465         </plugins>
466     </build>
467     <reporting>
468         <plugins>
469             <plugin>
470                 <groupId>org.codehaus.mojo</groupId>
471                 <artifactId>findbugs-maven-plugin</artifactId>
472                 <version>2.4.0</version>
473                 <configuration>
474                     <effort>Max</effort>
475                     <threshold>Low</threshold>
476                     <goal>site</goal>
477                 </configuration>
478             </plugin>
479             <plugin>
480                 <groupId>org.codehaus.mojo</groupId>
481                 <artifactId>jdepend-maven-plugin</artifactId>
482                 <version>2.0-beta-2</version>
483             </plugin>
484         </plugins>
485     </reporting>
486 </project>