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