Bump yangtools to 7.0.2
[controller.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>odlparent</artifactId>
15         <version>9.0.2</version>
16         <relativePath/>
17     </parent>
18
19     <groupId>org.opendaylight.controller</groupId>
20     <artifactId>controller-docs</artifactId>
21     <packaging>jar</packaging>
22     <version>4.0.0-SNAPSHOT</version>
23     <name>${project.artifactId}</name>
24     <description>Controller documentation</description>
25
26     <dependencyManagement>
27         <dependencies>
28             <dependency>
29                 <groupId>org.opendaylight.controller</groupId>
30                 <artifactId>controller-artifacts</artifactId>
31                 <version>${project.version}</version>
32                 <type>pom</type>
33                 <scope>import</scope>
34             </dependency>
35         </dependencies>
36     </dependencyManagement>
37
38     <dependencies>
39         <!-- Config Subsystem remnants -->
40         <dependency>
41             <groupId>org.opendaylight.controller</groupId>
42             <artifactId>netty-event-executor-config</artifactId>
43         </dependency>
44         <dependency>
45             <groupId>org.opendaylight.controller</groupId>
46             <artifactId>netty-threadgroup-config</artifactId>
47         </dependency>
48         <dependency>
49             <groupId>org.opendaylight.controller</groupId>
50             <artifactId>netty-timer-config</artifactId>
51         </dependency>
52         <dependency>
53             <groupId>org.opendaylight.controller</groupId>
54             <artifactId>threadpool-config-api</artifactId>
55         </dependency>
56         <dependency>
57             <groupId>org.opendaylight.controller</groupId>
58             <artifactId>threadpool-config-impl</artifactId>
59         </dependency>
60
61         <!-- Clustered implementation -->
62         <dependency>
63             <groupId>org.opendaylight.controller</groupId>
64             <artifactId>sal-clustering-commons</artifactId>
65         </dependency>
66         <dependency>
67             <groupId>org.opendaylight.controller</groupId>
68             <artifactId>sal-distributed-datastore</artifactId>
69         </dependency>
70         <dependency>
71             <groupId>org.opendaylight.controller</groupId>
72             <artifactId>sal-remoterpc-connector</artifactId>
73         </dependency>
74         <dependency>
75             <groupId>org.opendaylight.controller</groupId>
76             <artifactId>sal-akka-raft</artifactId>
77         </dependency>
78         <dependency>
79             <groupId>org.opendaylight.controller</groupId>
80             <artifactId>cds-access-api</artifactId>
81         </dependency>
82         <dependency>
83             <groupId>org.opendaylight.controller</groupId>
84             <artifactId>cds-access-client</artifactId>
85         </dependency>
86         <dependency>
87             <groupId>org.opendaylight.controller</groupId>
88             <artifactId>sal-cluster-admin-api</artifactId>
89         </dependency>
90         <dependency>
91             <groupId>org.opendaylight.controller</groupId>
92             <artifactId>sal-cluster-admin-impl</artifactId>
93         </dependency>
94         <dependency>
95             <groupId>org.opendaylight.controller</groupId>
96             <artifactId>cds-dom-api</artifactId>
97         </dependency>
98
99         <!-- Third-party dependencies -->
100         <dependency>
101             <groupId>com.guicedee.services</groupId>
102             <artifactId>javax.inject</artifactId>
103         </dependency>
104         <dependency>
105             <groupId>org.kohsuke.metainf-services</groupId>
106             <artifactId>metainf-services</artifactId>
107         </dependency>
108         <dependency>
109             <groupId>org.osgi</groupId>
110             <artifactId>osgi.core</artifactId>
111         </dependency>
112         <dependency>
113             <groupId>org.osgi</groupId>
114             <artifactId>osgi.cmpn</artifactId>
115         </dependency>
116     </dependencies>
117
118     <build>
119         <plugins>
120             <plugin>
121                 <artifactId>maven-dependency-plugin</artifactId>
122                 <executions>
123                     <execution>
124                         <id>unpack-sources</id>
125                         <phase>prepare-package</phase>
126                         <goals>
127                             <goal>unpack-dependencies</goal>
128                         </goals>
129                         <configuration>
130                             <silent>true</silent>
131                             <classifier>sources</classifier>
132                             <includes>org/opendaylight/**</includes>
133                             <includeGroupIds>org.opendaylight.controller</includeGroupIds>
134                             <outputDirectory>${project.build.directory}/src</outputDirectory>
135                         </configuration>
136                     </execution>
137                 </executions>
138             </plugin>
139
140             <plugin>
141                 <groupId>org.codehaus.mojo</groupId>
142                 <artifactId>build-helper-maven-plugin</artifactId>
143                 <executions>
144                     <execution>
145                         <id>add-source</id>
146                         <!-- post-compile, but before prepare-package -->
147                         <phase>process-classes</phase>
148                         <goals>
149                             <goal>add-source</goal>
150                         </goals>
151                         <configuration>
152                             <sources>
153                                 <source>${project.build.directory}/src</source>
154                             </sources>
155                         </configuration>
156                     </execution>
157                 </executions>
158             </plugin>
159
160             <plugin>
161                 <artifactId>maven-source-plugin</artifactId>
162                 <executions>
163                     <execution>
164                         <id>attach-sources</id>
165                         <!-- prepare-package so we build the source package before javadoc -->
166                         <phase>prepare-package</phase>
167                         <goals>
168                             <goal>jar-no-fork</goal>
169                         </goals>
170                     </execution>
171                 </executions>
172             </plugin>
173
174             <plugin>
175                 <artifactId>maven-clean-plugin</artifactId>
176                 <executions>
177                     <execution>
178                         <id>remove-undocumented-sources</id>
179                         <!-- Before javadoc runs -->
180                         <phase>prepare-package</phase>
181                         <goals>
182                             <goal>clean</goal>
183                         </goals>
184                         <configuration>
185                             <excludeDefaultDirectories>true</excludeDefaultDirectories>
186                             <filesets>
187                                 <fileset>
188                                     <directory>${project.build.directory}/src</directory>
189                                     <includes>
190                                         <include>**/$YangModelBindingProvider.java</include>
191                                         <include>**/$YangModuleInfoImpl.java</include>
192                                     </includes>
193                                 </fileset>
194                             </filesets>
195                         </configuration>
196                     </execution>
197                 </executions>
198             </plugin>
199             <plugin>
200                 <artifactId>maven-javadoc-plugin</artifactId>
201                 <executions>
202                     <execution>
203                         <id>attach-javadocs</id>
204                         <goals>
205                             <goal>jar</goal>
206                         </goals>
207                     </execution>
208                 </executions>
209                 <!-- FIXME: remove this section once we can activate javadoc-links profile -->
210                 <configuration combine.children="append">
211                     <links>
212                         <link>https://junit.org/junit4/javadoc/4.13/</link>
213                         <link>http://hamcrest.org/JavaHamcrest/javadoc/2.2/</link>
214                         <link>http://google.github.io/truth/api/1.0.1/</link>
215                         <link>http://www.slf4j.org/apidocs/</link>
216                         <link>https://google.github.io/guava/releases/29.0-jre/api/docs/</link>
217                         <link>http://doc.akka.io/japi/akka/2.6.12/</link>
218                         <link>http://netty.io/4.1/api/</link>
219                         <link>https://commons.apache.org/proper/commons-lang/javadocs/api-2.6/</link>
220                         <link>https://commons.apache.org/proper/commons-lang/javadocs/api-3.9/</link>
221                         <link>https://commons.apache.org/proper/commons-codec/apidocs/</link>
222
223                         <link>https://www.javadoc.io/doc/org.opendaylight.odlparent/odlparent-docs/9.0.2/</link>
224                         <link>https://www.javadoc.io/doc/org.opendaylight.yangtools/yangtools-docs/7.0.2/</link>
225                         <link>https://www.javadoc.io/doc/org.opendaylight.mdsal/mdsal-docs/8.0.0-SNAPSHOT/</link>
226                     </links>
227                     <groups>
228                         <group>
229                             <title>Distributed Datastore Access API</title>
230                             <packages>org.opendaylight.controller.cluster.access:org.opendaylight.controller.cluster.access.commands:org.opendaylight.controller.cluster.access.concepts</packages>
231                         </group>
232                         <group>
233                             <title>Distributed Datastore Access Client</title>
234                             <packages>org.opendaylight.controller.cluster.access.client</packages>
235                         </group>
236                         <group>
237                             <title>Distributed Datastore DOM API extensions</title>
238                             <packages>org.opendaylight.controller.cluster.dom.api</packages>
239                         </group>
240                         <group>
241                             <title>Akka RAFT implementation</title>
242                             <packages>org.opendaylight.controller.cluster.raft*</packages>
243                         </group>
244                         <group>
245                             <title>MD-SAL Tracing Utilities</title>
246                             <packages>org.opendaylight.controller.md.sal.trace.*:org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.mdsaltrace.rev160908*</packages>
247                         </group>
248                     </groups>
249                 </configuration>
250             </plugin>
251         </plugins>
252     </build>
253 </project>