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