~slub.team/goobi-production/1.8.0-mergebase

763.1.22 by Sebastian Röher
created parent pom & and updated travis integration
1
<?xml version="1.0" encoding="UTF-8" ?>
784.1.2 by Henning Gerhardt
Update license header of xml files
2
<!--
3
 *
4
 * (c) Kitodo. Key to digital objects e. V. <contact@kitodo.org>
5
 *
6
 * This file is part of the Kitodo project.
7
 *
8
 * It is licensed under GNU General Public License version 3 or later.
9
 *
10
 * For the full copyright and license information, please read the
11
 * GPL3-License.txt file that was distributed with this source code.
12
 *
13
-->
763.1.24 by Huber
Use correct schema location
14
<project xmlns="http://maven.apache.org/POM/4.0.0"
812.1.4 by Kathrin Huber
Format non-java-files
15
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
16
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
763.1.24 by Huber
Use correct schema location
17
                      http://maven.apache.org/xsd/maven-4.0.0.xsd">
763.1.22 by Sebastian Röher
created parent pom & and updated travis integration
18
    <modelVersion>4.0.0</modelVersion>
19
    <groupId>org.kitodo</groupId>
763.2.1 by Huber
change artifactId
20
    <artifactId>kitodo-production</artifactId>
3667.2.1 by Kathrin Huber
add snapshot to version
21
    <version>3.4.1-SNAPSHOT</version>
763.1.22 by Sebastian Röher
created parent pom & and updated travis integration
22
    <packaging>pom</packaging>
23
24
    <organization>
25
        <name>kitodo.org</name>
26
        <url>http://kitodo.org</url>
27
    </organization>
28
    <name>Kitodo Production</name>
29
    <url>https://github.com/kitodo/kitodo-production</url>
30
799.2.1 by Beatrycze Kmiec
Define flyway phase as a parameter
31
    <properties>
802.2.7 by Beatrycze Kmiec
Add checkstyle to standard build process
32
        <checkstyle.config.location>config/checkstyle.xml</checkstyle.config.location>
805.1.1 by Beatrycze Kmiec
Add parent.basedir parameter for pom.xml of Kitodo parent
33
        <parent.basedir>${basedir}</parent.basedir>
799.2.1 by Beatrycze Kmiec
Define flyway phase as a parameter
34
        <phase.prop>none</phase.prop>
830.2.1 by Henning Gerhardt
Define UTF-8 encoding into global pom file
35
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
36
        <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
3549.5.1 by Thomas Low
Update parent pom to use Java v11
37
        <maven.compiler.source>11</maven.compiler.source>
38
        <maven.compiler.target>11</maven.compiler.target>
928.3.1 by Henning Gerhardt
Add debug information
39
        <maven.compiler.debug>true</maven.compiler.debug>
40
        <maven.compiler.debuglevel>lines,vars,source</maven.compiler.debuglevel>
976.2.1 by Tim Boerner
Added maxAllowedViolations properties
41
        <maxAllowedViolations>1</maxAllowedViolations>
3601.2.1 by Thomas Low
Update pom dependencies to use tomcat v9 and cargo-maven3-plugin.
42
        <tomcat.baseversion>9</tomcat.baseversion>
43
        <tomcat.version>9.0.52</tomcat.version>
2717.1.1 by dependabot-preview[bot]
Bump awaitility from 3.1.0 to 4.0.1
44
        <awaitility.version>4.0.1</awaitility.version>
2750.2.1 by Henning Gerhardt
Update h2 to version 1.4.199
45
        <com.h2database.h2.version>1.4.199</com.h2database.h2.version>
2764.3.1 by Henning Gerhardt
Update commons codec to version 1.13
46
        <commons-codec.version>1.13</commons-codec.version>
1596.3.1 by Beatrycze Kmiec
Update dependencies
47
        <commons-configuration.version>1.10</commons-configuration.version>
1235.1.1 by Beatrycze Kmiec
Add variables for dependancies versions und use them in pom.xml files
48
        <commons-httpclient.version>3.1</commons-httpclient.version>
1596.3.1 by Beatrycze Kmiec
Update dependencies
49
        <commons-io.version>2.6</commons-io.version>
2721.4.1 by dependabot-preview[bot]
Bump commons-lang3 from 3.7 to 3.9
50
        <commons-lang3.version>3.9</commons-lang3.version>
2750.1.1 by dependabot-preview[bot]
Bump org.apache.xmlgraphics.version from 2.0 to 2.3
51
        <org.apache.xmlgraphics.version>2.3</org.apache.xmlgraphics.version>
2764.4.1 by Henning Gerhardt
Update hamcrest version (again).
52
        <hamcrest.version>2.2-rc1</hamcrest.version>
3708.1.1 by Henning Gerhardt
Update Hibernate to 5.4.33.Final
53
        <hibernate.version>5.4.33.Final</hibernate.version>
3549.5.9 by Thomas Low
Update jaxb dependencies to fix build warnings.
54
        <jaxb.api.version>2.3.1</jaxb.api.version>
55
        <jaxb.glassfish-runtime.version>2.3.4</jaxb.glassfish-runtime.version>
1611.1.4 by Tim Boerner
added geration of equals methodes at jaxb-class-generation, added removing of smLinks
56
        <jaxb2-basics-runtime.version>1.11.1</jaxb2-basics-runtime.version>
2718.1.1 by dependabot-preview[bot]
Bump jaxen from 1.1.6 to 1.2.0
57
        <jaxen.version>1.2.0</jaxen.version>
1652.2.2 by Matthias Ronge
Create LongTimePreservationValidationModule
58
        <jhove.version>1.20.1</jhove.version>
2708.6.1 by dependabot-preview[bot]
Bump myfaces.version from 2.2.12 to 2.3.4
59
        <myfaces.version>2.3.4</myfaces.version>
3229.1.1 by dependabot[bot]
Bump mysql-connector-java from 5.1.38 to 8.0.16
60
        <mysql.version>8.0.16</mysql.version>
2825.7.1 by Henning Gerhardt
Raise Apache POI version to 3.17 and cleanup dependency usage
61
        <poi.version>3.17</poi.version>
3674.3.1 by Markus Weigelt
migrate primeface 7 to 8
62
        <primefaces.extensions.version>8.0.5</primefaces.extensions.version>
2889.1.6 by Kathrin Huber
review
63
        <saxon.version>9.9.1-5</saxon.version>
3679.1.1 by Henning Gerhardt
Update log4j2 to close CVE-2021-45105
64
        <log4j.version>2.17.0</log4j.version>
2750.4.1 by Henning Gerhardt
Update junit to version 5.5.2
65
        <junit.version>5.5.2</junit.version>
3602.1.1 by Arved Solth
Update ElasticSearch version from 5.6 to 7.10
66
        <elasticsearch.version>7.10.2</elasticsearch.version>
2721.17.1 by dependabot-preview[bot]
Bump maven-failsafe-plugin from 2.22.0 to 2.22.2
67
        <maven-failsafe-plugin.version>2.22.2</maven-failsafe-plugin.version>
1767.4.1 by Henning Gerhardt
Centralize version and update maven plugins
68
        <maven-resources-plugin.version>3.1.0</maven-resources-plugin.version>
2750.6.1 by Henning Gerhardt
Update maven jar plugin to version 3.1.2
69
        <maven-jar-plugin.version>3.1.2</maven-jar-plugin.version>
3679.2.1 by Markus Weigelt
#4838 add development profile to kitodo which puts the jsf project stage on development
70
        <maven-war-plugin.version>3.3.2</maven-war-plugin.version>
2222.1.1 by Beacze
Add tests with usage of mocked Enum for KitodoConfigTest
71
        <mockito.version>2.0.2-beta</mockito.version>
1767.4.1 by Henning Gerhardt
Centralize version and update maven plugins
72
        <properties-maven-plugin.version>1.0.0</properties-maven-plugin.version>
2710.1.1 by Henning Gerhardt
Bump spring.security to 4.2.13 release.
73
        <spring.security.version>4.2.13.RELEASE</spring.security.version>
3700.4.4 by Henning Gerhardt
Update flyway to version 8.4.4 and add necessary dependency
74
        <flyway-maven-plugin.version>8.4.4</flyway-maven-plugin.version>
3594.5.1 by Markus Weigelt
#4643 update flyway and adjust config file configuration, update spotbugs
75
        <spotbugs-maven-plugin.version>4.3.0</spotbugs-maven-plugin.version>
2750.5.1 by Henning Gerhardt
Update pitest to version 1.4.10
76
        <pitest.version>1.4.10</pitest.version>
3706.1.1 by Henning Gerhardt
Update MariaDB java client
77
        <mariadb-java-client.version>2.7.5</mariadb-java-client.version>
3594.1.1 by Markus Weigelt
#4635 update maven javadoc plugin
78
        <maven-javadoc-plugin.version>3.3.0</maven-javadoc-plugin.version>
799.2.1 by Beatrycze Kmiec
Define flyway phase as a parameter
79
    </properties>
80
779.1.1 by Sebastian Röher
copy all custom local libraries to the Slub-Nexus Maven Repository and replace them as real dependencies
81
    <repositories>
82
        <!-- Let's first add the default Maven central repo,
83
             otherwise Maven will not use Maven Central as first download option -->
84
        <repository>
85
            <id>central</id>
86
            <name>Maven Repository Switchboard</name>
87
            <layout>default</layout>
779.1.5 by Sebastian Röher
use https if possible
88
            <url>https://repo1.maven.org/maven2</url>
779.1.1 by Sebastian Röher
copy all custom local libraries to the Slub-Nexus Maven Repository and replace them as real dependencies
89
            <snapshots>
90
                <enabled>false</enabled>
91
            </snapshots>
92
        </repository>
93
    </repositories>
94
763.1.22 by Sebastian Röher
created parent pom & and updated travis integration
95
    <modules>
790.3.1 by Beatrycze Kmiec
Create Kitodo-DataManagement module
96
        <module>Kitodo-DataManagement</module>
790.3.113 by Beatrycze Kmiec
Add name property to Kitodo-API, change the order of modules in Kitodo parent
97
        <module>Kitodo-API</module>
3065.3.1 by Arved Solth
Update import module to make it usable for arbitrary query URLs
98
        <module>Kitodo-Query-URL-Import</module>
2696.1.1 by Kathrin Huber
Use Fileservice for xml file
99
        <module>Kitodo-Command</module>
100
        <module>Kitodo-FileManagement</module>
1448.4.1 by Tim Boerner
created DataEditor and DataFormat modules
101
        <module>Kitodo-DataEditor</module>
1885.5.1 by Arved Solth
Revert changes to exclude data-format module since loc.gov is reachable
102
        <module>Kitodo-DataFormat</module>
1972.7.1 by Matthias Ronge
Removes the name component module from modules called module
103
        <module>Kitodo-ImageManagement</module>
104
        <module>Kitodo-LongTermPreservationValidation</module>
904.2.5 by Beatrycze Kmiec
Rename module IdentifierGenerator to PersistentIdentifier
105
        <module>Kitodo-PersistentIdentifier</module>
962.1.28 by Kathrin Huber
Rename package
106
        <module>Kitodo-Docket</module>
2721.18.1 by Oliver Stöhr
Change Mods XML schema converter to general XML schema converter
107
        <module>Kitodo-XML-SchemaConverter</module>
1137.6.1 by Beatrycze Kmiec
Create Kitodo - Validation module
108
        <module>Kitodo-Validation</module>
763.1.22 by Sebastian Röher
created parent pom & and updated travis integration
109
        <module>Kitodo</module>
110
    </modules>
786.1.2 by Beatrycze Kmiec
Add checkstyle.config.location to OpacPica plugin, move chesktyle profile to parent pom.xml
111
2112.1.1 by Kathrin Huber
delete modules folder on maven clean
112
    <build>
113
        <plugins>
114
            <plugin>
115
                <inherited>false</inherited>
116
                <artifactId>maven-clean-plugin</artifactId>
117
                <version>3.1.0</version>
118
                <configuration>
119
                    <filesets>
120
                        <fileset>
2121.1.1 by Kathrin Huber
fix path
121
                            <directory>Kitodo/modules</directory>
2112.1.1 by Kathrin Huber
delete modules folder on maven clean
122
                        </fileset>
123
                    </filesets>
124
                </configuration>
125
            </plugin>
126
        </plugins>
127
    </build>
2254.1.2 by Arved Solth
Remove old Pica plugin
128
786.1.2 by Beatrycze Kmiec
Add checkstyle.config.location to OpacPica plugin, move chesktyle profile to parent pom.xml
129
    <profiles>
130
        <profile>
790.3.117 by Beatrycze Kmiec
Moce all-tests profile from Kitodo Core to parent pom.xml
131
            <id>all-tests</id>
132
            <build>
133
                <plugins>
134
                    <plugin>
135
                        <groupId>org.apache.maven.plugins</groupId>
136
                        <artifactId>maven-failsafe-plugin</artifactId>
1767.4.1 by Henning Gerhardt
Centralize version and update maven plugins
137
                        <version>${maven-failsafe-plugin.version}</version>
790.3.117 by Beatrycze Kmiec
Moce all-tests profile from Kitodo Core to parent pom.xml
138
                        <executions>
139
                            <execution>
140
                                <goals>
141
                                    <goal>integration-test</goal>
142
                                    <goal>verify</goal>
143
                                </goals>
144
                            </execution>
145
                        </executions>
146
                    </plugin>
147
                </plugins>
148
            </build>
149
        </profile>
150
        <profile>
1262.4.1 by Beatrycze Kmiec
Separate checkstyle and findbugs to different profiles
151
            <id>checkstyle</id>
853.4.1 by Beatrycze Kmiec
Move checkstyle and findbugs to own profile
152
            <build>
153
                <plugins>
154
                    <plugin>
155
                        <groupId>org.apache.maven.plugins</groupId>
156
                        <artifactId>maven-checkstyle-plugin</artifactId>
2718.2.1 by dependabot-preview[bot]
Bump maven-checkstyle-plugin from 3.0.0 to 3.1.0
157
                        <version>3.1.0</version>
1843.4.1 by Beacze
Migrate checkstyle
158
                        <dependencies>
159
                            <dependency>
160
                                <groupId>com.puppycrawl.tools</groupId>
161
                                <artifactId>checkstyle</artifactId>
2955.5.1 by Henning Gerhardt
Update checkstyle to version 8.29
162
                                <version>8.29</version>
1843.4.1 by Beacze
Migrate checkstyle
163
                            </dependency>
164
                        </dependencies>
853.4.1 by Beatrycze Kmiec
Move checkstyle and findbugs to own profile
165
                        <executions>
166
                            <execution>
167
                                <id>checkstyle-check</id>
951.2.2 by Beatrycze Kmiec
Compilation fails when too much checkstyle violations
168
                                <phase>validate</phase>
853.4.1 by Beatrycze Kmiec
Move checkstyle and findbugs to own profile
169
                                <configuration>
170
                                    <encoding>UTF-8</encoding>
951.2.2 by Beatrycze Kmiec
Compilation fails when too much checkstyle violations
171
                                    <failOnViolation>true</failOnViolation>
853.4.1 by Beatrycze Kmiec
Move checkstyle and findbugs to own profile
172
                                    <failsOnError>false</failsOnError>
1720.3.3 by Tim Boerner
added pagination after creation of dummyImages
173
                                    <logViolationsToConsole>true</logViolationsToConsole>
976.2.1 by Tim Boerner
Added maxAllowedViolations properties
174
                                    <maxAllowedViolations>${maxAllowedViolations}</maxAllowedViolations>
951.2.2 by Beatrycze Kmiec
Compilation fails when too much checkstyle violations
175
                                    <violationSeverity>warning</violationSeverity>
853.4.1 by Beatrycze Kmiec
Move checkstyle and findbugs to own profile
176
                                </configuration>
177
                                <goals>
178
                                    <goal>check</goal>
179
                                </goals>
180
                            </execution>
181
                        </executions>
182
                    </plugin>
1262.4.1 by Beatrycze Kmiec
Separate checkstyle and findbugs to different profiles
183
                </plugins>
184
            </build>
185
        </profile>
186
        <profile>
2973.7.1 by Henning Gerhardt
Replace findbugs with spotbugs
187
            <id>spotbugs</id>
1262.4.1 by Beatrycze Kmiec
Separate checkstyle and findbugs to different profiles
188
            <build>
189
                <plugins>
853.4.1 by Beatrycze Kmiec
Move checkstyle and findbugs to own profile
190
                    <plugin>
2973.7.1 by Henning Gerhardt
Replace findbugs with spotbugs
191
                        <groupId>com.github.spotbugs</groupId>
192
                        <artifactId>spotbugs-maven-plugin</artifactId>
3594.5.1 by Markus Weigelt
#4643 update flyway and adjust config file configuration, update spotbugs
193
                        <version>${spotbugs-maven-plugin.version}</version>
853.4.1 by Beatrycze Kmiec
Move checkstyle and findbugs to own profile
194
                        <configuration>
195
                            <xmlOutput>true</xmlOutput>
2973.7.1 by Henning Gerhardt
Replace findbugs with spotbugs
196
                            <xmlOutputDirectory>target/spotbugsreports</xmlOutputDirectory>
853.4.1 by Beatrycze Kmiec
Move checkstyle and findbugs to own profile
197
                            <effort>Max</effort>
198
                            <failOnError>false</failOnError>
199
                            <threshold>medium</threshold>
200
                        </configuration>
201
                        <executions>
202
                            <execution>
203
                                <phase>compile</phase>
204
                                <goals>
205
                                    <goal>check</goal>
206
                                </goals>
207
                            </execution>
208
                        </executions>
209
                    </plugin>
210
                </plugins>
211
            </build>
212
        </profile>
213
        <profile>
790.3.57 by Beatrycze Kmiec
Adjust flyway for multimodule project
214
            <id>flyway</id>
215
            <build>
216
                <plugins>
217
                    <plugin>
218
                        <groupId>org.flywaydb</groupId>
219
                        <artifactId>flyway-maven-plugin</artifactId>
1767.4.1 by Henning Gerhardt
Centralize version and update maven plugins
220
                        <version>${flyway-maven-plugin.version}</version>
790.3.57 by Beatrycze Kmiec
Adjust flyway for multimodule project
221
                        <configuration>
3594.5.1 by Markus Weigelt
#4643 update flyway and adjust config file configuration, update spotbugs
222
                            <configFiles>
223
                                <!-- local configuration file -->
224
                                <!--<configFile>${basedir}/config-local/flyway.properties</configFile>-->
225
                                <configFile>
226
                                    ${basedir}/Kitodo-DataManagement/src/main/resources/db/config/flyway.properties
227
                                </configFile>
228
                            </configFiles>
790.3.57 by Beatrycze Kmiec
Adjust flyway for multimodule project
229
                        </configuration>
230
                        <dependencies>
231
                            <dependency>
232
                                <groupId>mysql</groupId>
233
                                <artifactId>mysql-connector-java</artifactId>
1235.1.1 by Beatrycze Kmiec
Add variables for dependancies versions und use them in pom.xml files
234
                                <version>${mysql.version}</version>
790.3.57 by Beatrycze Kmiec
Adjust flyway for multimodule project
235
                            </dependency>
2769.1.1 by Henning Gerhardt
Add MariaDB support
236
                            <dependency>
237
                                <groupId>org.mariadb.jdbc</groupId>
238
                                <artifactId>mariadb-java-client</artifactId>
239
                                <version>${mariadb-java-client.version}</version>
240
                            </dependency>
790.3.57 by Beatrycze Kmiec
Adjust flyway for multimodule project
241
                        </dependencies>
242
                        <executions>
243
                            <execution>
799.2.1 by Beatrycze Kmiec
Define flyway phase as a parameter
244
                                <phase>${phase.prop}</phase>
790.3.57 by Beatrycze Kmiec
Adjust flyway for multimodule project
245
                                <goals>
246
                                    <goal>baseline</goal>
247
                                    <goal>migrate</goal>
248
                                </goals>
249
                            </execution>
250
                        </executions>
251
                    </plugin>
252
                </plugins>
253
            </build>
254
        </profile>
970.3.3 by Florian Steinborn
profile for Javadocs generation added
255
        <profile>
256
            <id>generate_developer_docs</id>
257
            <build>
258
                <plugins>
259
                    <plugin>
260
                        <groupId>org.apache.maven.plugins</groupId>
261
                        <artifactId>maven-javadoc-plugin</artifactId>
3594.1.1 by Markus Weigelt
#4635 update maven javadoc plugin
262
                        <version>${maven-javadoc-plugin.version}</version>
970.3.3 by Florian Steinborn
profile for Javadocs generation added
263
                        <configuration>
970.3.6 by Florian Steinborn
set target dirs for document creation by maven parameters added
264
                            <reportOutputDirectory>${doctarget}</reportOutputDirectory>
1124.1.1 by Henning Gerhardt
Move used junit version to maven property for easier replacement
265
                            <destDir>${docdir}</destDir>
970.3.3 by Florian Steinborn
profile for Javadocs generation added
266
                            <!-- Default configuration for all reports -->
267
                            <failOnError>false</failOnError>
3594.1.1 by Markus Weigelt
#4635 update maven javadoc plugin
268
                            <doclint>-html</doclint>
970.3.3 by Florian Steinborn
profile for Javadocs generation added
269
                        </configuration>
270
                        <executions>
271
                            <execution>
272
                                <id>aggregate</id>
273
                                <goals>
274
                                    <goal>aggregate</goal>
275
                                </goals>
276
                                <phase>site</phase>
277
                                <configuration>
278
                                </configuration>
279
                            </execution>
280
                        </executions>
281
                    </plugin>
282
                </plugins>
283
            </build>
284
        </profile>
786.1.2 by Beatrycze Kmiec
Add checkstyle.config.location to OpacPica plugin, move chesktyle profile to parent pom.xml
285
    </profiles>
763.1.22 by Sebastian Röher
created parent pom & and updated travis integration
286
</project>