Bump versions to 3.0.3-SNAPSHOT
[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>8.0.1</version>
16         <relativePath/>
17     </parent>
18
19     <groupId>org.opendaylight.controller</groupId>
20     <artifactId>controller-docs</artifactId>
21     <packaging>jar</packaging>
22     <version>3.0.3-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         <!-- Base model augmentations -->
62         <dependency>
63             <groupId>org.opendaylight.controller.model</groupId>
64             <artifactId>model-inventory</artifactId>
65         </dependency>
66         <dependency>
67             <groupId>org.opendaylight.controller.model</groupId>
68             <artifactId>model-topology</artifactId>
69         </dependency>
70
71         <!-- Clustered implementation -->
72         <dependency>
73             <groupId>org.opendaylight.controller</groupId>
74             <artifactId>sal-clustering-commons</artifactId>
75         </dependency>
76         <dependency>
77             <groupId>org.opendaylight.controller</groupId>
78             <artifactId>sal-distributed-datastore</artifactId>
79         </dependency>
80         <dependency>
81             <groupId>org.opendaylight.controller</groupId>
82             <artifactId>sal-remoterpc-connector</artifactId>
83         </dependency>
84         <dependency>
85             <groupId>org.opendaylight.controller</groupId>
86             <artifactId>sal-akka-raft</artifactId>
87         </dependency>
88         <dependency>
89             <groupId>org.opendaylight.controller</groupId>
90             <artifactId>cds-access-api</artifactId>
91         </dependency>
92         <dependency>
93             <groupId>org.opendaylight.controller</groupId>
94             <artifactId>cds-access-client</artifactId>
95         </dependency>
96         <dependency>
97             <groupId>org.opendaylight.controller</groupId>
98             <artifactId>sal-cluster-admin-api</artifactId>
99         </dependency>
100         <dependency>
101             <groupId>org.opendaylight.controller</groupId>
102             <artifactId>sal-cluster-admin-impl</artifactId>
103         </dependency>
104         <dependency>
105             <groupId>org.opendaylight.controller</groupId>
106             <artifactId>cds-dom-api</artifactId>
107         </dependency>
108
109         <!-- MessageBus -->
110         <dependency>
111             <groupId>org.opendaylight.controller</groupId>
112             <artifactId>messagebus-api</artifactId>
113         </dependency>
114         <dependency>
115             <groupId>org.opendaylight.controller</groupId>
116             <artifactId>messagebus-spi</artifactId>
117         </dependency>
118         <dependency>
119             <groupId>org.opendaylight.controller</groupId>
120             <artifactId>messagebus-impl</artifactId>
121         </dependency>
122         <dependency>
123             <groupId>org.opendaylight.controller</groupId>
124             <artifactId>messagebus-util</artifactId>
125         </dependency>
126
127         <!-- Third-party dependencies -->
128         <dependency>
129             <groupId>javax.inject</groupId>
130             <artifactId>javax.inject</artifactId>
131             <scope>provided</scope>
132         </dependency>
133         <dependency>
134             <groupId>org.kohsuke.metainf-services</groupId>
135             <artifactId>metainf-services</artifactId>
136         </dependency>
137         <dependency>
138             <groupId>org.osgi</groupId>
139             <artifactId>org.osgi.core</artifactId>
140         </dependency>
141         <dependency>
142             <groupId>org.osgi</groupId>
143             <artifactId>osgi.cmpn</artifactId>
144         </dependency>
145     </dependencies>
146
147     <build>
148         <plugins>
149             <plugin>
150                 <artifactId>maven-dependency-plugin</artifactId>
151                 <executions>
152                     <execution>
153                         <id>unpack-sources</id>
154                         <phase>prepare-package</phase>
155                         <goals>
156                             <goal>unpack-dependencies</goal>
157                         </goals>
158                         <configuration>
159                             <silent>true</silent>
160                             <classifier>sources</classifier>
161                             <includes>org/opendaylight/**</includes>
162                             <includeGroupIds>org.opendaylight.controller</includeGroupIds>
163                             <outputDirectory>${project.build.directory}/src</outputDirectory>
164                         </configuration>
165                     </execution>
166                 </executions>
167             </plugin>
168
169             <plugin>
170                 <groupId>org.codehaus.mojo</groupId>
171                 <artifactId>build-helper-maven-plugin</artifactId>
172                 <executions>
173                     <execution>
174                         <id>add-source</id>
175                         <!-- post-compile, but before prepare-package -->
176                         <phase>process-classes</phase>
177                         <goals>
178                             <goal>add-source</goal>
179                         </goals>
180                         <configuration>
181                             <sources>
182                                 <source>${project.build.directory}/src</source>
183                             </sources>
184                         </configuration>
185                     </execution>
186                 </executions>
187             </plugin>
188
189             <plugin>
190                 <artifactId>maven-source-plugin</artifactId>
191                 <executions>
192                     <execution>
193                         <id>attach-sources</id>
194                         <!-- prepare-package so we build the source package before javadoc -->
195                         <phase>prepare-package</phase>
196                         <goals>
197                             <goal>jar-no-fork</goal>
198                         </goals>
199                     </execution>
200                 </executions>
201             </plugin>
202
203             <plugin>
204                 <artifactId>maven-clean-plugin</artifactId>
205                 <executions>
206                     <execution>
207                         <id>remove-undocumented-sources</id>
208                         <!-- Before javadoc runs -->
209                         <phase>prepare-package</phase>
210                         <goals>
211                             <goal>clean</goal>
212                         </goals>
213                         <configuration>
214                             <excludeDefaultDirectories>true</excludeDefaultDirectories>
215                             <filesets>
216                                 <fileset>
217                                     <directory>${project.build.directory}/src</directory>
218                                     <includes>
219                                         <include>**/$YangModelBindingProvider.java</include>
220                                         <include>**/$YangModuleInfoImpl.java</include>
221                                     </includes>
222                                 </fileset>
223                             </filesets>
224                         </configuration>
225                     </execution>
226                 </executions>
227             </plugin>
228             <plugin>
229                 <artifactId>maven-javadoc-plugin</artifactId>
230                 <executions>
231                     <execution>
232                         <id>attach-javadocs</id>
233                         <goals>
234                             <goal>jar</goal>
235                         </goals>
236                     </execution>
237                 </executions>
238                 <!-- FIXME: remove this section once we can activate javadoc-links profile -->
239                 <configuration combine.children="append">
240                     <links>
241                         <link>https://junit.org/junit4/javadoc/4.13/</link>
242                         <link>http://hamcrest.org/JavaHamcrest/javadoc/2.2/</link>
243                         <link>http://google.github.io/truth/api/1.0.1/</link>
244                         <link>http://www.slf4j.org/apidocs/</link>
245                         <link>https://google.github.io/guava/releases/29.0-jre/api/docs/</link>
246                         <link>http://doc.akka.io/japi/akka/2.5.31/</link>
247                         <link>http://netty.io/4.1/api/</link>
248                         <link>https://commons.apache.org/proper/commons-lang/javadocs/api-2.6/</link>
249                         <link>https://commons.apache.org/proper/commons-lang/javadocs/api-3.9/</link>
250                         <link>https://commons.apache.org/proper/commons-codec/apidocs/</link>
251
252                         <link>https://www.javadoc.io/doc/org.opendaylight.odlparent/odlparent-docs/8.0.1/</link>
253                         <link>https://www.javadoc.io/doc/org.opendaylight.yangtools/yangtools-docs/6.0.1/</link>
254                         <link>https://www.javadoc.io/doc/org.opendaylight.mdsal/mdsal-docs/7.0.2/</link>
255                     </links>
256                     <groups>
257                         <group>
258                             <title>Distributed Datastore Access API</title>
259                             <packages>org.opendaylight.controller.cluster.access:org.opendaylight.controller.cluster.access.commands:org.opendaylight.controller.cluster.access.concepts</packages>
260                         </group>
261                         <group>
262                             <title>Distributed Datastore Access Client</title>
263                             <packages>org.opendaylight.controller.cluster.access.client</packages>
264                         </group>
265                         <group>
266                             <title>Distributed Datastore DOM API extensions</title>
267                             <packages>org.opendaylight.controller.cluster.dom.api</packages>
268                         </group>
269                         <group>
270                             <title>Akka RAFT implementation</title>
271                             <packages>org.opendaylight.controller.cluster.raft*</packages>
272                         </group>
273                         <group>
274                             <title>MD-SAL Message Bus Bridge (experimental)</title>
275                             <packages>org.opendaylight.controller.messagebus.*:org.opendaylight.yang.gen.v1.urn.cisco.params.xml.ns.yang.messagebus.*</packages>
276                         </group>
277                         <group>
278                             <title>MD-SAL Tracing Utilities</title>
279                             <packages>org.opendaylight.controller.md.sal.trace.*:org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.mdsaltrace.rev160908*</packages>
280                         </group>
281                     </groups>
282                 </configuration>
283             </plugin>
284         </plugins>
285     </build>
286 </project>