-
Notifications
You must be signed in to change notification settings - Fork 128
Expand file tree
/
Copy pathpom.xml
More file actions
240 lines (237 loc) · 10.7 KB
/
pom.xml
File metadata and controls
240 lines (237 loc) · 10.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2012, 2022 Eclipse Foundation and others.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Distribution License v1.0
which accompanies this distribution, and is available at
http://www.eclipse.org/org/documents/edl-v10.php
Contributors:
Igor Fedorenko - initial implementation
-->
<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">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.eclipse.pde</groupId>
<artifactId>eclipse.pde</artifactId>
<version>4.38.0-SNAPSHOT</version>
</parent>
<artifactId>org.eclipse.pde.doc.user</artifactId>
<version>3.17.300-SNAPSHOT</version>
<packaging>eclipse-plugin</packaging>
<properties>
<eclipse.pde.ui.apitools>${basedir}/../apitools</eclipse.pde.ui.apitools>
<eclipse.pde.ui.ui>${basedir}/../ui</eclipse.pde.ui.ui>
<eclipse.pde.build>${basedir}/../build</eclipse.pde.build>
</properties>
<profiles>
<profile>
<!-- Only enable this for individual bundles builds as otherhwise the ibuild repository is not aviable and we might run into problems -->
<id>build-individual-bundles</id>
<properties>
<pde.docs.baselinemode>warn</pde.docs.baselinemode>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-plugin</artifactId>
<configuration>
<baselineMode>${pde.docs.baselinemode}</baselineMode>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.eclipse.tycho.extras</groupId>
<artifactId>tycho-document-bundle-plugin</artifactId>
<version>${tycho.version}</version>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<artifactId>maven-clean-plugin</artifactId>
<configuration>
<filesets>
<fileset>
<directory>reference/api</directory>
</fileset>
</filesets>
</configuration>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-plugin</artifactId>
<configuration>
<ignoredPatterns combine.children="append">
<!-- Uninteresting Javadoc changes -->
<pattern>reference/api/*.css</pattern>
<pattern>reference/api/*.js</pattern>
<pattern>reference/api/legal/**/*</pattern>
<pattern>reference/api/script-dir/**/*</pattern>
</ignoredPatterns>
</configuration>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
<configuration>
<dependency-resolution>
<extraRequirements>
<!-- documentation we depend on -->
<requirement>
<type>eclipse-plugin</type>
<id>org.eclipse.jdt.doc.isv</id>
<versionRange>0.0.0</versionRange>
</requirement>
<requirement>
<type>eclipse-plugin</type>
<id>org.eclipse.platform.doc.isv</id>
<versionRange>0.0.0</versionRange>
</requirement>
<!-- projects we create documentation from -->
<requirement>
<type>eclipse-plugin</type>
<id>org.eclipse.pde.build</id>
<versionRange>0.0.0</versionRange>
</requirement>
<requirement>
<type>eclipse-plugin</type>
<id>org.eclipse.pde.api.tools.annotations</id>
<versionRange>0.0.0</versionRange>
</requirement>
<requirement>
<type>eclipse-plugin</type>
<id>org.eclipse.pde.core</id>
<versionRange>0.0.0</versionRange>
</requirement>
<requirement>
<type>eclipse-plugin</type>
<id>org.eclipse.pde.launching</id>
<versionRange>0.0.0</versionRange>
</requirement>
<requirement>
<type>eclipse-plugin</type>
<id>org.eclipse.pde.ui</id>
<versionRange>0.0.0</versionRange>
</requirement>
</extraRequirements>
</dependency-resolution>
</configuration>
</plugin>
<plugin>
<groupId>org.eclipse.tycho.extras</groupId>
<artifactId>tycho-document-bundle-plugin</artifactId>
<executions>
<execution>
<id>schema-to-html</id>
<phase>process-resources</phase>
<goals>
<goal>schema-to-html</goal>
</goals>
<configuration>
<manifests>
<manifest>${eclipse.pde.ui.ui}/org.eclipse.ui.trace/plugin.xml</manifest>
<manifest>${eclipse.pde.ui.ui}/org.eclipse.pde.core/plugin.xml</manifest>
<manifest>${eclipse.pde.build}/org.eclipse.pde.build/plugin.xml</manifest>
<manifest>${eclipse.pde.ui.ui}/org.eclipse.pde.ui/plugin.xml</manifest>
<manifest>${eclipse.pde.ui.ui}/org.eclipse.pde.launching/plugin.xml</manifest>
</manifests>
<destination>${basedir}/reference/extension-points</destination>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>unpack-platform-doc</id>
<phase>process-resources</phase>
<goals>
<goal>unpack-dependencies</goal>
</goals>
<configuration>
<includeArtifactIds>org.eclipse.platform.doc.isv</includeArtifactIds>
<outputDirectory>${project.build.directory}/unpack/org.eclipse.platform.doc.isv</outputDirectory>
</configuration>
</execution>
<execution>
<id>unpack-jdt-doc</id>
<phase>process-resources</phase>
<goals>
<goal>unpack-dependencies</goal>
</goals>
<configuration>
<includeArtifactIds>org.eclipse.jdt.doc.isv</includeArtifactIds>
<outputDirectory>${project.build.directory}/unpack/org.eclipse.jdt.doc.isv</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<executions>
<execution>
<id>attach-javadocs</id>
<phase>process-classes</phase>
<goals>
<goal>javadoc</goal>
</goals>
<configuration>
<failOnError>true</failOnError>
<excludePackageNames>*.internal.*</excludePackageNames>
<windowtitle>Eclipse PDE API Specification</windowtitle>
<doctitle>Eclipse PDE API Specification</doctitle>
<header><![CDATA[<span style='font-size:small'><b>Eclipse PDE</b><br>${releaseName} (${releaseNumberSDK})</span>]]></header>
<bottom><![CDATA[<br><span style='font-size:small;float:right'>Copyright (c) 2000, ${releaseYear} Eclipse Contributors and others. All rights reserved.</span><span style='font-size:small'><a href='{@docRoot}/../misc/api-usage-rules.html'>Guidelines for using Eclipse APIs.</a></span>]]></bottom>
<sourcepath>${eclipse.pde.build}/org.eclipse.pde.build/src
;${eclipse.pde.ui.apitools}/org.eclipse.pde.api.tools.annotations/src
;${eclipse.pde.ui.ui}/org.eclipse.pde.core/src
;${eclipse.pde.ui.ui}/org.eclipse.pde.launching/src
;${eclipse.pde.ui.ui}/org.eclipse.pde.ui/src</sourcepath>
<offlineLinks>
<!-- This is used to make linkt to other docs from eclipse relative -->
<offlineLink>
<url>./../../../org.eclipse.platform.doc.isv/reference/api</url>
<location>${project.build.directory}/unpack/org.eclipse.platform.doc.isv/reference/api</location>
</offlineLink>
<offlineLink>
<url>./../../../org.eclipse.jdt.doc.isv/reference/api</url>
<location>${project.build.directory}/unpack/org.eclipse.jdt.doc.isv/reference/api</location>
</offlineLink>
</offlineLinks>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<executions>
<execution>
<id>copy-resources</id>
<phase>prepare-package</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${basedir}/reference/api</outputDirectory>
<resources>
<resource>
<directory>${project.build.directory}/reports/apidocs</directory>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>