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