Bump odlparent to 5.0.2
[controller.git] / docs / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!--
4  Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
5
6  This program and the accompanying materials are made available under the
7  terms of the Eclipse Public License v1.0 which accompanies this distribution,
8  and is available at http://www.eclipse.org/legal/epl-v10.html
9 -->
10 <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">
11     <modelVersion>4.0.0</modelVersion>
12     <parent>
13         <groupId>org.opendaylight.odlparent</groupId>
14         <artifactId>odlparent</artifactId>
15         <version>5.0.2</version>
16         <relativePath/>
17     </parent>
18
19     <groupId>org.opendaylight.controller</groupId>
20     <artifactId>controller-docs</artifactId>
21     <packaging>jar</packaging>
22     <version>0.11.0-SNAPSHOT</version>
23     <name>${project.artifactId}</name>
24     <description>Controller documentation</description>
25
26     <dependencyManagement>
27         <dependencies>
28             <dependency>
29                 <groupId>org.opendaylight.controller</groupId>
30                 <artifactId>config-artifacts</artifactId>
31                 <version>0.12.0-SNAPSHOT</version>
32                 <type>pom</type>
33                 <scope>import</scope>
34             </dependency>
35             <dependency>
36                 <groupId>org.opendaylight.controller</groupId>
37                 <artifactId>mdsal-artifacts</artifactId>
38                 <version>1.11.0-SNAPSHOT</version>
39                 <type>pom</type>
40                 <scope>import</scope>
41             </dependency>
42         </dependencies>
43     </dependencyManagement>
44
45     <dependencies>
46         <!-- Config Subsystem remnants -->
47         <dependency>
48             <groupId>org.opendaylight.controller</groupId>
49             <artifactId>netty-config-api</artifactId>
50         </dependency>
51         <dependency>
52             <groupId>org.opendaylight.controller</groupId>
53             <artifactId>netty-event-executor-config</artifactId>
54         </dependency>
55         <dependency>
56             <groupId>org.opendaylight.controller</groupId>
57             <artifactId>netty-threadgroup-config</artifactId>
58         </dependency>
59         <dependency>
60             <groupId>org.opendaylight.controller</groupId>
61             <artifactId>netty-timer-config</artifactId>
62         </dependency>
63         <dependency>
64             <groupId>org.opendaylight.controller</groupId>
65             <artifactId>threadpool-config-api</artifactId>
66         </dependency>
67         <dependency>
68             <groupId>org.opendaylight.controller</groupId>
69             <artifactId>threadpool-config-impl</artifactId>
70         </dependency>
71
72         <!-- MD-SAL artifacts -->
73         <dependency>
74             <groupId>org.opendaylight.controller</groupId>
75             <artifactId>sal-common-api</artifactId>
76         </dependency>
77         <dependency>
78             <groupId>org.opendaylight.controller</groupId>
79             <artifactId>sal-common-impl</artifactId>
80         </dependency>
81         <dependency>
82             <groupId>org.opendaylight.controller</groupId>
83             <artifactId>sal-common-util</artifactId>
84         </dependency>
85         <dependency>
86             <groupId>org.opendaylight.controller</groupId>
87             <artifactId>sal-core-api</artifactId>
88         </dependency>
89         <dependency>
90             <groupId>org.opendaylight.controller</groupId>
91             <artifactId>sal-core-spi</artifactId>
92         </dependency>
93         <dependency>
94             <groupId>org.opendaylight.controller</groupId>
95             <artifactId>sal-core-compat</artifactId>
96         </dependency>
97         <dependency>
98             <groupId>org.opendaylight.controller</groupId>
99             <artifactId>sal-broker-impl</artifactId>
100         </dependency>
101         <dependency>
102             <groupId>org.opendaylight.controller</groupId>
103             <artifactId>sal-binding-api</artifactId>
104         </dependency>
105         <dependency>
106             <groupId>org.opendaylight.controller</groupId>
107             <artifactId>sal-binding-broker-impl</artifactId>
108         </dependency>
109         <dependency>
110             <groupId>org.opendaylight.controller</groupId>
111             <artifactId>sal-binding-util</artifactId>
112         </dependency>
113         <dependency>
114             <groupId>org.opendaylight.controller</groupId>
115             <artifactId>sal-inmemory-datastore</artifactId>
116         </dependency>
117         <dependency>
118             <groupId>org.opendaylight.controller</groupId>
119             <artifactId>mdsal-trace-api</artifactId>
120         </dependency>
121         <dependency>
122             <groupId>org.opendaylight.controller</groupId>
123             <artifactId>mdsal-trace-dom-impl</artifactId>
124         </dependency>
125         <dependency>
126             <groupId>org.opendaylight.controller</groupId>
127             <artifactId>mdsal-trace-binding-impl</artifactId>
128         </dependency>
129
130         <!-- Base model augmentations -->
131         <dependency>
132             <groupId>org.opendaylight.controller.model</groupId>
133             <artifactId>model-inventory</artifactId>
134         </dependency>
135         <dependency>
136             <groupId>org.opendaylight.controller.model</groupId>
137             <artifactId>model-topology</artifactId>
138         </dependency>
139
140         <!-- Clustered implementation -->
141         <dependency>
142             <groupId>org.opendaylight.controller</groupId>
143             <artifactId>sal-clustering-commons</artifactId>
144         </dependency>
145         <dependency>
146             <groupId>org.opendaylight.controller</groupId>
147             <artifactId>sal-distributed-datastore</artifactId>
148         </dependency>
149         <dependency>
150             <groupId>org.opendaylight.controller</groupId>
151             <artifactId>sal-remoterpc-connector</artifactId>
152         </dependency>
153         <dependency>
154             <groupId>org.opendaylight.controller</groupId>
155             <artifactId>sal-akka-raft</artifactId>
156         </dependency>
157         <dependency>
158             <groupId>org.opendaylight.controller</groupId>
159             <artifactId>cds-access-api</artifactId>
160         </dependency>
161         <dependency>
162             <groupId>org.opendaylight.controller</groupId>
163             <artifactId>cds-access-client</artifactId>
164         </dependency>
165         <dependency>
166             <groupId>org.opendaylight.controller</groupId>
167             <artifactId>sal-cluster-admin-api</artifactId>
168         </dependency>
169         <dependency>
170             <groupId>org.opendaylight.controller</groupId>
171             <artifactId>sal-cluster-admin-impl</artifactId>
172         </dependency>
173         <dependency>
174             <groupId>org.opendaylight.controller</groupId>
175             <artifactId>cds-dom-api</artifactId>
176         </dependency>
177
178         <!-- MessageBus -->
179         <dependency>
180             <groupId>org.opendaylight.controller</groupId>
181             <artifactId>messagebus-api</artifactId>
182         </dependency>
183         <dependency>
184             <groupId>org.opendaylight.controller</groupId>
185             <artifactId>messagebus-spi</artifactId>
186         </dependency>
187         <dependency>
188             <groupId>org.opendaylight.controller</groupId>
189             <artifactId>messagebus-impl</artifactId>
190         </dependency>
191         <dependency>
192             <groupId>org.opendaylight.controller</groupId>
193             <artifactId>messagebus-util</artifactId>
194         </dependency>
195     </dependencies>
196
197     <build>
198         <plugins>
199             <plugin>
200                 <artifactId>maven-dependency-plugin</artifactId>
201                 <executions>
202                     <execution>
203                         <id>unpack-sources</id>
204                         <phase>prepare-package</phase>
205                         <goals>
206                             <goal>unpack-dependencies</goal>
207                         </goals>
208                         <configuration>
209                             <silent>true</silent>
210                             <classifier>sources</classifier>
211                             <includes>org/opendaylight/**</includes>
212                             <includeGroupIds>org.opendaylight.controller</includeGroupIds>
213                             <outputDirectory>${project.build.directory}/src</outputDirectory>
214                         </configuration>
215                     </execution>
216                 </executions>
217             </plugin>
218
219             <plugin>
220                 <groupId>org.codehaus.mojo</groupId>
221                 <artifactId>build-helper-maven-plugin</artifactId>
222                 <executions>
223                     <execution>
224                         <id>add-source</id>
225                         <!-- post-compile, but before prepare-package -->
226                         <phase>process-classes</phase>
227                         <goals>
228                             <goal>add-source</goal>
229                         </goals>
230                         <configuration>
231                             <sources>
232                                 <source>${project.build.directory}/src</source>
233                             </sources>
234                         </configuration>
235                     </execution>
236                 </executions>
237             </plugin>
238
239             <plugin>
240                 <artifactId>maven-source-plugin</artifactId>
241                 <executions>
242                     <execution>
243                         <id>attach-sources</id>
244                         <!-- prepare-package so we build the source package before javadoc -->
245                         <phase>prepare-package</phase>
246                         <goals>
247                             <goal>jar-no-fork</goal>
248                         </goals>
249                     </execution>
250                 </executions>
251             </plugin>
252
253             <plugin>
254                 <artifactId>maven-clean-plugin</artifactId>
255                 <executions>
256                     <execution>
257                         <id>remove-undocumented-sources</id>
258                         <!-- Before javadoc runs -->
259                         <phase>prepare-package</phase>
260                         <goals>
261                             <goal>clean</goal>
262                         </goals>
263                         <configuration>
264                             <excludeDefaultDirectories>true</excludeDefaultDirectories>
265                             <filesets>
266                                 <fileset>
267                                     <directory>${project.build.directory}/src</directory>
268                                     <includes>
269                                         <include>**/$YangModelBindingProvider.java</include>
270                                         <include>**/$YangModuleInfoImpl.java</include>
271                                     </includes>
272                                 </fileset>
273                             </filesets>
274                         </configuration>
275                     </execution>
276                 </executions>
277             </plugin>
278             <plugin>
279                 <artifactId>maven-javadoc-plugin</artifactId>
280                 <executions>
281                     <execution>
282                         <id>attach-javadocs</id>
283                         <goals>
284                             <goal>jar</goal>
285                         </goals>
286                     </execution>
287                 </executions>
288                 <!-- FIXME: remove this section once we can activate javadoc-links profile -->
289                 <configuration combine.children="append">
290                     <links>
291                         <link>https://junit.org/junit4/javadoc/4.11/</link>
292                         <link>http://hamcrest.org/JavaHamcrest/javadoc/1.3/</link>
293                         <link>http://google.github.io/truth/api/0.42/</link>
294                         <link>https://www.slf4j.org/apidocs/</link>
295                         <link>https://xerces.apache.org/xerces2-j/javadocs/api/</link>
296                         <link>https://google.github.io/guava/releases/25.1-jre/api/docs/</link>
297                         <link>http://doc.akka.io/japi/akka/2.5.19/</link>
298                         <link>http://netty.io/4.1/api/</link>
299                         <link>https://commons.apache.org/proper/commons-lang/javadocs/api-2.6/</link>
300                         <link>https://commons.apache.org/proper/commons-lang/javadocs/api-3.8.1/</link>
301                         <link>https://commons.apache.org/proper/commons-codec/apidocs/</link>
302                     </links>
303                     <groups>
304                         <group>
305                             <title>Distributed Datastore Access API</title>
306                             <packages>org.opendaylight.controller.cluster.access:org.opendaylight.controller.cluster.access.commands:org.opendaylight.controller.cluster.access.concepts</packages>
307                         </group>
308                         <group>
309                             <title>Distributed Datastore Access Client</title>
310                             <packages>org.opendaylight.controller.cluster.access.client</packages>
311                         </group>
312                         <group>
313                             <title>Distributed Datastore DOM API extensions</title>
314                             <packages>org.opendaylight.controller.cluster.dom.api</packages>
315                         </group>
316                         <group>
317                             <title>MD-SAL Common API (deprecated)</title>
318                             <packages>org.opendaylight.controller.md.sal.common.*</packages>
319                         </group>
320                         <group>
321                             <title>MD-SAL Low-level (DOM) API (deprecated)</title>
322                             <packages>org.opendaylight.controller.md.sal.dom.api:org.opendaylight.controller.md.sal.dom.spi:org.opendaylight.controller.sal.core.*</packages>
323                         </group>
324                         <group>
325                             <title>MD-SAL Binding API (deprecated)</title>
326                             <packages>org.opendaylight.controller.sal.binding.api*:org.opendaylight.controller.md.sal.binding.api*:org.opendaylight.controller.md.sal.binding.spi:org.opendaylight.controller.md.sal.binding.compat:org.opendaylight.controller.md.sal.binding.util</packages>
327                         </group>
328                         <group>
329                             <title>Akka RAFT implementation</title>
330                             <packages>org.opendaylight.controller.cluster.raft*</packages>
331                         </group>
332                         <group>
333                             <title>MD-SAL Message Bus Bridge (experimental)</title>
334                             <packages>org.opendaylight.controller.messagebus.*:org.opendaylight.yang.gen.v1.urn.cisco.params.xml.ns.yang.messagebus.*</packages>
335                         </group>
336                         <group>
337                             <title>MD-SAL Tracing Utilities</title>
338                             <packages>org.opendaylight.controller.md.sal.trace.*:org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.mdsaltrace.rev160908*</packages>
339                         </group>
340                     </groups>
341                 </configuration>
342             </plugin>
343         </plugins>
344     </build>
345 </project>