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