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