Bump versions to 2.0.23-SNAPSHOT
[yangtools.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
13     <parent>
14         <groupId>org.opendaylight.odlparent</groupId>
15         <artifactId>bundle-parent</artifactId>
16         <version>3.1.9</version>
17         <relativePath/>
18     </parent>
19
20     <groupId>org.opendaylight.yangtools</groupId>
21     <artifactId>yangtools-docs</artifactId>
22     <packaging>jar</packaging>
23     <version>2.0.23-SNAPSHOT</version>
24     <name>${project.artifactId}</name>
25     <description>YANG Tools documentation</description>
26
27     <dependencyManagement>
28         <dependencies>
29             <dependency>
30                 <groupId>org.opendaylight.yangtools</groupId>
31                 <artifactId>yangtools-artifacts</artifactId>
32                 <version>2.0.23-SNAPSHOT</version>
33                 <scope>import</scope>
34                 <type>pom</type>
35             </dependency>
36         </dependencies>
37     </dependencyManagement>
38
39     <dependencies>
40         <dependency>
41             <groupId>org.opendaylight.yangtools</groupId>
42             <artifactId>yang-data-util</artifactId>
43         </dependency>
44         <dependency>
45             <groupId>org.opendaylight.yangtools</groupId>
46             <artifactId>concepts</artifactId>
47         </dependency>
48         <dependency>
49             <groupId>org.opendaylight.yangtools</groupId>
50             <artifactId>yang-common</artifactId>
51         </dependency>
52         <dependency>
53             <groupId>org.opendaylight.yangtools</groupId>
54             <artifactId>yang-data-api</artifactId>
55         </dependency>
56         <dependency>
57             <groupId>org.opendaylight.yangtools</groupId>
58             <artifactId>yang-data-impl</artifactId>
59         </dependency>
60         <dependency>
61             <groupId>org.opendaylight.yangtools</groupId>
62             <artifactId>yang-data-transform</artifactId>
63         </dependency>
64         <dependency>
65             <groupId>org.opendaylight.yangtools</groupId>
66             <artifactId>yang-data-jaxen</artifactId>
67         </dependency>
68         <dependency>
69             <groupId>org.opendaylight.yangtools</groupId>
70             <artifactId>yang-data-codec-gson</artifactId>
71         </dependency>
72         <dependency>
73             <groupId>org.opendaylight.yangtools</groupId>
74             <artifactId>yang-data-codec-xml</artifactId>
75         </dependency>
76         <dependency>
77             <groupId>org.opendaylight.yangtools</groupId>
78             <artifactId>yang-model-api</artifactId>
79         </dependency>
80         <dependency>
81             <groupId>org.opendaylight.yangtools</groupId>
82             <artifactId>yang-model-export</artifactId>
83         </dependency>
84         <dependency>
85             <groupId>org.opendaylight.yangtools</groupId>
86             <artifactId>yang-model-immutable</artifactId>
87         </dependency>
88         <dependency>
89             <groupId>org.opendaylight.yangtools</groupId>
90             <artifactId>yang-model-util</artifactId>
91         </dependency>
92         <dependency>
93             <groupId>org.opendaylight.yangtools</groupId>
94             <artifactId>yang-parser-api</artifactId>
95         </dependency>
96         <dependency>
97             <groupId>org.opendaylight.yangtools</groupId>
98             <artifactId>yang-parser-spi</artifactId>
99         </dependency>
100         <dependency>
101             <groupId>org.opendaylight.yangtools</groupId>
102             <artifactId>yang-parser-reactor</artifactId>
103         </dependency>
104         <dependency>
105             <groupId>org.opendaylight.yangtools</groupId>
106             <artifactId>yang-parser-impl</artifactId>
107         </dependency>
108         <dependency>
109             <groupId>org.opendaylight.yangtools</groupId>
110             <artifactId>yang-parser-rfc7950</artifactId>
111         </dependency>
112         <dependency>
113             <groupId>org.opendaylight.yangtools</groupId>
114             <artifactId>yang-test-util</artifactId>
115             <scope>provided</scope>
116         </dependency>
117         <dependency>
118             <groupId>org.opendaylight.yangtools</groupId>
119             <artifactId>yang-maven-plugin-spi</artifactId>
120         </dependency>
121
122         <dependency>
123             <groupId>org.opendaylight.yangtools</groupId>
124             <artifactId>odlext-model-api</artifactId>
125         </dependency>
126         <dependency>
127             <groupId>org.opendaylight.yangtools</groupId>
128             <artifactId>odlext-parser-support</artifactId>
129         </dependency>
130
131         <dependency>
132             <groupId>org.opendaylight.yangtools</groupId>
133             <artifactId>openconfig-model-api</artifactId>
134         </dependency>
135         <dependency>
136             <groupId>org.opendaylight.yangtools</groupId>
137             <artifactId>openconfig-parser-support</artifactId>
138         </dependency>
139
140         <dependency>
141             <groupId>org.opendaylight.yangtools</groupId>
142             <artifactId>rfc6536-model-api</artifactId>
143         </dependency>
144         <dependency>
145             <groupId>org.opendaylight.yangtools</groupId>
146             <artifactId>rfc6536-parser-support</artifactId>
147         </dependency>
148
149         <dependency>
150             <groupId>org.opendaylight.yangtools</groupId>
151             <artifactId>rfc7952-model-api</artifactId>
152         </dependency>
153         <dependency>
154             <groupId>org.opendaylight.yangtools</groupId>
155             <artifactId>rfc7952-parser-support</artifactId>
156         </dependency>
157
158         <dependency>
159             <groupId>org.opendaylight.yangtools</groupId>
160             <artifactId>rfc8040-model-api</artifactId>
161         </dependency>
162         <dependency>
163             <groupId>org.opendaylight.yangtools</groupId>
164             <artifactId>rfc8040-parser-support</artifactId>
165         </dependency>
166
167         <dependency>
168             <groupId>org.opendaylight.yangtools</groupId>
169             <artifactId>yang-xpath-api</artifactId>
170         </dependency>
171         <dependency>
172             <groupId>org.opendaylight.yangtools</groupId>
173             <artifactId>yang-xpath-impl</artifactId>
174         </dependency>
175
176         <dependency>
177             <groupId>org.opendaylight.yangtools</groupId>
178             <artifactId>util</artifactId>
179         </dependency>
180         <dependency>
181             <groupId>org.opendaylight.yangtools</groupId>
182             <artifactId>triemap</artifactId>
183         </dependency>
184
185         <dependency>
186             <groupId>org.opendaylight.yangtools</groupId>
187             <artifactId>testutils</artifactId>
188         </dependency>
189
190         <!-- Also add dependencies we are using -->
191         <dependency>
192             <groupId>org.kohsuke.metainf-services</groupId>
193             <artifactId>metainf-services</artifactId>
194             <scope>provided</scope>
195         </dependency>
196         <dependency>
197             <groupId>org.osgi</groupId>
198             <artifactId>org.osgi.core</artifactId>
199             <scope>provided</scope>
200         </dependency>
201         <dependency>
202             <groupId>org.immutables</groupId>
203             <artifactId>value</artifactId>
204             <scope>provided</scope>
205         </dependency>
206         <dependency>
207             <groupId>org.apache.maven</groupId>
208             <artifactId>maven-core</artifactId>
209             <version>3.5.4</version>
210             <scope>provided</scope>
211         </dependency>
212         <dependency>
213             <groupId>org.sonatype.plexus</groupId>
214             <artifactId>plexus-build-api</artifactId>
215             <scope>provided</scope>
216         </dependency>
217         <dependency>
218             <groupId>org.mockito</groupId>
219             <artifactId>mockito-core</artifactId>
220             <scope>provided</scope>
221         </dependency>
222     </dependencies>
223
224     <build>
225         <plugins>
226             <plugin>
227                 <groupId>org.asciidoctor</groupId>
228                 <artifactId>asciidoctor-maven-plugin</artifactId>
229                 <version>1.5.7.1</version>
230                 <executions>
231                     <execution>
232                         <id>output-html</id>
233                         <phase>generate-resources</phase>
234                         <goals>
235                             <goal>process-asciidoc</goal>
236                         </goals>
237                         <configuration>
238                             <sourceHighlighter>coderay</sourceHighlighter>
239                             <backend>html</backend>
240                             <attributes>
241                                 <toc/>
242                                 <linkcss>false</linkcss>
243                             </attributes>
244                         </configuration>
245                     </execution>
246                 </executions>
247                 <configuration>
248                     <attributes>
249                         <revnumber>${project.version}</revnumber>
250                         <revdate>${maven.build.timestamp}</revdate>
251                         <organization>${project.organization.name}</organization>
252                     </attributes>
253                 </configuration>
254             </plugin>
255
256             <plugin>
257                 <artifactId>maven-dependency-plugin</artifactId>
258                 <executions>
259                     <execution>
260                         <id>unpack-sources</id>
261                         <phase>process-classes</phase>
262                         <goals>
263                             <goal>unpack-dependencies</goal>
264                         </goals>
265                         <configuration>
266                             <silent>true</silent>
267                             <classifier>sources</classifier>
268                             <includes>org/opendaylight/**</includes>
269                             <includeGroupIds>org.opendaylight.yangtools</includeGroupIds>
270                             <outputDirectory>${project.build.directory}/src</outputDirectory>
271                         </configuration>
272                     </execution>
273                 </executions>
274             </plugin>
275             <plugin>
276                 <groupId>org.codehaus.mojo</groupId>
277                 <artifactId>build-helper-maven-plugin</artifactId>
278                 <executions>
279                     <execution>
280                         <id>add-source</id>
281                         <phase>process-classes</phase>
282                         <goals>
283                             <goal>add-source</goal>
284                         </goals>
285                         <configuration>
286                             <sources>
287                                 <source>${project.build.directory}/src</source>
288                             </sources>
289                         </configuration>
290                     </execution>
291                 </executions>
292             </plugin>
293
294             <plugin>
295                 <artifactId>maven-source-plugin</artifactId>
296                 <executions>
297                     <execution>
298                         <id>attach-sources</id>
299                         <!-- prepare-package so we build the source package before javadoc -->
300                         <phase>prepare-package</phase>
301                         <goals>
302                             <goal>jar-no-fork</goal>
303                         </goals>
304                     </execution>
305                 </executions>
306             </plugin>
307
308             <plugin>
309                 <artifactId>maven-javadoc-plugin</artifactId>
310                     <!-- FIXME: remove override once odlparent ships 3.1.0+ -->
311                 <version>3.0.0</version>
312                 <executions>
313                     <execution>
314                         <id>attach-javadocs</id>
315                         <goals>
316                             <goal>jar</goal>
317                         </goals>
318                     </execution>
319                 </executions>
320                 <!-- FIXME: remove this section once we can activate javadoc-links profile -->
321                 <configuration combine.children="append">
322                     <links>
323                         <link>https://junit.org/junit4/javadoc/4.11/</link>
324                         <link>http://hamcrest.org/JavaHamcrest/javadoc/1.3/</link>
325                         <link>http://google.github.io/truth/api/0.42/</link>
326                         <link>https://www.slf4j.org/apidocs/</link>
327                         <link>https://google.github.io/guava/releases/25.1-jre/api/docs/</link>
328                         <link>https://commons.apache.org/proper/commons-lang/javadocs/api-2.6/</link>
329                         <link>https://commons.apache.org/proper/commons-lang/javadocs/api-3.8.1/</link>
330                         <link>https://commons.apache.org/proper/commons-codec/apidocs/</link>
331                     </links>
332                     <groups>
333                         <group>
334                             <title>Common concepts</title>
335                             <packages>org.opendaylight.yangtools.concepts*</packages>
336                         </group>
337                         <group>
338                             <title>Common utilities</title>
339                             <packages>org.opendaylight.yangtools.util*</packages>
340                         </group>
341                         <group>
342                             <title>Common YANG constructs</title>
343                             <packages>org.opendaylight.yangtools.yang.common*</packages>
344                         </group>
345                         <group>
346                             <title>YANG schema interfaces</title>
347                             <packages>org.opendaylight.yangtools.yang.model.api*:org.opendaylight.yangtools.yang.model.util*</packages>
348                         </group>
349                         <group>
350                             <title>YANG data tree interfaces</title>
351                             <packages>org.opendaylight.yangtools.yang.data.api*:org.opendaylight.yangtools.yang.data.util*</packages>
352                         </group>
353                         <group>
354                             <title>yang-maven-plugin codegen interface</title>
355                             <packages>org.opendaylight.yangtools.yang2sources.spi*</packages>
356                         </group>
357                         <group>
358                             <title>Common YANG parser</title>
359                             <packages>org.opendaylight.yangtools.yang.parser*</packages>
360                         </group>
361                     </groups>
362                 </configuration>
363             </plugin>
364         </plugins>
365     </build>
366 </project>