Adopt 2022.09 upstreams
[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>11.0.0</version>
16         <relativePath/>
17     </parent>
18
19     <groupId>org.opendaylight.aaa</groupId>
20     <artifactId>aaa-docs</artifactId>
21     <packaging>jar</packaging>
22     <version>0.16.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.16.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>org.opendaylight.infrautils</groupId>
113             <artifactId>inject.guice.testutils</artifactId>
114             <version>4.0.0</version>
115             <scope>provided</scope>
116         </dependency>
117         <dependency>
118             <groupId>org.kohsuke.metainf-services</groupId>
119             <artifactId>metainf-services</artifactId>
120             <scope>provided</scope>
121         </dependency>
122         <dependency>
123             <groupId>org.apache.karaf.shell</groupId>
124             <artifactId>org.apache.karaf.shell.core</artifactId>
125             <scope>provided</scope>
126         </dependency>
127         <dependency>
128             <groupId>org.osgi</groupId>
129             <artifactId>org.osgi.framework</artifactId>
130         </dependency>
131         <dependency>
132             <groupId>org.osgi</groupId>
133             <artifactId>org.osgi.service.component</artifactId>
134         </dependency>
135         <dependency>
136             <groupId>org.osgi</groupId>
137             <artifactId>org.osgi.service.component.annotations</artifactId>
138         </dependency>
139         <dependency>
140             <groupId>org.osgi</groupId>
141             <artifactId>org.osgi.service.http.whiteboard</artifactId>
142         </dependency>
143         <dependency>
144             <groupId>org.osgi</groupId>
145             <artifactId>org.osgi.service.metatype.annotations</artifactId>
146         </dependency>
147         <dependency>
148             <groupId>org.immutables</groupId>
149             <artifactId>value</artifactId>
150             <classifier>annotations</classifier>
151         </dependency>
152     </dependencies>
153
154     <build>
155         <plugins>
156             <plugin>
157                 <artifactId>maven-dependency-plugin</artifactId>
158                 <executions>
159                     <execution>
160                         <id>unpack-sources</id>
161                         <phase>prepare-package</phase>
162                         <goals>
163                             <goal>unpack-dependencies</goal>
164                         </goals>
165                         <configuration>
166                             <silent>true</silent>
167                             <classifier>sources</classifier>
168                             <includes>org/opendaylight/**</includes>
169                             <includeGroupIds>org.opendaylight.aaa</includeGroupIds>
170                             <outputDirectory>${project.build.directory}/src</outputDirectory>
171                         </configuration>
172                     </execution>
173                 </executions>
174             </plugin>
175
176             <plugin>
177                 <groupId>org.codehaus.mojo</groupId>
178                 <artifactId>build-helper-maven-plugin</artifactId>
179                 <executions>
180                     <execution>
181                         <id>add-source</id>
182                         <!-- post-compile, but before prepare-package -->
183                         <phase>process-classes</phase>
184                         <goals>
185                             <goal>add-source</goal>
186                         </goals>
187                         <configuration>
188                             <sources>
189                                 <source>${project.build.directory}/src</source>
190                             </sources>
191                         </configuration>
192                     </execution>
193                 </executions>
194             </plugin>
195
196             <plugin>
197                 <artifactId>maven-source-plugin</artifactId>
198                 <executions>
199                     <execution>
200                         <id>attach-sources</id>
201                         <!-- prepare-package so we build the source package before javadoc -->
202                         <phase>prepare-package</phase>
203                         <goals>
204                             <goal>jar-no-fork</goal>
205                         </goals>
206                     </execution>
207                 </executions>
208             </plugin>
209
210             <plugin>
211                 <artifactId>maven-clean-plugin</artifactId>
212                 <executions>
213                     <execution>
214                         <id>remove-undocumented-sources</id>
215                         <!-- Before javadoc runs -->
216                         <phase>prepare-package</phase>
217                         <goals>
218                             <goal>clean</goal>
219                         </goals>
220                         <configuration>
221                             <excludeDefaultDirectories>true</excludeDefaultDirectories>
222                             <filesets>
223                                 <fileset>
224                                     <directory>${project.build.directory}/src</directory>
225                                     <includes>
226                                         <include>**/$YangModelBindingProvider.java</include>
227                                         <include>**/$YangModuleInfoImpl.java</include>
228                                     </includes>
229                                 </fileset>
230                             </filesets>
231                         </configuration>
232                     </execution>
233                 </executions>
234             </plugin>
235             <plugin>
236                 <artifactId>maven-javadoc-plugin</artifactId>
237                 <executions>
238                     <execution>
239                         <id>attach-javadocs</id>
240                         <goals>
241                             <goal>jar</goal>
242                         </goals>
243                     </execution>
244                 </executions>
245                 <!-- FIXME: remove this section once we can activate javadoc-links profile -->
246                 <configuration combine.children="append">
247                     <links>
248                         <link>https://junit.org/junit4/javadoc/4.13.2/</link>
249                         <link>http://hamcrest.org/JavaHamcrest/javadoc/2.2/</link>
250                         <link>http://google.github.io/truth/api/1.1.3/</link>
251                         <link>http://www.slf4j.org/apidocs/</link>
252                         <link>https://google.github.io/guava/releases/30.1.1-jre/api/docs/</link>
253                         <link>https://commons.apache.org/proper/commons-lang/javadocs/api-2.6/</link>
254                         <link>https://commons.apache.org/proper/commons-lang/javadocs/api-release/</link>
255                         <link>https://commons.apache.org/proper/commons-codec/apidocs/</link>
256
257                         <link>https://www.javadoc.io/doc/org.opendaylight.odlparent/odlparent-docs/11.0.0/</link>
258                         <link>https://www.javadoc.io/doc/org.opendaylight.infrautils/infrautils-docs/4.0.0/</link>
259                         <link>https://www.javadoc.io/doc/org.opendaylight.yangtools/yangtools-docs/9.0.0/</link>
260                         <link>https://www.javadoc.io/doc/org.opendaylight.mdsal/mdsal-docs/10.0.0/</link>
261                         <link>https://www.javadoc.io/doc/org.opendaylight.controller/controller-docs/6.0.0/</link>
262                     </links>
263
264                     <!--groups>
265                         <group>
266                             <title>MD-SAL Tracing Utilities</title>
267                             <packages>org.opendaylight.controller.md.sal.trace.*:org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.mdsaltrace.rev160908*</packages>
268                         </group>
269                     </groups-->
270                 </configuration>
271             </plugin>
272         </plugins>
273     </build>
274 </project>