fbc24a7b8961e74c6b53f660d9d973822accab99
[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>7.0.1</version>
16         <relativePath/>
17     </parent>
18
19     <groupId>org.opendaylight.controller</groupId>
20     <artifactId>controller-docs</artifactId>
21     <packaging>jar</packaging>
22     <version>0.12.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>controller-artifacts</artifactId>
31                 <version>1.12.0-SNAPSHOT</version>
32                 <type>pom</type>
33                 <scope>import</scope>
34             </dependency>
35         </dependencies>
36     </dependencyManagement>
37
38     <dependencies>
39         <!-- Config Subsystem remnants -->
40         <dependency>
41             <groupId>org.opendaylight.controller</groupId>
42             <artifactId>netty-config-api</artifactId>
43         </dependency>
44         <dependency>
45             <groupId>org.opendaylight.controller</groupId>
46             <artifactId>netty-event-executor-config</artifactId>
47         </dependency>
48         <dependency>
49             <groupId>org.opendaylight.controller</groupId>
50             <artifactId>netty-threadgroup-config</artifactId>
51         </dependency>
52         <dependency>
53             <groupId>org.opendaylight.controller</groupId>
54             <artifactId>netty-timer-config</artifactId>
55         </dependency>
56         <dependency>
57             <groupId>org.opendaylight.controller</groupId>
58             <artifactId>threadpool-config-api</artifactId>
59         </dependency>
60         <dependency>
61             <groupId>org.opendaylight.controller</groupId>
62             <artifactId>threadpool-config-impl</artifactId>
63         </dependency>
64
65         <!-- Base model augmentations -->
66         <dependency>
67             <groupId>org.opendaylight.controller.model</groupId>
68             <artifactId>model-inventory</artifactId>
69         </dependency>
70         <dependency>
71             <groupId>org.opendaylight.controller.model</groupId>
72             <artifactId>model-topology</artifactId>
73         </dependency>
74
75         <!-- Clustered implementation -->
76         <dependency>
77             <groupId>org.opendaylight.controller</groupId>
78             <artifactId>sal-clustering-commons</artifactId>
79         </dependency>
80         <dependency>
81             <groupId>org.opendaylight.controller</groupId>
82             <artifactId>sal-distributed-datastore</artifactId>
83         </dependency>
84         <dependency>
85             <groupId>org.opendaylight.controller</groupId>
86             <artifactId>sal-remoterpc-connector</artifactId>
87         </dependency>
88         <dependency>
89             <groupId>org.opendaylight.controller</groupId>
90             <artifactId>sal-akka-raft</artifactId>
91         </dependency>
92         <dependency>
93             <groupId>org.opendaylight.controller</groupId>
94             <artifactId>cds-access-api</artifactId>
95         </dependency>
96         <dependency>
97             <groupId>org.opendaylight.controller</groupId>
98             <artifactId>cds-access-client</artifactId>
99         </dependency>
100         <dependency>
101             <groupId>org.opendaylight.controller</groupId>
102             <artifactId>sal-cluster-admin-api</artifactId>
103         </dependency>
104         <dependency>
105             <groupId>org.opendaylight.controller</groupId>
106             <artifactId>sal-cluster-admin-impl</artifactId>
107         </dependency>
108         <dependency>
109             <groupId>org.opendaylight.controller</groupId>
110             <artifactId>cds-dom-api</artifactId>
111         </dependency>
112
113         <!-- MessageBus -->
114         <dependency>
115             <groupId>org.opendaylight.controller</groupId>
116             <artifactId>messagebus-api</artifactId>
117         </dependency>
118         <dependency>
119             <groupId>org.opendaylight.controller</groupId>
120             <artifactId>messagebus-spi</artifactId>
121         </dependency>
122         <dependency>
123             <groupId>org.opendaylight.controller</groupId>
124             <artifactId>messagebus-impl</artifactId>
125         </dependency>
126         <dependency>
127             <groupId>org.opendaylight.controller</groupId>
128             <artifactId>messagebus-util</artifactId>
129         </dependency>
130     </dependencies>
131
132     <build>
133         <plugins>
134             <plugin>
135                 <artifactId>maven-dependency-plugin</artifactId>
136                 <executions>
137                     <execution>
138                         <id>unpack-sources</id>
139                         <phase>prepare-package</phase>
140                         <goals>
141                             <goal>unpack-dependencies</goal>
142                         </goals>
143                         <configuration>
144                             <silent>true</silent>
145                             <classifier>sources</classifier>
146                             <includes>org/opendaylight/**</includes>
147                             <includeGroupIds>org.opendaylight.controller</includeGroupIds>
148                             <outputDirectory>${project.build.directory}/src</outputDirectory>
149                         </configuration>
150                     </execution>
151                 </executions>
152             </plugin>
153
154             <plugin>
155                 <groupId>org.codehaus.mojo</groupId>
156                 <artifactId>build-helper-maven-plugin</artifactId>
157                 <executions>
158                     <execution>
159                         <id>add-source</id>
160                         <!-- post-compile, but before prepare-package -->
161                         <phase>process-classes</phase>
162                         <goals>
163                             <goal>add-source</goal>
164                         </goals>
165                         <configuration>
166                             <sources>
167                                 <source>${project.build.directory}/src</source>
168                             </sources>
169                         </configuration>
170                     </execution>
171                 </executions>
172             </plugin>
173
174             <plugin>
175                 <artifactId>maven-source-plugin</artifactId>
176                 <executions>
177                     <execution>
178                         <id>attach-sources</id>
179                         <!-- prepare-package so we build the source package before javadoc -->
180                         <phase>prepare-package</phase>
181                         <goals>
182                             <goal>jar-no-fork</goal>
183                         </goals>
184                     </execution>
185                 </executions>
186             </plugin>
187
188             <plugin>
189                 <artifactId>maven-clean-plugin</artifactId>
190                 <executions>
191                     <execution>
192                         <id>remove-undocumented-sources</id>
193                         <!-- Before javadoc runs -->
194                         <phase>prepare-package</phase>
195                         <goals>
196                             <goal>clean</goal>
197                         </goals>
198                         <configuration>
199                             <excludeDefaultDirectories>true</excludeDefaultDirectories>
200                             <filesets>
201                                 <fileset>
202                                     <directory>${project.build.directory}/src</directory>
203                                     <includes>
204                                         <include>**/$YangModelBindingProvider.java</include>
205                                         <include>**/$YangModuleInfoImpl.java</include>
206                                     </includes>
207                                 </fileset>
208                             </filesets>
209                         </configuration>
210                     </execution>
211                 </executions>
212             </plugin>
213             <plugin>
214                 <artifactId>maven-javadoc-plugin</artifactId>
215                 <executions>
216                     <execution>
217                         <id>attach-javadocs</id>
218                         <goals>
219                             <goal>jar</goal>
220                         </goals>
221                     </execution>
222                 </executions>
223                 <!-- FIXME: remove this section once we can activate javadoc-links profile -->
224                 <configuration combine.children="append">
225                     <links>
226                         <link>https://junit.org/junit4/javadoc/4.13/</link>
227                         <link>http://hamcrest.org/JavaHamcrest/javadoc/2.2/</link>
228                         <link>http://google.github.io/truth/api/1.0.1/</link>
229                         <link>http://www.slf4j.org/apidocs/</link>
230                         <link>https://google.github.io/guava/releases/28.2-jre/api/docs/</link>
231                         <link>http://doc.akka.io/japi/akka/2.5.31/</link>
232                         <link>http://netty.io/4.1/api/</link>
233                         <link>https://commons.apache.org/proper/commons-lang/javadocs/api-2.6/</link>
234                         <link>https://commons.apache.org/proper/commons-lang/javadocs/api-3.9/</link>
235                         <link>https://commons.apache.org/proper/commons-codec/apidocs/</link>
236
237                         <link>https://www.javadoc.io/doc/org.opendaylight.yangtools/yangtools-docs/5.0.0/</link>
238                         <link>https://www.javadoc.io/doc/org.opendaylight.mdsal/mdsal-docs/6.0.0-SNAPSHOT/</link>
239                     </links>
240                     <groups>
241                         <group>
242                             <title>Distributed Datastore Access API</title>
243                             <packages>org.opendaylight.controller.cluster.access:org.opendaylight.controller.cluster.access.commands:org.opendaylight.controller.cluster.access.concepts</packages>
244                         </group>
245                         <group>
246                             <title>Distributed Datastore Access Client</title>
247                             <packages>org.opendaylight.controller.cluster.access.client</packages>
248                         </group>
249                         <group>
250                             <title>Distributed Datastore DOM API extensions</title>
251                             <packages>org.opendaylight.controller.cluster.dom.api</packages>
252                         </group>
253                         <group>
254                             <title>Akka RAFT implementation</title>
255                             <packages>org.opendaylight.controller.cluster.raft*</packages>
256                         </group>
257                         <group>
258                             <title>MD-SAL Message Bus Bridge (experimental)</title>
259                             <packages>org.opendaylight.controller.messagebus.*:org.opendaylight.yang.gen.v1.urn.cisco.params.xml.ns.yang.messagebus.*</packages>
260                         </group>
261                         <group>
262                             <title>MD-SAL Tracing Utilities</title>
263                             <packages>org.opendaylight.controller.md.sal.trace.*:org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.mdsaltrace.rev160908*</packages>
264                         </group>
265                     </groups>
266                 </configuration>
267             </plugin>
268         </plugins>
269     </build>
270 </project>