1 <?xml version="1.0" encoding="UTF-8"?>
2 <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">
3 <modelVersion>4.0.0</modelVersion>
4 <groupId>info.globalcode.sql.dk</groupId>
5 <artifactId>sql-dk</artifactId>
6 <version>0.11-SNAPSHOT</version>
7 <packaging>jar</packaging>
10 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
11 <maven.compiler.source>1.8</maven.compiler.source>
12 <maven.compiler.target>1.8</maven.compiler.target>
13 <junit.version>5.4.0</junit.version>
18 <groupId>jakarta.xml.bind</groupId>
19 <artifactId>jakarta.xml.bind-api</artifactId>
20 <version>2.3.3</version>
23 <groupId>com.sun.xml.bind</groupId>
24 <artifactId>jaxb-impl</artifactId>
25 <version>2.3.3</version>
26 <scope>runtime</scope>
29 <groupId>org.junit.jupiter</groupId>
30 <artifactId>junit-jupiter-engine</artifactId>
31 <version>${junit.version}</version>
35 <groupId>org.junit.jupiter</groupId>
36 <artifactId>junit-jupiter-params</artifactId>
37 <version>${junit.version}</version>
45 <groupId>org.codehaus.mojo</groupId>
46 <artifactId>exec-maven-plugin</artifactId>
47 <version>1.6.0</version>
51 <phase>generate-sources</phase>
56 <executable>./version-info.sh</executable>
57 <outputFile>src/main/resources/info/globalcode/sql/dk/version.txt</outputFile><!-- TODO: move to target/generated-sources/ -->
61 <id>help-generator</id>
62 <phase>generate-sources</phase>
67 <executable>./help-generator.sh</executable>
68 <outputFile>src/main/resources/info/globalcode/sql/dk/help.txt</outputFile><!-- TODO: move to target/generated-sources/ -->
72 <id>bash-completion</id>
73 <phase>generate-sources</phase>
78 <executable>./bash-completion.sh</executable>
79 <outputFile>target/bash-completion.sh</outputFile>
86 Without this, tests are executed as „POJO Tests“ instead of „JUnit5 Tests“
87 and @BeforeEach annotation does not work.
88 http://maven.apache.org/surefire/maven-surefire-plugin/examples/pojo-test.html
90 <artifactId>maven-surefire-plugin</artifactId>
91 <version>2.22.0</version>
94 <groupId>org.junit.platform</groupId>
95 <artifactId>junit-platform-surefire-provider</artifactId>
96 <version>1.2.0</version>
101 <artifactId>maven-dependency-plugin</artifactId>
102 <version>3.1.1</version>
105 <phase>process-sources</phase>
107 <goal>copy-dependencies</goal>
110 <outputDirectory>${project.build.directory}/lib</outputDirectory>
111 <includeScope>runtime</includeScope>