07a003d0c2a7d83c73bb1c77fc4c418de4beca6a
[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.5</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.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         <!-- 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>javax.annotation</groupId>
106             <artifactId>javax.annotation-api</artifactId>
107         </dependency>
108         <dependency>
109             <groupId>org.kohsuke.metainf-services</groupId>
110             <artifactId>metainf-services</artifactId>
111         </dependency>
112         <dependency>
113             <groupId>org.osgi</groupId>
114             <artifactId>osgi.core</artifactId>
115         </dependency>
116         <dependency>
117             <groupId>org.osgi</groupId>
118             <artifactId>osgi.cmpn</artifactId>
119         </dependency>
120     </dependencies>
121
122     <build>
123         <plugins>
124             <plugin>
125                 <artifactId>maven-dependency-plugin</artifactId>
126                 <executions>
127                     <execution>
128                         <id>unpack-sources</id>
129                         <phase>prepare-package</phase>
130                         <goals>
131                             <goal>unpack-dependencies</goal>
132                         </goals>
133                         <configuration>
134                             <silent>true</silent>
135                             <classifier>sources</classifier>
136                             <includes>org/opendaylight/**</includes>
137                             <includeGroupIds>org.opendaylight.controller</includeGroupIds>
138                             <outputDirectory>${project.build.directory}/src</outputDirectory>
139                         </configuration>
140                     </execution>
141                 </executions>
142             </plugin>
143
144             <plugin>
145                 <groupId>org.codehaus.mojo</groupId>
146                 <artifactId>build-helper-maven-plugin</artifactId>
147                 <executions>
148                     <execution>
149                         <id>add-source</id>
150                         <!-- post-compile, but before prepare-package -->
151                         <phase>process-classes</phase>
152                         <goals>
153                             <goal>add-source</goal>
154                         </goals>
155                         <configuration>
156                             <sources>
157                                 <source>${project.build.directory}/src</source>
158                             </sources>
159                         </configuration>
160                     </execution>
161                 </executions>
162             </plugin>
163
164             <plugin>
165                 <artifactId>maven-source-plugin</artifactId>
166                 <executions>
167                     <execution>
168                         <id>attach-sources</id>
169                         <!-- prepare-package so we build the source package before javadoc -->
170                         <phase>prepare-package</phase>
171                         <goals>
172                             <goal>jar-no-fork</goal>
173                         </goals>
174                     </execution>
175                 </executions>
176             </plugin>
177
178             <plugin>
179                 <artifactId>maven-clean-plugin</artifactId>
180                 <executions>
181                     <execution>
182                         <id>remove-undocumented-sources</id>
183                         <!-- Before javadoc runs -->
184                         <phase>prepare-package</phase>
185                         <goals>
186                             <goal>clean</goal>
187                         </goals>
188                         <configuration>
189                             <excludeDefaultDirectories>true</excludeDefaultDirectories>
190                             <filesets>
191                                 <fileset>
192                                     <directory>${project.build.directory}/src</directory>
193                                     <includes>
194                                         <include>**/$YangModelBindingProvider.java</include>
195                                         <include>**/$YangModuleInfoImpl.java</include>
196                                     </includes>
197                                 </fileset>
198                             </filesets>
199                         </configuration>
200                     </execution>
201                 </executions>
202             </plugin>
203             <plugin>
204                 <artifactId>maven-javadoc-plugin</artifactId>
205                 <executions>
206                     <execution>
207                         <id>attach-javadocs</id>
208                         <goals>
209                             <goal>jar</goal>
210                         </goals>
211                     </execution>
212                 </executions>
213                 <!-- FIXME: remove this section once we can activate javadoc-links profile -->
214                 <configuration combine.children="append">
215                     <links>
216                         <link>https://junit.org/junit4/javadoc/4.13/</link>
217                         <link>http://hamcrest.org/JavaHamcrest/javadoc/2.2/</link>
218                         <link>http://google.github.io/truth/api/1.0.1/</link>
219                         <link>http://www.slf4j.org/apidocs/</link>
220                         <link>https://google.github.io/guava/releases/29.0-jre/api/docs/</link>
221                         <link>http://doc.akka.io/japi/akka/2.6.16/</link>
222                         <link>http://netty.io/4.1/api/</link>
223                         <link>https://commons.apache.org/proper/commons-lang/javadocs/api-2.6/</link>
224                         <link>https://commons.apache.org/proper/commons-lang/javadocs/api-3.9/</link>
225                         <link>https://commons.apache.org/proper/commons-codec/apidocs/</link>
226
227                         <link>https://www.javadoc.io/doc/org.opendaylight.odlparent/odlparent-docs/9.0.5/</link>
228                         <link>https://www.javadoc.io/doc/org.opendaylight.yangtools/yangtools-docs/7.0.7/</link>
229                         <link>https://www.javadoc.io/doc/org.opendaylight.mdsal/mdsal-docs/8.0.4/</link>
230                     </links>
231                     <groups>
232                         <group>
233                             <title>Distributed Datastore Access API</title>
234                             <packages>org.opendaylight.controller.cluster.access:org.opendaylight.controller.cluster.access.commands:org.opendaylight.controller.cluster.access.concepts</packages>
235                         </group>
236                         <group>
237                             <title>Distributed Datastore Access Client</title>
238                             <packages>org.opendaylight.controller.cluster.access.client</packages>
239                         </group>
240                         <group>
241                             <title>Distributed Datastore DOM API extensions</title>
242                             <packages>org.opendaylight.controller.cluster.dom.api</packages>
243                         </group>
244                         <group>
245                             <title>Akka RAFT implementation</title>
246                             <packages>org.opendaylight.controller.cluster.raft*</packages>
247                         </group>
248                         <group>
249                             <title>MD-SAL Tracing Utilities</title>
250                             <packages>org.opendaylight.controller.md.sal.trace.*:org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.mdsaltrace.rev160908*</packages>
251                         </group>
252                     </groups>
253                 </configuration>
254             </plugin>
255         </plugins>
256     </build>
257 </project>