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