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