-
Notifications
You must be signed in to change notification settings - Fork 17
/
pom.xml
338 lines (320 loc) · 12.4 KB
/
pom.xml
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
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-parent</artifactId>
<version>78</version>
</parent>
<artifactId>commons-build-plugin</artifactId>
<packaging>maven-plugin</packaging>
<version>1.14.2-SNAPSHOT</version>
<name>Apache Commons Build Plugin Maven Mojo</name>
<description>
Apache Maven Mojo for Apache Commons Build tasks.
For example:
mvn commons-build:download-page [-Dcommons.release.version=1.2.3]
To use a SNAPSHOT version (for testing etc)
mvn org.apache.commons:commons-build-plugin:1.14.0-SNAPSHOT:download-page [-Dcommons.release.version=1.2.3]
</description>
<url>https://commons.apache.org/proper/commons-build-plugin/</url>
<issueManagement>
<system>jira</system>
<url>https://issues.apache.org/jira/browse/COMMONSSITE</url>
</issueManagement>
<inceptionYear>2008</inceptionYear>
<scm>
<connection>scm:git:http://gitbox.apache.org/repos/asf/commons-build-plugin.git</connection>
<developerConnection>scm:git:https://gitbox.apache.org/repos/asf/commons-build-plugin.git</developerConnection>
<url>https://gitbox.apache.org/repos/asf?p=commons-build-plugin.git</url>
</scm>
<ciManagement>
<system>GitHub</system>
<url>https://github.com/apache/commons-build-plugin/actions</url>
</ciManagement>
<distributionManagement>
<site>
<id>commons.site</id>
<name>Apache Commons Site SVN</name>
<url>scm:svn:${commons.scmPubUrl}</url>
</site>
</distributionManagement>
<developers>
<developer>
<name>Niall Pemberton</name>
<id>niallp</id>
<email>niallp AT apache.org</email>
</developer>
<developer>
<name>Dennis Lundberg</name>
<id>dennisl</id>
</developer>
<developer>
<id>ggregory</id>
<name>Gary Gregory</name>
<email>ggregory at apache.org</email>
<url>https://www.garygregory.com</url>
<organization>The Apache Software Foundation</organization>
<organizationUrl>https://www.apache.org/</organizationUrl>
<roles>
<role>PMC Member</role>
</roles>
<timezone>America/New_York</timezone>
<properties>
<picUrl>https://people.apache.org/~ggregory/img/garydgregory80.png</picUrl>
</properties>
</developer>
</developers>
<dependencies>
<dependency>
<!-- Try to deal with https://bz.apache.org/bugzilla/show_bug.cgi?id=66951 -->
<groupId>org.apache.ant</groupId>
<artifactId>ant-launcher</artifactId>
<version>1.10.15</version>
</dependency>
<dependency>
<!-- Try to deal with https://bz.apache.org/bugzilla/show_bug.cgi?id=66951 -->
<groupId>org.apache.maven</groupId>
<artifactId>maven-plugin-api</artifactId>
<version>3.9.9</version>
<scope>provided</scope>
</dependency>
<dependency>
<!-- Try to deal with https://bz.apache.org/bugzilla/show_bug.cgi?id=66951 -->
<groupId>org.apache.maven</groupId>
<artifactId>maven-core</artifactId>
<version>3.9.9</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.maven.plugin-tools</groupId>
<artifactId>maven-script-ant</artifactId>
<version>3.15.1</version>
</dependency>
</dependencies>
<build>
<!-- include the site goal to detect problems previously encountered with maven-plugin-plugin 3.9.0 -->
<defaultGoal>clean verify apache-rat:check spotbugs:check pmd:check pmd:cpd-check javadoc:javadoc site</defaultGoal>
<resources>
<resource>
<directory>src/main/resources</directory>
<targetPath>resources</targetPath>
</resource>
<resource>
<directory>${basedir}</directory>
<targetPath>META-INF</targetPath>
<includes>
<include>NOTICE.txt</include>
<include>LICENSE.txt</include>
</includes>
</resource>
</resources>
<plugins>
<plugin>
<artifactId>maven-plugin-plugin</artifactId>
<version>3.15.1</version>
<!-- Add the Ant plugin tools to the plugin -->
<dependencies>
<dependency>
<groupId>org.apache.maven.plugin-tools</groupId>
<artifactId>maven-plugin-tools-ant</artifactId>
<version>3.15.1</version>
</dependency>
</dependencies>
<configuration>
<goalPrefix>commons-build</goalPrefix>
</configuration>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<descriptors>
<descriptor>src/assembly/bin.xml</descriptor>
<descriptor>src/assembly/src.xml</descriptor>
</descriptors>
<tarLongFileMode>gnu</tarLongFileMode>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<configuration>
<useDefaultExcludes>true</useDefaultExcludes>
<excludes>
<!-- template files which will be inserted into the middle of resulting page -->
<exclude>src/main/resources/commons-xdoc-templates/download-page-body.xml</exclude>
<exclude>src/main/resources/commons-xdoc-templates/download-page-foot.xml</exclude>
<exclude>src/main/resources/commons-xdoc-templates/notice-txt-template.txt</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-maven-plugin</artifactId>
<configuration>
<!-- <excludeFilterFile>${basedir}/spotbugs-exclude-filter.xml</excludeFilterFile> -->
</configuration>
</plugin>
</plugins>
</build>
<reporting>
<plugins>
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<configuration>
<useDefaultExcludes>true</useDefaultExcludes>
<excludes>
<!-- template files which will be inserted into the middle of resulting page -->
<exclude>src/main/resources/commons-xdoc-templates/download-page-body.xml</exclude>
<exclude>src/main/resources/commons-xdoc-templates/download-page-foot.xml</exclude>
<exclude>src/main/resources/commons-xdoc-templates/notice-txt-template.txt</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-plugin-report-plugin</artifactId>
</plugin>
<plugin>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-maven-plugin</artifactId>
<configuration>
<!-- <excludeFilterFile>${basedir}/spotbugs-exclude-filter.xml</excludeFilterFile> -->
</configuration>
</plugin>
<!-- exclude surefire report -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
<reportSets>
<reportSet/>
</reportSets>
</plugin>
<!-- exclude jdepend report -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jdepend-maven-plugin</artifactId>
<version>2.1</version>
<reportSets>
<reportSet/>
</reportSets>
</plugin>
</plugins>
</reporting>
<properties>
<enforcer.skip>true</enforcer.skip>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<commons.manifestfile/>
<commons.componentid>build-plugin</commons.componentid>
<commons.jira.id>COMMONSSITE</commons.jira.id>
<commons.jira.pid>12310466&amp;component=12312401</commons.jira.pid>
<commons.site.path>commons-${commons.componentid}</commons.site.path>
<commons.scmPubUrl>https://svn.apache.org/repos/infra/websites/production/commons/content/proper/${commons.site.path}</commons.scmPubUrl>
<commons.scmPubCheckoutDirectory>site-content</commons.scmPubCheckoutDirectory>
<!-- Commons Release Plugin -->
<commons.bc.version>1.14.0</commons.bc.version>
<commons.release.version>1.14.1</commons.release.version>
<commons.release.next>1.14.2</commons.release.next>
<!-- Previous version of the component (used for reporting binary compatibility check)-->
<commons.rc.version>RC1</commons.rc.version>
<commons.release.isDistModule>true</commons.release.isDistModule>
<commons.distSvnStagingUrl>scm:svn:https://dist.apache.org/repos/dist/dev/commons/${commons.componentid}</commons.distSvnStagingUrl>
<!--
Define the following in ~/.m2/settings.xml in an active profile:
(or provide them on the command line)
commons.releaseManagerName
commons.releaseManagerKey
-->
<!-- JS for Java 11+ (see profiles) -->
<graalvm.version>23.0.6</graalvm.version>
<graalvm.js.version>24.1.1</graalvm.js.version>
<!-- moditect currently fails. Disable the check until we need to use Java plugins -->
<moditect.skip>true</moditect.skip>
<!-- Not needed for plugins intended for developer use only -->
<cyclonedx.skip>true</cyclonedx.skip>
<!-- Not available until version 0.7.1 -->
<spdx.skip>true</spdx.skip>
<project.build.outputTimestamp>2024-11-09T12:49:23Z</project.build.outputTimestamp>
</properties>
<profiles>
<profile>
<activation>
<jdk>[11,)</jdk>
</activation>
<dependencies>
<dependency>
<groupId>org.graalvm.js</groupId>
<artifactId>js</artifactId>
<version>${graalvm.version}</version>
</dependency>
<dependency>
<groupId>org.graalvm.js</groupId>
<artifactId>js-scriptengine</artifactId>
<version>${graalvm.js.version}</version>
</dependency>
</dependencies>
</profile>
<profile>
<id>setup-checkout</id>
<activation>
<file>
<missing>site-content</missing>
</file>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>prepare-checkout</id>
<phase>pre-site</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target>
<exec executable="svn">
<arg line="checkout --depth immediates ${commons.scmPubUrl} ${commons.scmPubCheckoutDirectory}"/>
</exec>
<exec executable="svn">
<arg line="update --set-depth exclude ${commons.scmPubCheckoutDirectory}/javadocs"/>
</exec>
<pathconvert pathsep=" " property="dirs">
<dirset dir="${commons.scmPubCheckoutDirectory}" includes="*"/>
</pathconvert>
<exec executable="svn">
<arg line="update --set-depth infinity ${dirs}"/>
</exec>
</target>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>