-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
148 lines (148 loc) · 6.7 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
<?xml version="1.0" encoding="UTF-8"?>
<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>
<groupId>nl.b3p</groupId>
<artifactId>bericht-anonimizer</artifactId>
<version>1.0.0-SNAPSHOT</version>
<packaging>pom</packaging>
<name>xml bericht anonimizer</name>
<description>B3Partners bericht anonimizer applicatie</description>
<url>https://github.com/B3Partners/bericht-anonimizer/</url>
<inceptionYear>2018</inceptionYear>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<commons-codec.version>1.17.1</commons-codec.version>
<saxon.version>9.0</saxon.version>
<xmlsrcdir>${project.basedir}/src/main/xml</xmlsrcdir>
<xmloutputdir>${project.build.directory}</xmloutputdir>
</properties>
<licenses>
<license>
<url>https://raw.githubusercontent.com/B3Partners/bericht-anonimizer/master/LICENSE</url>
<name>GNU GENERAL PUBLIC LICENSE 3.0</name>
<distribution>repo</distribution>
</license>
</licenses>
<organization>
<name>B3Partners B.V.</name>
<url>http://www.b3partners.nl/</url>
</organization>
<issueManagement>
<system>Github</system>
<url>https://github.com/B3Partners/bericht-anonimizer/issues</url>
</issueManagement>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>xml-maven-plugin</artifactId>
<version>1.1.0</version>
</plugin>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<version>3.8.1</version>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>3.7.1</version>
</plugin>
</plugins>
</pluginManagement>
<defaultGoal>compile</defaultGoal>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>xml-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>transform</goal>
</goals>
</execution>
</executions>
<configuration>
<!-- je kunt meerdere transformation sets maken -->
<transformationSets>
<transformationSet>
<dir>${xmlsrcdir}</dir>
<stylesheet>${project.basedir}/src/main/xsl/copy_xml.xsl</stylesheet>
<includes>
<include>*.xml</include>
</includes>
<fileMappers>
<fileMapper implementation="org.codehaus.plexus.components.io.filemappers.FileExtensionMapper">
<targetExtension>.anon.xml</targetExtension>
</fileMapper>
</fileMappers>
<outputDir>${xmloutputdir}</outputDir>
</transformationSet>
</transformationSets>
</configuration>
<dependencies>
<dependency>
<groupId>net.sf.saxon</groupId>
<!--Saxon "professional edition" is niet open-source en heeft een licentie sleutel nodig,
Saxon "home edition" wel maar heeft niet de mogelijkheid om naar java methodes uit te roepen
wat wel nodig is voor de sha265 hash, Saxon-B heeft die mogelijkheid wel.-->
<!--<artifactId>Saxon-PE</artifactId>-->
<artifactId>Saxon-B</artifactId>
<version>${saxon.version}</version>
</dependency>
<dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
<version>${commons-codec.version}</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>copy</id>
<goals>
<goal>copy</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>net.sf.saxon</groupId>
<!--<artifactId>Saxon-PE</artifactId>-->
<artifactId>Saxon-B</artifactId>
<version>${saxon.version}</version>
</artifactItem>
<artifactItem>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
<version>${commons-codec.version}</version>
</artifactItem>
</artifactItems>
<outputDirectory>${project.basedir}/lib</outputDirectory>
<stripVersion>true</stripVersion>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<id>distro-assembly</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<descriptors>
<descriptor>assembly.xml</descriptor>
</descriptors>
<attach>true</attach>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>