Bump versions to 10.0.1-SNAPSHOT
[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.1-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>org.apache.maven.plugin-tools</groupId>
66             <artifactId>maven-plugin-annotations</artifactId>
67             <version>3.6.2</version>
68             <scope>provided</scope>
69         </dependency>
70         <dependency>
71             <groupId>junit</groupId>
72             <artifactId>junit</artifactId>
73             <scope>provided</scope>
74         </dependency>
75         <dependency>
76             <groupId>org.mockito</groupId>
77             <artifactId>mockito-core</artifactId>
78             <scope>provided</scope>
79         </dependency>
80         <dependency>
81             <groupId>org.osgi</groupId>
82             <artifactId>org.osgi.annotation.versioning</artifactId>
83         </dependency>
84         <dependency>
85             <groupId>org.osgi</groupId>
86             <artifactId>org.osgi.annotation.bundle</artifactId>
87         </dependency>
88         <dependency>
89             <groupId>org.sonatype.plexus</groupId>
90             <artifactId>plexus-build-api</artifactId>
91             <scope>provided</scope>
92         </dependency>
93         <dependency>
94             <groupId>org.ops4j.pax.exam</groupId>
95             <artifactId>pax-exam</artifactId>
96             <scope>provided</scope>
97         </dependency>
98         <dependency>
99             <groupId>org.ops4j.pax.exam</groupId>
100             <artifactId>pax-exam-junit4</artifactId>
101             <scope>provided</scope>
102         </dependency>
103         <dependency>
104             <groupId>org.ops4j.pax.exam</groupId>
105             <artifactId>pax-exam-container-karaf</artifactId>
106             <scope>provided</scope>
107         </dependency>
108         <dependency>
109             <groupId>org.ops4j.pax.url</groupId>
110             <artifactId>pax-url-aether</artifactId>
111             <scope>provided</scope>
112         </dependency>
113         <dependency>
114             <groupId>org.apache.karaf.bundle</groupId>
115             <artifactId>org.apache.karaf.bundle.core</artifactId>
116             <version>${karaf.version}</version>
117             <scope>provided</scope>
118         </dependency>
119         <dependency>
120             <groupId>jakarta.xml.bind</groupId>
121             <artifactId>jakarta.xml.bind-api</artifactId>
122             <scope>provided</scope>
123         </dependency>
124     </dependencies>
125
126     <build>
127         <plugins>
128             <plugin>
129                 <groupId>org.asciidoctor</groupId>
130                 <artifactId>asciidoctor-maven-plugin</artifactId>
131                 <version>1.5.7.1</version>
132                 <executions>
133                     <execution>
134                         <id>output-html</id>
135                         <phase>generate-resources</phase>
136                         <goals>
137                             <goal>process-asciidoc</goal>
138                         </goals>
139                         <configuration>
140                             <sourceHighlighter>coderay</sourceHighlighter>
141                             <backend>html</backend>
142                             <attributes>
143                                 <toc/>
144                                 <linkcss>false</linkcss>
145                             </attributes>
146                         </configuration>
147                     </execution>
148                 </executions>
149                 <configuration>
150                     <attributes>
151                         <revnumber>${project.version}</revnumber>
152                         <revdate>${maven.build.timestamp}</revdate>
153                         <organization>${project.organization.name}</organization>
154                     </attributes>
155                 </configuration>
156             </plugin>
157
158             <plugin>
159                 <artifactId>maven-dependency-plugin</artifactId>
160                 <executions>
161                     <execution>
162                         <id>unpack-sources</id>
163                         <phase>process-classes</phase>
164                         <goals>
165                             <goal>unpack-dependencies</goal>
166                         </goals>
167                         <configuration>
168                             <silent>true</silent>
169                             <classifier>sources</classifier>
170                             <includes>org/opendaylight/**</includes>
171                             <includeGroupIds>org.opendaylight.odlparent</includeGroupIds>
172                             <outputDirectory>${project.build.directory}/src</outputDirectory>
173                         </configuration>
174                     </execution>
175                 </executions>
176             </plugin>
177             <plugin>
178                 <groupId>org.codehaus.mojo</groupId>
179                 <artifactId>build-helper-maven-plugin</artifactId>
180                 <executions>
181                     <execution>
182                         <id>add-source</id>
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-javadoc-plugin</artifactId>
212                 <executions>
213                     <execution>
214                         <id>attach-javadocs</id>
215                         <goals>
216                             <goal>jar</goal>
217                         </goals>
218                     </execution>
219                 </executions>
220                 <!-- FIXME: remove this section once we can activate javadoc-links profile -->
221                 <configuration combine.children="append">
222                     <links>
223                         <link>https://junit.org/junit4/javadoc/4.13/</link>
224                         <link>http://hamcrest.org/JavaHamcrest/javadoc/2.2/</link>
225                         <link>http://google.github.io/truth/api/1.0.1/</link>
226                         <link>https://www.slf4j.org/apidocs/</link>
227                         <link>https://google.github.io/guava/releases/31.1-jre/api/docs/</link>
228                         <link>https://commons.apache.org/proper/commons-lang/javadocs/api-2.6/</link>
229                         <link>https://commons.apache.org/proper/commons-lang/javadocs/api-3.11/</link>
230                         <link>https://commons.apache.org/proper/commons-codec/apidocs/</link>
231                     </links>
232                     <groups>
233                         <group>
234                             <title>Bundle Test Library</title>
235                             <packages>org.opendaylight.odlparent.bundlestest.lib*</packages>
236                         </group>
237                         <group>
238                             <title>Single Feature Test</title>
239                             <packages>org.opendaylight.odlparent.featuretest*</packages>
240                         </group>
241                         <group>
242                             <title>Karaf Utilities</title>
243                             <packages>org.opendaylight.odlparent.karafutil*</packages>
244                         </group>
245                         <group>
246                             <title>Filter Manifest Maven Plugin</title>
247                             <packages>org.opendaylight.odlparent.filter.manifest.plugin*</packages>
248                         </group>
249                     </groups>
250                 </configuration>
251             </plugin>
252         </plugins>
253     </build>
254 </project>