Fix followerDistributedDataStore tear down
[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>12.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>7.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>jakarta.annotation</groupId>
106             <artifactId>jakarta.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>org.osgi.framework</artifactId>
115         </dependency>
116         <dependency>
117             <groupId>org.osgi</groupId>
118             <artifactId>org.osgi.service.component</artifactId>
119         </dependency>
120         <dependency>
121             <groupId>org.osgi</groupId>
122             <artifactId>org.osgi.service.component.annotations</artifactId>
123         </dependency>
124         <dependency>
125             <groupId>org.osgi</groupId>
126             <artifactId>org.osgi.service.metatype.annotations</artifactId>
127         </dependency>
128     </dependencies>
129
130     <build>
131         <plugins>
132             <plugin>
133                 <artifactId>maven-dependency-plugin</artifactId>
134                 <executions>
135                     <execution>
136                         <id>unpack-sources</id>
137                         <phase>prepare-package</phase>
138                         <goals>
139                             <goal>unpack-dependencies</goal>
140                         </goals>
141                         <configuration>
142                             <silent>true</silent>
143                             <classifier>sources</classifier>
144                             <includes>org/opendaylight/**</includes>
145                             <includeGroupIds>org.opendaylight.controller</includeGroupIds>
146                             <outputDirectory>${project.build.directory}/src</outputDirectory>
147                         </configuration>
148                     </execution>
149                 </executions>
150             </plugin>
151
152             <plugin>
153                 <groupId>org.codehaus.mojo</groupId>
154                 <artifactId>build-helper-maven-plugin</artifactId>
155                 <executions>
156                     <execution>
157                         <id>add-source</id>
158                         <!-- post-compile, but before prepare-package -->
159                         <phase>process-classes</phase>
160                         <goals>
161                             <goal>add-source</goal>
162                         </goals>
163                         <configuration>
164                             <sources>
165                                 <source>${project.build.directory}/src</source>
166                             </sources>
167                         </configuration>
168                     </execution>
169                 </executions>
170             </plugin>
171
172             <plugin>
173                 <artifactId>maven-source-plugin</artifactId>
174                 <executions>
175                     <execution>
176                         <id>attach-sources</id>
177                         <!-- prepare-package so we build the source package before javadoc -->
178                         <phase>prepare-package</phase>
179                         <goals>
180                             <goal>jar-no-fork</goal>
181                         </goals>
182                     </execution>
183                 </executions>
184             </plugin>
185
186             <plugin>
187                 <artifactId>maven-clean-plugin</artifactId>
188                 <executions>
189                     <execution>
190                         <id>remove-undocumented-sources</id>
191                         <!-- Before javadoc runs -->
192                         <phase>prepare-package</phase>
193                         <goals>
194                             <goal>clean</goal>
195                         </goals>
196                         <configuration>
197                             <excludeDefaultDirectories>true</excludeDefaultDirectories>
198                             <filesets>
199                                 <fileset>
200                                     <directory>${project.build.directory}/src</directory>
201                                     <includes>
202                                         <include>**/$YangModelBindingProvider.java</include>
203                                         <include>**/$YangModuleInfoImpl.java</include>
204                                     </includes>
205                                 </fileset>
206                             </filesets>
207                         </configuration>
208                     </execution>
209                 </executions>
210             </plugin>
211             <plugin>
212                 <artifactId>maven-javadoc-plugin</artifactId>
213                 <executions>
214                     <execution>
215                         <id>attach-javadocs</id>
216                         <goals>
217                             <goal>jar</goal>
218                         </goals>
219                     </execution>
220                 </executions>
221                 <!-- FIXME: remove this section once we can activate javadoc-links profile -->
222                 <configuration combine.children="append">
223                     <links>
224                         <link>https://junit.org/junit4/javadoc/4.13/</link>
225                         <link>http://hamcrest.org/JavaHamcrest/javadoc/2.2/</link>
226                         <link>http://www.slf4j.org/apidocs/</link>
227                         <link>https://google.github.io/guava/releases/31.1-jre/api/docs/</link>
228                         <link>http://doc.akka.io/japi/akka/2.6.20/</link>
229                         <link>http://netty.io/4.1/api/</link>
230                         <link>https://commons.apache.org/proper/commons-lang/javadocs/api-release/</link>
231
232                         <link>https://www.javadoc.io/doc/org.opendaylight.odlparent/odlparent-docs/12.0.1/</link>
233                         <link>https://www.javadoc.io/doc/org.opendaylight.yangtools/yangtools-docs/10.0.2/</link>
234                         <link>https://www.javadoc.io/doc/org.opendaylight.mdsal/mdsal-docs/11.0.4/</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 Tracing Utilities</title>
255                             <packages>org.opendaylight.controller.md.sal.trace.*:org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.mdsaltrace.rev160908*</packages>
256                         </group>
257                     </groups>
258                 </configuration>
259             </plugin>
260         </plugins>
261     </build>
262 </project>