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