-
-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathpom.xml
More file actions
389 lines (367 loc) · 12.3 KB
/
pom.xml
File metadata and controls
389 lines (367 loc) · 12.3 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
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
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
<?xml version="1.0"?>
<!--
SPDX LGPL-2.1-or-later
Copyright (C) 2016 The eXist-db Authors
-->
<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.exist-db</groupId>
<artifactId>exist-apps-parent</artifactId>
<version>3.0.0</version>
</parent>
<groupId>org.exist-db.xquery.extensions.expath</groupId>
<artifactId>expath-crypto-module</artifactId>
<version>7.0.0</version>
<name>eXist-db EXPath Cryptographic library</name>
<description>eXist-db wrapper for EXPath Cryptographic Java library</description>
<url>http://expath.org/spec/crypto</url>
<inceptionYear>2016</inceptionYear>
<licenses>
<license>
<name>GNU Lesser General Public License version 2.1</name>
<url>https://opensource.org/licenses/LGPL-2.1</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>scm:git://github.com/exist-db/expath-crypto-module.git</url>
<connection>scm:git:https://github.com/exist-db/expath-crypto-module.git</connection>
<developerConnection>scm:git:https://github.com/exist-db/expath-crypto-module.git</developerConnection>
<tag>7.0.0</tag>
</scm>
<organization>
<name>The eXist-db Project</name>
<url>https://exist-db.org</url>
</organization>
<developers>
<developer>
<id>claudius</id>
<name>Claudius Teodorescu</name>
<email>claudius.teodorescu@gmail.com</email>
</developer>
<developer>
<id>olaf</id>
<name>Olaf Schreck</name>
<email>olaf@existsolutions.com</email>
</developer>
<developer>
<id>adamretter</id>
<name>Adam Retter</name>
<email>adam@evolvedbinary.com</email>
<organization>Evolved Binary</organization>
<organizationUrl>https://www.evolvedbinary.com</organizationUrl>
</developer>
</developers>
<contributors>
<contributor>
<name>Juri Leino</name>
<email>juri@existsolutions.com</email>
</contributor>
<contributor>
<name>Joseph Wicentowski</name>
<email>joewiz@gmail.com</email>
</contributor>
</contributors>
<properties>
<package.title>EXPath Cryptographic Module Implementation</package.title>
<crypto.java.lib.version>1.9.0</crypto.java.lib.version>
<exist.version>7.0.0-SNAPSHOT</exist.version>
<crypto.module.ns>http://expath.org/ns/crypto</crypto.module.ns>
<crypto.module.java.class>org.expath.exist.crypto.ExistExpathCryptoModule</crypto.module.java.class>
<package-abbrev>crypto</package-abbrev>
<package-name>${crypto.module.ns}</package-name>
</properties>
<dependencies>
<dependency>
<groupId>org.expath.crypto</groupId>
<artifactId>crypto-java</artifactId>
<version>${crypto.java.lib.version}</version>
</dependency>
<dependency>
<groupId>org.exist-db</groupId>
<artifactId>exist-core</artifactId>
<version>${exist.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>2.0.18</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.evolvedbinary.j8fu</groupId>
<artifactId>j8fu</artifactId>
<version>1.24.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
<version>3.0.2</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.22.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<testResources>
<testResource>
<directory>src/test/resources</directory>
<filtering>false</filtering>
</testResource>
<testResource>
<directory>src/test/resources-filtered</directory>
<filtering>true</filtering>
</testResource>
</testResources>
<plugins>
<plugin>
<groupId>com.mycila</groupId>
<artifactId>license-maven-plugin</artifactId>
<version>5.0.0</version>
<configuration>
<failIfMissing>true</failIfMissing>
<aggregate>true</aggregate>
<strictCheck>true</strictCheck>
<licenseSets>
<!-- this enforces the original Copyright and License -->
<licenseSet>
<header>LGPL2.1-claudius-template.txt</header>
<excludes>
<exclude>.github/**</exclude>
<exclude>README.md</exclude>
<exclude>LICENSE</exclude>
<exclude>xquery-license-style.xml</exclude>
<exclude>LGPL2.1-*-template.txt</exclude>
<exclude>src/main/resources/**</exclude>
<exclude>src/markdown-page-generator/**</exclude>
<exclude>src/test/resources/**</exclude>
<exclude>src/test/resources-filtered/**</exclude>
<!-- files now authored by the EXPath project (see below) -->
<exclude>pom.xml</exclude>
<exclude>src/test/java/xquery/crypto/CryptoIT.java</exclude>
<exclude>src/main/java/org/expath/exist/crypto/utils/SecureXmlParsers.java</exclude>
</excludes>
</licenseSet>
<!-- this enforces the EXPath Copyright and License on newer files -->
<licenseSet>
<header>LGPL2.1-existdb-template.txt</header>
<includes>
<include>pom.xml</include>
<include>src/test/java/xquery/crypto/CryptoIT.java</include>
<include>src/main/java/org/expath/exist/crypto/utils/SecureXmlParsers.java</include>
</includes>
</licenseSet>
</licenseSets>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifest>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
</manifest>
<manifestEntries>
<Build-Tag>${build-tag}</Build-Tag>
<Git-Commit>${build-commit}</Git-Commit>
<Git-Commit-Abbrev>${build-commit-abbrev}</Git-Commit-Abbrev>
<Build-Version>${build-version}</Build-Version>
<Build-Timestamp>${build-tstamp}</Build-Timestamp>
<Source-Repository>${project.scm.connection}</Source-Repository>
<Description>${project.description}</Description>
<Implementation-URL>${project.url}</Implementation-URL>
</manifestEntries>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<version>3.5.6</version>
<configuration>
<!-- The xmldsig algorithms supported by crypto-java 1.8.0/1.9.0 (RSA_SHA1, DSA_SHA1)
are all rejected by the JDK's default secureValidation policy. Disable for tests
until the underlying library gains SHA256-based signature support. -->
<systemPropertyVariables>
<org.jcp.xml.dsig.secureValidation>false</org.jcp.xml.dsig.secureValidation>
</systemPropertyVariables>
</configuration>
<executions>
<execution>
<goals>
<goal>integration-test</goal>
<goal>verify</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<!-- SpotBugs + FindSecBugs static analysis. Crypto-focused via FindSecBugs
plugin. Currently report-only; once findings are triaged, switch the
<goal> in <executions> from "spotbugs" to "check" to fail the build. -->
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-maven-plugin</artifactId>
<version>4.10.2.0</version>
<configuration>
<effort>Max</effort>
<threshold>Low</threshold>
<failOnError>false</failOnError>
<xmlOutput>true</xmlOutput>
<sarifOutput>true</sarifOutput>
<plugins>
<plugin>
<groupId>com.h3xstream.findsecbugs</groupId>
<artifactId>findsecbugs-plugin</artifactId>
<version>1.14.0</version>
</plugin>
</plugins>
</configuration>
<executions>
<execution>
<phase>verify</phase>
<goals>
<goal>spotbugs</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.ruleoftech</groupId>
<artifactId>markdown-page-generator-plugin</artifactId>
<version>2.5.2</version>
<executions>
<execution>
<phase>prepare-package</phase>
<goals>
<goal>generate</goal>
</goals>
</execution>
</executions>
<configuration>
<inputDirectory>${project.basedir}</inputDirectory>
<headerHtmlFile>${project.basedir}/src/markdown-page-generator/header.html</headerHtmlFile>
<footerHtmlFile>${project.basedir}/src/markdown-page-generator/footer.html</footerHtmlFile>
</configuration>
</plugin>
<plugin>
<groupId>com.coderplus.maven.plugins</groupId>
<artifactId>copy-rename-maven-plugin</artifactId>
<version>1.0.1</version>
<executions>
<execution>
<id>rename-readme-file</id>
<phase>prepare-package</phase>
<goals>
<goal>rename</goal>
</goals>
<configuration>
<sourceFile>${project.build.directory}/html/README.html</sourceFile>
<destinationFile>${project.build.directory}/html/index.html</destinationFile>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>ro.kuberam.maven.plugins</groupId>
<artifactId>kuberam-expath-plugin</artifactId>
<executions>
<execution>
<id>create-xar</id>
<phase>package</phase>
<goals>
<goal>make-xar</goal>
</goals>
<configuration>
<descriptor>xar-assembly.xml</descriptor>
<finalName>${package-final-name}</finalName>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<configuration>
<useAgent>true</useAgent>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<configuration>
<mavenExecutorId>forked-path</mavenExecutorId> <!-- avoid a bug with GPG plugin hanging http://jira.codehaus.org/browse/MGPG-9 -->
<autoVersionSubmodules>true</autoVersionSubmodules>
<tagNameFormat>@{project.version}</tagNameFormat>
</configuration>
</plugin>
<plugin>
<groupId>de.jutzig</groupId>
<artifactId>github-release-plugin</artifactId>
<version>1.6.0</version>
<executions>
<execution>
<id>github-upload</id>
<phase>deploy</phase>
<goals>
<goal>release</goal>
</goals>
<inherited>false</inherited>
<configuration>
<description>eXist implementation for EXPath Cryptographic Module</description>
<releaseName>v6.0.0</releaseName>
<tag>${project.version}</tag>
<fileSets>
<fileSet>
<directory>${project.build.directory}</directory>
<includes>
<include>${project.artifactId}*.xar</include>
</includes>
</fileSet>
</fileSets>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<repositories>
<!-- GitHub Packages is the authoritative source for exist-core SNAPSHOT
builds (deployed from develop by eXist-db/exist's ci-snapshots.yml).
Listed first so Maven queries it before the stale snapshot at
repo.exist-db.org. The id `github` matches the credentials block
injected by setup-java in CI. -->
<repository>
<id>github</id>
<name>GitHub Packages — eXist-db</name>
<url>https://maven.pkg.github.com/eXist-db/exist</url>
<releases><enabled>true</enabled></releases>
<snapshots><enabled>true</enabled></snapshots>
</repository>
<!-- Override the eXist-db repository URLs inherited from exist-apps-parent
1.11.0, which still declares them as http:// — blocked by Maven
3.8.1+'s default HTTP-mirror policy. Snapshots here are stale (the
publish pipeline only pushes to GitHub Packages), so this is kept
as a release-only source. -->
<repository>
<id>exist-db</id>
<name>eXist-db Releases</name>
<url>https://repo.exist-db.org/repository/exist-db/</url>
<releases><enabled>true</enabled></releases>
<snapshots><enabled>false</enabled></snapshots>
</repository>
</repositories>
</project>