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