Merge "Add reverse() method in Edge and Path classes"
[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
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.8.1-SNAPSHOT</sal.version>
124     </properties>
125
126     <dependencyManagement>
127         <dependencies>
128             <dependency>
129                 <groupId>xml-apis</groupId>
130                 <artifactId>xml-apis</artifactId>
131                 <version>1.4.01</version>
132             </dependency>
133
134             <!-- SAL Dependencies -->
135             <dependency>
136                 <groupId>${project.groupId}</groupId>
137                 <artifactId>sal-connector-api</artifactId>
138                 <version>${project.version}</version>
139             </dependency>
140             <dependency>
141                 <groupId>org.opendaylight.controller</groupId>
142                 <artifactId>sal-binding-api</artifactId>
143                 <version>${project.version}</version>
144             </dependency>
145             <dependency>
146                 <groupId>org.opendaylight.controller</groupId>
147                 <artifactId>sal</artifactId>
148                 <version>${sal.version}</version>
149                 <exclusions>
150                     <exclusion>
151                         <groupId>org.osgi</groupId>
152                         <artifactId>org.osgi.compendium</artifactId>
153                     </exclusion>
154                 </exclusions>
155             </dependency>
156             <dependency>
157                 <groupId>org.opendaylight.controller</groupId>
158                 <artifactId>sal-remote</artifactId>
159                 <version>${project.version}</version>
160             </dependency>
161             <dependency>
162                 <groupId>org.opendaylight.controller</groupId>
163                 <artifactId>sal-binding-util</artifactId>
164                 <version>${project.version}</version>
165             </dependency>
166
167             <!-- Supporting Libraries -->
168             <dependency>
169                 <groupId>org.slf4j</groupId>
170                 <artifactId>slf4j-api</artifactId>
171                 <version>${slf4j.version}</version>
172             </dependency>
173
174             <dependency>
175                 <groupId>org.osgi</groupId>
176                 <artifactId>org.osgi.core</artifactId>
177                 <version>${osgi.core.version}</version>
178             </dependency>
179             <dependency>
180                 <groupId>org.opendaylight.yangtools</groupId>
181                 <artifactId>binding-generator-impl</artifactId>
182                 <version>${yangtools.version}</version>
183             </dependency>
184             <dependency>
185                 <groupId>org.opendaylight.yangtools</groupId>
186                 <artifactId>yang-parser-impl</artifactId>
187                 <version>${yangtools.version}</version>
188             </dependency>
189
190             <!-- Testing Dependencies -->
191             <dependency>
192                 <groupId>org.mockito</groupId>
193                 <artifactId>mockito-all</artifactId>
194                 <version>${mockito.version}</version>
195                 <scope>test</scope>
196             </dependency>
197         </dependencies>
198     </dependencyManagement>
199     <build>
200         <pluginManagement>
201             <plugins>
202                 <plugin>
203                     <groupId>org.apache.felix</groupId>
204                     <artifactId>maven-bundle-plugin</artifactId>
205                     <version>${bundle.plugin.version}</version>
206                     <extensions>true</extensions>
207                     <!--executions> <execution> <id>bundle-manifest</id>
208                         <phase>process-classes</phase> <goals> <goal>manifest</goal> </goals> </execution>
209                         </executions -->
210                     <configuration>
211                         <instructions>
212                             <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
213                         </instructions>
214                         <manifestLocation>${project.basedir}/META-INF</manifestLocation>
215                     </configuration>
216                 </plugin>
217                 <plugin>
218                     <groupId>org.eclipse.xtend</groupId>
219                     <artifactId>xtend-maven-plugin</artifactId>
220                     <version>${xtend.version}</version>
221                     <executions>
222                         <execution>
223                             <goals>
224                                 <goal>compile</goal>
225                             </goals>
226                             <configuration>
227                                 <outputDirectory>${basedir}/src/main/xtend-gen</outputDirectory>
228                             </configuration>
229                         </execution>
230                     </executions>
231                 </plugin>
232                 <plugin>
233                     <artifactId>maven-clean-plugin</artifactId>
234                     <version>${maven.clean.plugin.version}</version>
235                     <configuration>
236                         <filesets>
237                             <fileset>
238                                 <directory>${basedir}/src/main/xtend-gen</directory>
239                                 <includes>
240                                     <include>**</include>
241                                 </includes>
242                             </fileset>
243                         </filesets>
244                     </configuration>
245                 </plugin>
246                 <plugin>
247                     <groupId>org.jacoco</groupId>
248                     <artifactId>jacoco-maven-plugin</artifactId>
249                     <version>${jacoco.version}</version>
250                 </plugin>
251                 <!--This plugin's configuration is used to store Eclipse
252                     m2e settings only. It has no influence on the Maven build itself. -->
253                 <plugin>
254                     <groupId>org.eclipse.m2e</groupId>
255                     <artifactId>lifecycle-mapping</artifactId>
256                     <version>1.0.0</version>
257                     <configuration>
258                         <lifecycleMappingMetadata>
259                             <pluginExecutions>
260                                 <pluginExecution>
261                                     <pluginExecutionFilter>
262                                         <groupId>org.opendaylight.yangtools</groupId>
263                                         <artifactId>yang-maven-plugin</artifactId>
264                                         <versionRange>[0,)</versionRange>
265                                         <goals>
266                                             <goal>generate-sources</goal>
267                                         </goals>
268                                     </pluginExecutionFilter>
269                                     <action>
270                                         <ignore />
271                                     </action>
272                                 </pluginExecution>
273                                 <pluginExecution>
274                                     <pluginExecutionFilter>
275                                         <groupId>net.alchim31.maven</groupId>
276                                         <artifactId>scala-maven-plugin</artifactId>
277                                         <versionRange>[0,)</versionRange>
278                                         <goals>
279                                             <goal>compile</goal>
280                                             <goal>testCompile</goal>
281                                         </goals>
282                                     </pluginExecutionFilter>
283                                     <action>
284                                         <ignore />
285                                     </action>
286                                 </pluginExecution>
287                                 <pluginExecution>
288                                     <pluginExecutionFilter>
289                                         <groupId>org.jacoco</groupId>
290                                         <artifactId>jacoco-maven-plugin</artifactId>
291                                         <versionRange>[0,)</versionRange>
292                                         <goals>
293                                             <goal>prepare-agent</goal>
294                                         </goals>
295                                     </pluginExecutionFilter>
296                                     <action>
297                                         <ignore />
298                                     </action>
299                                 </pluginExecution>
300                             </pluginExecutions>
301                         </lifecycleMappingMetadata>
302                     </configuration>
303                 </plugin>
304             </plugins>
305
306         </pluginManagement>
307         <plugins>
308             <plugin>
309                 <groupId>org.apache.felix</groupId>
310                 <artifactId>maven-bundle-plugin</artifactId>
311             </plugin>
312             <plugin>
313                 <groupId>org.codehaus.mojo</groupId>
314                 <artifactId>build-helper-maven-plugin</artifactId>
315                 <version>1.8</version>
316                 <executions>
317                     <execution>
318                         <id>add-source</id>
319                         <phase>generate-sources</phase>
320                         <goals>
321                             <goal>add-source</goal>
322                         </goals>
323                         <configuration>
324                             <sources>
325                                 <source>${project.build.directory}/generated-sources/config</source>
326                                 <source>${project.build.directory}/generated-sources/sal</source>
327                                 <source>src/main/xtend-gen</source>
328                             </sources>
329                         </configuration>
330                     </execution>
331                 </executions>
332             </plugin>
333             <plugin>
334                 <groupId>org.apache.maven.plugins</groupId>
335                 <artifactId>maven-jar-plugin</artifactId>
336                 <version>2.4</version>
337             </plugin>
338             <plugin>
339                 <!-- FIXME: BUG-272: remove this configuration override -->
340                 <groupId>org.apache.maven.plugins</groupId>
341                 <artifactId>maven-checkstyle-plugin</artifactId>
342                 <version>${checkstyle.version}</version>
343                 <executions>
344                   <execution>
345                     <phase>none</phase>
346                   </execution>
347                 </executions>
348             </plugin>
349         </plugins>
350     </build>
351     <reporting>
352         <plugins>
353             <plugin>
354                 <groupId>org.codehaus.mojo</groupId>
355                 <artifactId>findbugs-maven-plugin</artifactId>
356                 <version>2.4.0</version>
357                 <configuration>
358                     <effort>Max</effort>
359                     <threshold>Low</threshold>
360                     <goal>site</goal>
361                 </configuration>
362             </plugin>
363             <plugin>
364                 <groupId>org.codehaus.mojo</groupId>
365                 <artifactId>jdepend-maven-plugin</artifactId>
366                 <version>2.0-beta-2</version>
367             </plugin>
368         </plugins>
369     </reporting>
370 </project>

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.