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