Clean up javadoc links
[aaa.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) 2019 PANTHEON.tech, s.r.o. 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>13.0.1</version>
16         <relativePath/>
17     </parent>
18
19     <groupId>org.opendaylight.aaa</groupId>
20     <artifactId>aaa-docs</artifactId>
21     <packaging>jar</packaging>
22     <version>0.18.0-SNAPSHOT</version>
23     <name>${project.artifactId}</name>
24     <description>AAA documentation</description>
25
26     <dependencyManagement>
27         <dependencies>
28             <dependency>
29                 <groupId>org.opendaylight.aaa</groupId>
30                 <artifactId>aaa-artifacts</artifactId>
31                 <version>0.18.0-SNAPSHOT</version>
32                 <type>pom</type>
33                 <scope>import</scope>
34             </dependency>
35         </dependencies>
36     </dependencyManagement>
37
38     <dependencies>
39         <dependency>
40             <groupId>${project.groupId}</groupId>
41             <artifactId>aaa-authn-api</artifactId>
42         </dependency>
43         <dependency>
44             <groupId>${project.groupId}</groupId>
45             <artifactId>aaa-cert</artifactId>
46         </dependency>
47         <dependency>
48             <groupId>${project.groupId}</groupId>
49             <artifactId>aaa-cli</artifactId>
50         </dependency>
51         <dependency>
52             <groupId>${project.groupId}</groupId>
53             <artifactId>aaa-cli-jar</artifactId>
54         </dependency>
55         <dependency>
56             <groupId>${project.groupId}</groupId>
57             <artifactId>aaa-encrypt-service</artifactId>
58         </dependency>
59         <dependency>
60             <groupId>org.opendaylight.aaa</groupId>
61             <artifactId>aaa-encrypt-service-impl</artifactId>
62         </dependency>
63         <dependency>
64             <groupId>${project.groupId}</groupId>
65             <artifactId>aaa-filterchain</artifactId>
66         </dependency>
67
68         <dependency>
69             <groupId>${project.groupId}</groupId>
70             <artifactId>aaa-shiro-api</artifactId>
71         </dependency>
72         <dependency>
73             <groupId>${project.groupId}</groupId>
74             <artifactId>aaa-shiro</artifactId>
75         </dependency>
76
77         <dependency>
78             <groupId>${project.groupId}.web</groupId>
79             <artifactId>web-api</artifactId>
80         </dependency>
81         <dependency>
82             <groupId>${project.groupId}.web</groupId>
83             <artifactId>web-jetty-impl</artifactId>
84         </dependency>
85         <dependency>
86             <groupId>${project.groupId}.web</groupId>
87             <artifactId>web-osgi-impl</artifactId>
88         </dependency>
89         <dependency>
90             <groupId>${project.groupId}.web</groupId>
91             <artifactId>servlet-api</artifactId>
92         </dependency>
93         <dependency>
94             <groupId>${project.groupId}.web</groupId>
95             <artifactId>servlet-jersey2</artifactId>
96         </dependency>
97         <dependency>
98             <groupId>${project.groupId}.web</groupId>
99             <artifactId>testutils</artifactId>
100         </dependency>
101         <dependency>
102             <groupId>${project.groupId}</groupId>
103             <artifactId>aaa-password-service-api</artifactId>
104         </dependency>
105         <dependency>
106             <groupId>org.opendaylight.aaa</groupId>
107             <artifactId>aaa-password-service-impl</artifactId>
108         </dependency>
109
110         <!-- Third-party dependencies -->
111         <dependency>
112             <groupId>com.github.spotbugs</groupId>
113             <artifactId>spotbugs-annotations</artifactId>
114             <scope>provided</scope>
115         </dependency>
116         <dependency>
117             <groupId>org.opendaylight.infrautils</groupId>
118             <artifactId>inject.guice.testutils</artifactId>
119             <version>6.0.0</version>
120             <scope>provided</scope>
121         </dependency>
122         <dependency>
123             <groupId>org.kohsuke.metainf-services</groupId>
124             <artifactId>metainf-services</artifactId>
125             <scope>provided</scope>
126         </dependency>
127         <dependency>
128             <groupId>org.apache.karaf.shell</groupId>
129             <artifactId>org.apache.karaf.shell.core</artifactId>
130             <scope>provided</scope>
131         </dependency>
132         <dependency>
133             <groupId>org.osgi</groupId>
134             <artifactId>org.osgi.framework</artifactId>
135         </dependency>
136         <dependency>
137             <groupId>org.osgi</groupId>
138             <artifactId>org.osgi.service.component</artifactId>
139         </dependency>
140         <dependency>
141             <groupId>org.osgi</groupId>
142             <artifactId>org.osgi.service.component.annotations</artifactId>
143         </dependency>
144         <dependency>
145             <groupId>org.osgi</groupId>
146             <artifactId>org.osgi.service.http.whiteboard</artifactId>
147         </dependency>
148         <dependency>
149             <groupId>org.osgi</groupId>
150             <artifactId>org.osgi.service.metatype.annotations</artifactId>
151         </dependency>
152         <dependency>
153             <groupId>org.immutables</groupId>
154             <artifactId>value</artifactId>
155             <classifier>annotations</classifier>
156         </dependency>
157     </dependencies>
158
159     <build>
160         <plugins>
161             <plugin>
162                 <artifactId>maven-dependency-plugin</artifactId>
163                 <executions>
164                     <execution>
165                         <id>unpack-sources</id>
166                         <phase>prepare-package</phase>
167                         <goals>
168                             <goal>unpack-dependencies</goal>
169                         </goals>
170                         <configuration>
171                             <silent>true</silent>
172                             <classifier>sources</classifier>
173                             <includes>org/opendaylight/**</includes>
174                             <includeGroupIds>org.opendaylight.aaa</includeGroupIds>
175                             <outputDirectory>${project.build.directory}/src</outputDirectory>
176                         </configuration>
177                     </execution>
178                 </executions>
179             </plugin>
180
181             <plugin>
182                 <groupId>org.codehaus.mojo</groupId>
183                 <artifactId>build-helper-maven-plugin</artifactId>
184                 <executions>
185                     <execution>
186                         <id>add-source</id>
187                         <!-- post-compile, but before prepare-package -->
188                         <phase>process-classes</phase>
189                         <goals>
190                             <goal>add-source</goal>
191                         </goals>
192                         <configuration>
193                             <sources>
194                                 <source>${project.build.directory}/src</source>
195                             </sources>
196                         </configuration>
197                     </execution>
198                 </executions>
199             </plugin>
200
201             <plugin>
202                 <artifactId>maven-source-plugin</artifactId>
203                 <executions>
204                     <execution>
205                         <id>attach-sources</id>
206                         <!-- prepare-package so we build the source package before javadoc -->
207                         <phase>prepare-package</phase>
208                         <goals>
209                             <goal>jar-no-fork</goal>
210                         </goals>
211                     </execution>
212                 </executions>
213             </plugin>
214
215             <plugin>
216                 <artifactId>maven-clean-plugin</artifactId>
217                 <executions>
218                     <execution>
219                         <id>remove-undocumented-sources</id>
220                         <!-- Before javadoc runs -->
221                         <phase>prepare-package</phase>
222                         <goals>
223                             <goal>clean</goal>
224                         </goals>
225                         <configuration>
226                             <excludeDefaultDirectories>true</excludeDefaultDirectories>
227                             <filesets>
228                                 <fileset>
229                                     <directory>${project.build.directory}/src</directory>
230                                     <includes>
231                                         <include>**/$YangModelBindingProvider.java</include>
232                                         <include>**/$YangModuleInfoImpl.java</include>
233                                     </includes>
234                                 </fileset>
235                             </filesets>
236                         </configuration>
237                     </execution>
238                 </executions>
239             </plugin>
240             <plugin>
241                 <artifactId>maven-javadoc-plugin</artifactId>
242                 <executions>
243                     <execution>
244                         <id>attach-javadocs</id>
245                         <goals>
246                             <goal>jar</goal>
247                         </goals>
248                     </execution>
249                 </executions>
250                 <!-- FIXME: remove this section once we can activate javadoc-links profile -->
251                 <configuration combine.children="append">
252                     <links>
253                         <link>https://junit.org/junit4/javadoc/4.13.2/</link>
254                         <link>https://hamcrest.org/JavaHamcrest/javadoc/2.2/</link>
255                         <link>https://www.slf4j.org/apidocs/</link>
256                         <link>https://guava.dev/releases/32.0.1-jre/api/docs/</link>
257                         <link>https://commons.apache.org/proper/commons-lang/javadocs/api-release/</link>
258
259                         <link>https://www.javadoc.io/doc/org.opendaylight.odlparent/odlparent-docs/13.0.1/</link>
260                         <link>https://www.javadoc.io/doc/org.opendaylight.infrautils/infrautils-docs/6.0.0/</link>
261                         <link>https://www.javadoc.io/doc/org.opendaylight.yangtools/yangtools-docs/11.0.0-SNAPSHOT/</link>
262                         <link>https://www.javadoc.io/doc/org.opendaylight.mdsal/mdsal-docs/12.0.0-SNAPSHOT/</link>
263                         <link>https://www.javadoc.io/doc/org.opendaylight.controller/controller-docs/8.0.0-SNAPSHOT/</link>
264                     </links>
265
266                     <!--groups>
267                         <group>
268                             <title>MD-SAL Tracing Utilities</title>
269                             <packages>org.opendaylight.controller.md.sal.trace.*:org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.mdsaltrace.rev160908*</packages>
270                         </group>
271                     </groups-->
272                 </configuration>
273             </plugin>
274         </plugins>
275     </build>
276 </project>