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

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
<?xml version="1.0" encoding="UTF-8" ?>
<!--
 *
 * (c) Kitodo. Key to digital objects e. V. <contact@kitodo.org>
 *
 * This file is part of the Kitodo project.
 *
 * It is licensed under GNU General Public License version 3 or later.
 *
 * For the full copyright and license information, please read the
 * GPL3-License.txt file that was distributed with this source code.
 *
-->
<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>org.kitodo</groupId>
    <artifactId>kitodo-production</artifactId>
    <version>3.4.1-SNAPSHOT</version>
    <packaging>pom</packaging>

    <organization>
        <name>kitodo.org</name>
        <url>http://kitodo.org</url>
    </organization>
    <name>Kitodo Production</name>
    <url>https://github.com/kitodo/kitodo-production</url>

    <properties>
        <checkstyle.config.location>config/checkstyle.xml</checkstyle.config.location>
        <parent.basedir>${basedir}</parent.basedir>
        <phase.prop>none</phase.prop>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
        <maven.compiler.source>11</maven.compiler.source>
        <maven.compiler.target>11</maven.compiler.target>
        <maven.compiler.debug>true</maven.compiler.debug>
        <maven.compiler.debuglevel>lines,vars,source</maven.compiler.debuglevel>
        <maxAllowedViolations>1</maxAllowedViolations>
        <tomcat.baseversion>9</tomcat.baseversion>
        <tomcat.version>9.0.52</tomcat.version>
        <awaitility.version>4.0.1</awaitility.version>
        <com.h2database.h2.version>1.4.199</com.h2database.h2.version>
        <commons-codec.version>1.13</commons-codec.version>
        <commons-configuration.version>1.10</commons-configuration.version>
        <commons-httpclient.version>3.1</commons-httpclient.version>
        <commons-io.version>2.6</commons-io.version>
        <commons-lang3.version>3.9</commons-lang3.version>
        <org.apache.xmlgraphics.version>2.3</org.apache.xmlgraphics.version>
        <hamcrest.version>2.2-rc1</hamcrest.version>
        <hibernate.version>5.4.33.Final</hibernate.version>
        <jaxb.api.version>2.3.1</jaxb.api.version>
        <jaxb.glassfish-runtime.version>2.3.4</jaxb.glassfish-runtime.version>
        <jaxb2-basics-runtime.version>1.11.1</jaxb2-basics-runtime.version>
        <jaxen.version>1.2.0</jaxen.version>
        <jhove.version>1.20.1</jhove.version>
        <myfaces.version>2.3.4</myfaces.version>
        <mysql.version>8.0.16</mysql.version>
        <poi.version>3.17</poi.version>
        <primefaces.extensions.version>8.0.5</primefaces.extensions.version>
        <saxon.version>9.9.1-5</saxon.version>
        <log4j.version>2.17.0</log4j.version>
        <junit.version>5.5.2</junit.version>
        <elasticsearch.version>7.10.2</elasticsearch.version>
        <maven-failsafe-plugin.version>2.22.2</maven-failsafe-plugin.version>
        <maven-resources-plugin.version>3.1.0</maven-resources-plugin.version>
        <maven-jar-plugin.version>3.1.2</maven-jar-plugin.version>
        <maven-war-plugin.version>3.3.2</maven-war-plugin.version>
        <mockito.version>2.0.2-beta</mockito.version>
        <properties-maven-plugin.version>1.0.0</properties-maven-plugin.version>
        <spring.security.version>4.2.13.RELEASE</spring.security.version>
        <flyway-maven-plugin.version>8.4.4</flyway-maven-plugin.version>
        <spotbugs-maven-plugin.version>4.3.0</spotbugs-maven-plugin.version>
        <pitest.version>1.4.10</pitest.version>
        <mariadb-java-client.version>2.7.5</mariadb-java-client.version>
        <maven-javadoc-plugin.version>3.3.0</maven-javadoc-plugin.version>
    </properties>

    <repositories>
        <!-- Let's first add the default Maven central repo,
             otherwise Maven will not use Maven Central as first download option -->
        <repository>
            <id>central</id>
            <name>Maven Repository Switchboard</name>
            <layout>default</layout>
            <url>https://repo1.maven.org/maven2</url>
            <snapshots>
                <enabled>false</enabled>
            </snapshots>
        </repository>
    </repositories>

    <modules>
        <module>Kitodo-DataManagement</module>
        <module>Kitodo-API</module>
        <module>Kitodo-Query-URL-Import</module>
        <module>Kitodo-Command</module>
        <module>Kitodo-FileManagement</module>
        <module>Kitodo-DataEditor</module>
        <module>Kitodo-DataFormat</module>
        <module>Kitodo-ImageManagement</module>
        <module>Kitodo-LongTermPreservationValidation</module>
        <module>Kitodo-PersistentIdentifier</module>
        <module>Kitodo-Docket</module>
        <module>Kitodo-XML-SchemaConverter</module>
        <module>Kitodo-Validation</module>
        <module>Kitodo</module>
    </modules>

    <build>
        <plugins>
            <plugin>
                <inherited>false</inherited>
                <artifactId>maven-clean-plugin</artifactId>
                <version>3.1.0</version>
                <configuration>
                    <filesets>
                        <fileset>
                            <directory>Kitodo/modules</directory>
                        </fileset>
                    </filesets>
                </configuration>
            </plugin>
        </plugins>
    </build>

    <profiles>
        <profile>
            <id>all-tests</id>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-failsafe-plugin</artifactId>
                        <version>${maven-failsafe-plugin.version}</version>
                        <executions>
                            <execution>
                                <goals>
                                    <goal>integration-test</goal>
                                    <goal>verify</goal>
                                </goals>
                            </execution>
                        </executions>
                    </plugin>
                </plugins>
            </build>
        </profile>
        <profile>
            <id>checkstyle</id>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-checkstyle-plugin</artifactId>
                        <version>3.1.0</version>
                        <dependencies>
                            <dependency>
                                <groupId>com.puppycrawl.tools</groupId>
                                <artifactId>checkstyle</artifactId>
                                <version>8.29</version>
                            </dependency>
                        </dependencies>
                        <executions>
                            <execution>
                                <id>checkstyle-check</id>
                                <phase>validate</phase>
                                <configuration>
                                    <encoding>UTF-8</encoding>
                                    <failOnViolation>true</failOnViolation>
                                    <failsOnError>false</failsOnError>
                                    <logViolationsToConsole>true</logViolationsToConsole>
                                    <maxAllowedViolations>${maxAllowedViolations}</maxAllowedViolations>
                                    <violationSeverity>warning</violationSeverity>
                                </configuration>
                                <goals>
                                    <goal>check</goal>
                                </goals>
                            </execution>
                        </executions>
                    </plugin>
                </plugins>
            </build>
        </profile>
        <profile>
            <id>spotbugs</id>
            <build>
                <plugins>
                    <plugin>
                        <groupId>com.github.spotbugs</groupId>
                        <artifactId>spotbugs-maven-plugin</artifactId>
                        <version>${spotbugs-maven-plugin.version}</version>
                        <configuration>
                            <xmlOutput>true</xmlOutput>
                            <xmlOutputDirectory>target/spotbugsreports</xmlOutputDirectory>
                            <effort>Max</effort>
                            <failOnError>false</failOnError>
                            <threshold>medium</threshold>
                        </configuration>
                        <executions>
                            <execution>
                                <phase>compile</phase>
                                <goals>
                                    <goal>check</goal>
                                </goals>
                            </execution>
                        </executions>
                    </plugin>
                </plugins>
            </build>
        </profile>
        <profile>
            <id>flyway</id>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.flywaydb</groupId>
                        <artifactId>flyway-maven-plugin</artifactId>
                        <version>${flyway-maven-plugin.version}</version>
                        <configuration>
                            <configFiles>
                                <!-- local configuration file -->
                                <!--<configFile>${basedir}/config-local/flyway.properties</configFile>-->
                                <configFile>
                                    ${basedir}/Kitodo-DataManagement/src/main/resources/db/config/flyway.properties
                                </configFile>
                            </configFiles>
                        </configuration>
                        <dependencies>
                            <dependency>
                                <groupId>mysql</groupId>
                                <artifactId>mysql-connector-java</artifactId>
                                <version>${mysql.version}</version>
                            </dependency>
                            <dependency>
                                <groupId>org.mariadb.jdbc</groupId>
                                <artifactId>mariadb-java-client</artifactId>
                                <version>${mariadb-java-client.version}</version>
                            </dependency>
                        </dependencies>
                        <executions>
                            <execution>
                                <phase>${phase.prop}</phase>
                                <goals>
                                    <goal>baseline</goal>
                                    <goal>migrate</goal>
                                </goals>
                            </execution>
                        </executions>
                    </plugin>
                </plugins>
            </build>
        </profile>
        <profile>
            <id>generate_developer_docs</id>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-javadoc-plugin</artifactId>
                        <version>${maven-javadoc-plugin.version}</version>
                        <configuration>
                            <reportOutputDirectory>${doctarget}</reportOutputDirectory>
                            <destDir>${docdir}</destDir>
                            <!-- Default configuration for all reports -->
                            <failOnError>false</failOnError>
                            <doclint>-html</doclint>
                        </configuration>
                        <executions>
                            <execution>
                                <id>aggregate</id>
                                <goals>
                                    <goal>aggregate</goal>
                                </goals>
                                <phase>site</phase>
                                <configuration>
                                </configuration>
                            </execution>
                        </executions>
                    </plugin>
                </plugins>
            </build>
        </profile>
    </profiles>
</project>