Merge "Bug 615: Removed xtend from Topology Manager"
[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
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>sal-binding-dom-it</module>
83                 <!--module>clustered-data-store/integrationtest</module -->
84                 <!--module>zeromq-routingtable/integrationtest</module -->
85                 <!--module>sal-remoterpc-connector/integrationtest</module -->
86                 <!--module>test/sal-rest-connector-it</modulei -->
87             </modules>
88         </profile>
89     </profiles>
90
91     <properties>
92         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
93
94         <!-- Plugin Versions -->
95         <bundle.plugin.version>2.4.0</bundle.plugin.version>
96         <maven.clean.plugin.version>2.5</maven.clean.plugin.version>
97
98         <!-- Dependency Versions -->
99         <mockito.version>1.9.5</mockito.version>
100
101
102         <!-- Sonar properties using jacoco to retrieve integration test results -->
103         <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
104         <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
105         <sonar.jacoco.Reportpath>target/jacoco.exec</sonar.jacoco.Reportpath>
106         <sonar.jacoco.itReportPath>target/jacoco-it.exec</sonar.jacoco.itReportPath>
107         <sonar.host.url>https://sonar.opendaylight.org/</sonar.host.url>
108         <sonar.branch>${user.name}-private-view</sonar.branch>
109         <sonar.language>java</sonar.language>
110         <exam.version>3.0.0</exam.version>
111         <sal.version>0.8.1-SNAPSHOT</sal.version>
112     </properties>
113
114     <dependencyManagement>
115         <dependencies>
116             <dependency>
117                 <groupId>xml-apis</groupId>
118                 <artifactId>xml-apis</artifactId>
119                 <version>1.4.01</version>
120             </dependency>
121
122             <!-- SAL Dependencies -->
123             <dependency>
124                 <groupId>${project.groupId}</groupId>
125                 <artifactId>sal-connector-api</artifactId>
126                 <version>${project.version}</version>
127             </dependency>
128             <dependency>
129                 <groupId>org.opendaylight.controller</groupId>
130                 <artifactId>sal-binding-api</artifactId>
131                 <version>${project.version}</version>
132             </dependency>
133             <dependency>
134                 <groupId>org.opendaylight.controller</groupId>
135                 <artifactId>sal</artifactId>
136                 <version>${sal.version}</version>
137                 <exclusions>
138                     <exclusion>
139                         <groupId>org.osgi</groupId>
140                         <artifactId>org.osgi.compendium</artifactId>
141                     </exclusion>
142                 </exclusions>
143             </dependency>
144             <dependency>
145                 <groupId>org.opendaylight.controller</groupId>
146                 <artifactId>sal-remote</artifactId>
147                 <version>${project.version}</version>
148             </dependency>
149             <dependency>
150                 <groupId>org.opendaylight.controller</groupId>
151                 <artifactId>sal-binding-util</artifactId>
152                 <version>${project.version}</version>
153             </dependency>
154
155             <!-- Supporting Libraries -->
156             <dependency>
157                 <groupId>org.slf4j</groupId>
158                 <artifactId>slf4j-api</artifactId>
159                 <version>${slf4j.version}</version>
160             </dependency>
161
162             <dependency>
163                 <groupId>org.osgi</groupId>
164                 <artifactId>org.osgi.core</artifactId>
165                 <version>${osgi.core.version}</version>
166             </dependency>
167             <dependency>
168                 <groupId>org.opendaylight.yangtools</groupId>
169                 <artifactId>binding-generator-impl</artifactId>
170                 <version>${yangtools.version}</version>
171             </dependency>
172             <dependency>
173                 <groupId>org.opendaylight.yangtools</groupId>
174                 <artifactId>yang-parser-impl</artifactId>
175                 <version>${yangtools.version}</version>
176             </dependency>
177             <!-- Testing Dependencies -->
178             <dependency>
179                 <groupId>org.mockito</groupId>
180                 <artifactId>mockito-all</artifactId>
181                 <version>${mockito.version}</version>
182                 <scope>test</scope>
183             </dependency>
184         </dependencies>
185     </dependencyManagement>
186     <build>
187         <pluginManagement>
188             <plugins>
189                 <plugin>
190                     <groupId>org.apache.felix</groupId>
191                     <artifactId>maven-bundle-plugin</artifactId>
192                     <version>${bundle.plugin.version}</version>
193                     <extensions>true</extensions>
194                     <!--executions> <execution> <id>bundle-manifest</id>
195                         <phase>process-classes</phase> <goals> <goal>manifest</goal> </goals> </execution>
196                         </executions -->
197                     <configuration>
198                         <instructions>
199                             <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
200                         </instructions>
201                         <manifestLocation>${project.basedir}/META-INF</manifestLocation>
202                     </configuration>
203                 </plugin>
204                 <plugin>
205                     <groupId>org.eclipse.xtend</groupId>
206                     <artifactId>xtend-maven-plugin</artifactId>
207                     <version>${xtend.version}</version>
208                 </plugin>
209                 <plugin>
210                     <groupId>org.jacoco</groupId>
211                     <artifactId>jacoco-maven-plugin</artifactId>
212                     <version>${jacoco.version}</version>
213                 </plugin>
214                 <!--This plugin's configuration is used to store Eclipse
215                     m2e settings only. It has no influence on the Maven build itself. -->
216                 <plugin>
217                     <groupId>org.eclipse.m2e</groupId>
218                     <artifactId>lifecycle-mapping</artifactId>
219                     <version>1.0.0</version>
220                     <configuration>
221                         <lifecycleMappingMetadata>
222                             <pluginExecutions>
223                                 <pluginExecution>
224                                     <pluginExecutionFilter>
225                                         <groupId>org.opendaylight.yangtools</groupId>
226                                         <artifactId>yang-maven-plugin</artifactId>
227                                         <versionRange>[0,)</versionRange>
228                                         <goals>
229                                             <goal>generate-sources</goal>
230                                         </goals>
231                                     </pluginExecutionFilter>
232                                     <action>
233                                         <ignore />
234                                     </action>
235                                 </pluginExecution>
236                                 <pluginExecution>
237                                     <pluginExecutionFilter>
238                                         <groupId>net.alchim31.maven</groupId>
239                                         <artifactId>scala-maven-plugin</artifactId>
240                                         <versionRange>[0,)</versionRange>
241                                         <goals>
242                                             <goal>compile</goal>
243                                             <goal>testCompile</goal>
244                                         </goals>
245                                     </pluginExecutionFilter>
246                                     <action>
247                                         <ignore />
248                                     </action>
249                                 </pluginExecution>
250                                 <pluginExecution>
251                                     <pluginExecutionFilter>
252                                         <groupId>org.jacoco</groupId>
253                                         <artifactId>jacoco-maven-plugin</artifactId>
254                                         <versionRange>[0,)</versionRange>
255                                         <goals>
256                                             <goal>prepare-agent</goal>
257                                         </goals>
258                                     </pluginExecutionFilter>
259                                     <action>
260                                         <ignore />
261                                     </action>
262                                 </pluginExecution>
263                             </pluginExecutions>
264                         </lifecycleMappingMetadata>
265                     </configuration>
266                 </plugin>
267             </plugins>
268
269         </pluginManagement>
270         <plugins>
271             <plugin>
272                 <groupId>org.apache.felix</groupId>
273                 <artifactId>maven-bundle-plugin</artifactId>
274             </plugin>
275             <plugin>
276                 <groupId>org.apache.maven.plugins</groupId>
277                 <artifactId>maven-jar-plugin</artifactId>
278                 <version>2.4</version>
279             </plugin>
280             <plugin>
281                 <!-- FIXME: BUG-272: remove this configuration override -->
282                 <groupId>org.apache.maven.plugins</groupId>
283                 <artifactId>maven-checkstyle-plugin</artifactId>
284                 <version>${checkstyle.version}</version>
285                 <executions>
286                   <execution>
287                     <phase>none</phase>
288                   </execution>
289                 </executions>
290             </plugin>
291         </plugins>
292     </build>
293     <reporting>
294         <plugins>
295             <plugin>
296                 <groupId>org.codehaus.mojo</groupId>
297                 <artifactId>findbugs-maven-plugin</artifactId>
298                 <version>2.4.0</version>
299                 <configuration>
300                     <effort>Max</effort>
301                     <threshold>Low</threshold>
302                     <goal>site</goal>
303                 </configuration>
304             </plugin>
305             <plugin>
306                 <groupId>org.codehaus.mojo</groupId>
307                 <artifactId>jdepend-maven-plugin</artifactId>
308                 <version>2.0-beta-2</version>
309             </plugin>
310         </plugins>
311     </reporting>
312 </project>