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