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