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