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