Bump guava to 31.0.1
[odlparent.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>bundle-parent</artifactId>
15         <version>10.0.0-SNAPSHOT</version>
16         <relativePath>../bundle-parent</relativePath>
17     </parent>
18
19     <artifactId>odlparent-docs</artifactId>
20     <packaging>jar</packaging>
21     <name>${project.artifactId}</name>
22     <description>ODL Root Parent documentation</description>
23
24     <properties>
25         <maven.javadoc.failOnWarnings>true</maven.javadoc.failOnWarnings>
26     </properties>
27
28     <dependencies>
29         <dependency>
30             <groupId>org.opendaylight.odlparent</groupId>
31             <artifactId>bundles-test-lib</artifactId>
32         </dependency>
33         <dependency>
34             <groupId>org.opendaylight.odlparent</groupId>
35             <artifactId>features-test</artifactId>
36             <version>${project.version}</version>
37         </dependency>
38         <dependency>
39             <groupId>org.opendaylight.odlparent</groupId>
40             <artifactId>filter-manifest-plugin</artifactId>
41             <version>${project.version}</version>
42         </dependency>
43         <dependency>
44             <groupId>org.opendaylight.odlparent</groupId>
45             <artifactId>karaf-plugin</artifactId>
46             <version>${project.version}</version>
47         </dependency>
48         <dependency>
49             <groupId>org.opendaylight.odlparent</groupId>
50             <artifactId>karaf-util</artifactId>
51             <version>${project.version}</version>
52         </dependency>
53         <dependency>
54             <groupId>org.opendaylight.odlparent</groupId>
55             <artifactId>logging-markers</artifactId>
56         </dependency>
57
58         <!-- Also add dependencies we are using -->
59         <dependency>
60             <groupId>org.apache.maven</groupId>
61             <artifactId>maven-core</artifactId>
62             <scope>provided</scope>
63         </dependency>
64         <dependency>
65             <groupId>junit</groupId>
66             <artifactId>junit</artifactId>
67             <scope>provided</scope>
68         </dependency>
69         <dependency>
70             <groupId>org.mockito</groupId>
71             <artifactId>mockito-core</artifactId>
72             <scope>provided</scope>
73         </dependency>
74         <dependency>
75             <groupId>org.osgi</groupId>
76             <artifactId>org.osgi.annotation.versioning</artifactId>
77         </dependency>
78         <dependency>
79             <groupId>org.osgi</groupId>
80             <artifactId>org.osgi.annotation.bundle</artifactId>
81         </dependency>
82         <dependency>
83             <groupId>org.sonatype.plexus</groupId>
84             <artifactId>plexus-build-api</artifactId>
85             <scope>provided</scope>
86         </dependency>
87         <dependency>
88             <groupId>org.ops4j.pax.exam</groupId>
89             <artifactId>pax-exam</artifactId>
90             <scope>provided</scope>
91         </dependency>
92         <dependency>
93             <groupId>org.ops4j.pax.exam</groupId>
94             <artifactId>pax-exam-junit4</artifactId>
95             <scope>provided</scope>
96         </dependency>
97         <dependency>
98             <groupId>org.ops4j.pax.exam</groupId>
99             <artifactId>pax-exam-container-karaf</artifactId>
100             <scope>provided</scope>
101         </dependency>
102         <dependency>
103             <groupId>org.ops4j.pax.url</groupId>
104             <artifactId>pax-url-aether</artifactId>
105             <scope>provided</scope>
106         </dependency>
107         <dependency>
108             <groupId>org.apache.karaf.bundle</groupId>
109             <artifactId>org.apache.karaf.bundle.core</artifactId>
110             <version>${karaf.version}</version>
111             <scope>provided</scope>
112         </dependency>
113         <dependency>
114             <groupId>jakarta.xml.bind</groupId>
115             <artifactId>jakarta.xml.bind-api</artifactId>
116             <scope>provided</scope>
117         </dependency>
118     </dependencies>
119
120     <build>
121         <plugins>
122             <plugin>
123                 <groupId>org.asciidoctor</groupId>
124                 <artifactId>asciidoctor-maven-plugin</artifactId>
125                 <version>1.5.7.1</version>
126                 <executions>
127                     <execution>
128                         <id>output-html</id>
129                         <phase>generate-resources</phase>
130                         <goals>
131                             <goal>process-asciidoc</goal>
132                         </goals>
133                         <configuration>
134                             <sourceHighlighter>coderay</sourceHighlighter>
135                             <backend>html</backend>
136                             <attributes>
137                                 <toc/>
138                                 <linkcss>false</linkcss>
139                             </attributes>
140                         </configuration>
141                     </execution>
142                 </executions>
143                 <configuration>
144                     <attributes>
145                         <revnumber>${project.version}</revnumber>
146                         <revdate>${maven.build.timestamp}</revdate>
147                         <organization>${project.organization.name}</organization>
148                     </attributes>
149                 </configuration>
150             </plugin>
151
152             <plugin>
153                 <artifactId>maven-dependency-plugin</artifactId>
154                 <executions>
155                     <execution>
156                         <id>unpack-sources</id>
157                         <phase>process-classes</phase>
158                         <goals>
159                             <goal>unpack-dependencies</goal>
160                         </goals>
161                         <configuration>
162                             <silent>true</silent>
163                             <classifier>sources</classifier>
164                             <includes>org/opendaylight/**</includes>
165                             <includeGroupIds>org.opendaylight.odlparent</includeGroupIds>
166                             <outputDirectory>${project.build.directory}/src</outputDirectory>
167                         </configuration>
168                     </execution>
169                 </executions>
170             </plugin>
171             <plugin>
172                 <groupId>org.codehaus.mojo</groupId>
173                 <artifactId>build-helper-maven-plugin</artifactId>
174                 <executions>
175                     <execution>
176                         <id>add-source</id>
177                         <phase>process-classes</phase>
178                         <goals>
179                             <goal>add-source</goal>
180                         </goals>
181                         <configuration>
182                             <sources>
183                                 <source>${project.build.directory}/src</source>
184                             </sources>
185                         </configuration>
186                     </execution>
187                 </executions>
188             </plugin>
189
190             <plugin>
191                 <artifactId>maven-source-plugin</artifactId>
192                 <executions>
193                     <execution>
194                         <id>attach-sources</id>
195                         <!-- prepare-package so we build the source package before javadoc -->
196                         <phase>prepare-package</phase>
197                         <goals>
198                             <goal>jar-no-fork</goal>
199                         </goals>
200                     </execution>
201                 </executions>
202             </plugin>
203
204             <plugin>
205                 <artifactId>maven-javadoc-plugin</artifactId>
206                 <executions>
207                     <execution>
208                         <id>attach-javadocs</id>
209                         <goals>
210                             <goal>jar</goal>
211                         </goals>
212                     </execution>
213                 </executions>
214                 <!-- FIXME: remove this section once we can activate javadoc-links profile -->
215                 <configuration combine.children="append">
216                     <links>
217                         <link>https://junit.org/junit4/javadoc/4.13/</link>
218                         <link>http://hamcrest.org/JavaHamcrest/javadoc/2.2/</link>
219                         <link>http://google.github.io/truth/api/1.0.1/</link>
220                         <link>https://www.slf4j.org/apidocs/</link>
221                         <link>https://google.github.io/guava/releases/31.0.1-jre/api/docs/</link>
222                         <link>https://commons.apache.org/proper/commons-lang/javadocs/api-2.6/</link>
223                         <link>https://commons.apache.org/proper/commons-lang/javadocs/api-3.11/</link>
224                         <link>https://commons.apache.org/proper/commons-codec/apidocs/</link>
225                     </links>
226                     <groups>
227                         <group>
228                             <title>Bundle Test Library</title>
229                             <packages>org.opendaylight.odlparent.bundlestest.lib*</packages>
230                         </group>
231                         <group>
232                             <title>Single Feature Test</title>
233                             <packages>org.opendaylight.odlparent.featuretest*</packages>
234                         </group>
235                         <group>
236                             <title>Karaf Utilities</title>
237                             <packages>org.opendaylight.odlparent.karafutil*</packages>
238                         </group>
239                         <group>
240                             <title>Filter Manifest Maven Plugin</title>
241                             <packages>org.opendaylight.odlparent.filter.manifest.plugin*</packages>
242                         </group>
243                     </groups>
244                 </configuration>
245             </plugin>
246         </plugins>
247     </build>
248 </project>