029b4752cc65a602f05217ebedbdae9ba35a46b3
[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>7.0.6</version>
16         <relativePath/>
17     </parent>
18
19     <groupId>org.opendaylight.controller</groupId>
20     <artifactId>controller-docs</artifactId>
21     <packaging>jar</packaging>
22     <version>2.0.4-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>osgi.cmpn</artifactId>
140         </dependency>
141     </dependencies>
142
143     <build>
144         <plugins>
145             <plugin>
146                 <artifactId>maven-dependency-plugin</artifactId>
147                 <executions>
148                     <execution>
149                         <id>unpack-sources</id>
150                         <phase>prepare-package</phase>
151                         <goals>
152                             <goal>unpack-dependencies</goal>
153                         </goals>
154                         <configuration>
155                             <silent>true</silent>
156                             <classifier>sources</classifier>
157                             <includes>org/opendaylight/**</includes>
158                             <includeGroupIds>org.opendaylight.controller</includeGroupIds>
159                             <outputDirectory>${project.build.directory}/src</outputDirectory>
160                         </configuration>
161                     </execution>
162                 </executions>
163             </plugin>
164
165             <plugin>
166                 <groupId>org.codehaus.mojo</groupId>
167                 <artifactId>build-helper-maven-plugin</artifactId>
168                 <executions>
169                     <execution>
170                         <id>add-source</id>
171                         <!-- post-compile, but before prepare-package -->
172                         <phase>process-classes</phase>
173                         <goals>
174                             <goal>add-source</goal>
175                         </goals>
176                         <configuration>
177                             <sources>
178                                 <source>${project.build.directory}/src</source>
179                             </sources>
180                         </configuration>
181                     </execution>
182                 </executions>
183             </plugin>
184
185             <plugin>
186                 <artifactId>maven-source-plugin</artifactId>
187                 <executions>
188                     <execution>
189                         <id>attach-sources</id>
190                         <!-- prepare-package so we build the source package before javadoc -->
191                         <phase>prepare-package</phase>
192                         <goals>
193                             <goal>jar-no-fork</goal>
194                         </goals>
195                     </execution>
196                 </executions>
197             </plugin>
198
199             <plugin>
200                 <artifactId>maven-clean-plugin</artifactId>
201                 <executions>
202                     <execution>
203                         <id>remove-undocumented-sources</id>
204                         <!-- Before javadoc runs -->
205                         <phase>prepare-package</phase>
206                         <goals>
207                             <goal>clean</goal>
208                         </goals>
209                         <configuration>
210                             <excludeDefaultDirectories>true</excludeDefaultDirectories>
211                             <filesets>
212                                 <fileset>
213                                     <directory>${project.build.directory}/src</directory>
214                                     <includes>
215                                         <include>**/$YangModelBindingProvider.java</include>
216                                         <include>**/$YangModuleInfoImpl.java</include>
217                                     </includes>
218                                 </fileset>
219                             </filesets>
220                         </configuration>
221                     </execution>
222                 </executions>
223             </plugin>
224             <plugin>
225                 <artifactId>maven-javadoc-plugin</artifactId>
226                 <executions>
227                     <execution>
228                         <id>attach-javadocs</id>
229                         <goals>
230                             <goal>jar</goal>
231                         </goals>
232                     </execution>
233                 </executions>
234                 <!-- FIXME: remove this section once we can activate javadoc-links profile -->
235                 <configuration combine.children="append">
236                     <links>
237                         <link>https://junit.org/junit4/javadoc/4.13/</link>
238                         <link>http://hamcrest.org/JavaHamcrest/javadoc/2.2/</link>
239                         <link>http://google.github.io/truth/api/1.0.1/</link>
240                         <link>http://www.slf4j.org/apidocs/</link>
241                         <link>https://google.github.io/guava/releases/28.2-jre/api/docs/</link>
242                         <link>http://doc.akka.io/japi/akka/2.5.31/</link>
243                         <link>http://netty.io/4.1/api/</link>
244                         <link>https://commons.apache.org/proper/commons-lang/javadocs/api-2.6/</link>
245                         <link>https://commons.apache.org/proper/commons-lang/javadocs/api-3.9/</link>
246                         <link>https://commons.apache.org/proper/commons-codec/apidocs/</link>
247
248                         <link>https://www.javadoc.io/doc/org.opendaylight.odlparent/odlparent-docs/7.0.6/</link>
249                         <link>https://www.javadoc.io/doc/org.opendaylight.yangtools/yangtools-docs/5.0.6/</link>
250                         <link>https://www.javadoc.io/doc/org.opendaylight.mdsal/mdsal-docs/6.0.5-SNAPSHOT/</link>
251                     </links>
252                     <groups>
253                         <group>
254                             <title>Distributed Datastore Access API</title>
255                             <packages>org.opendaylight.controller.cluster.access:org.opendaylight.controller.cluster.access.commands:org.opendaylight.controller.cluster.access.concepts</packages>
256                         </group>
257                         <group>
258                             <title>Distributed Datastore Access Client</title>
259                             <packages>org.opendaylight.controller.cluster.access.client</packages>
260                         </group>
261                         <group>
262                             <title>Distributed Datastore DOM API extensions</title>
263                             <packages>org.opendaylight.controller.cluster.dom.api</packages>
264                         </group>
265                         <group>
266                             <title>Akka RAFT implementation</title>
267                             <packages>org.opendaylight.controller.cluster.raft*</packages>
268                         </group>
269                         <group>
270                             <title>MD-SAL Message Bus Bridge (experimental)</title>
271                             <packages>org.opendaylight.controller.messagebus.*:org.opendaylight.yang.gen.v1.urn.cisco.params.xml.ns.yang.messagebus.*</packages>
272                         </group>
273                         <group>
274                             <title>MD-SAL Tracing Utilities</title>
275                             <packages>org.opendaylight.controller.md.sal.trace.*:org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.mdsaltrace.rev160908*</packages>
276                         </group>
277                     </groups>
278                 </configuration>
279             </plugin>
280         </plugins>
281     </build>
282 </project>

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.