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