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>org.junit.jupiter</groupId>
19 <artifactId>junit-jupiter-engine</artifactId>
20 <version>${junit.version}</version>
24 <groupId>org.junit.jupiter</groupId>
25 <artifactId>junit-jupiter-params</artifactId>
26 <version>${junit.version}</version>
34 <groupId>org.codehaus.mojo</groupId>
35 <artifactId>exec-maven-plugin</artifactId>
36 <version>1.6.0</version>
40 <phase>generate-sources</phase>
45 <executable>./version-info.sh</executable>
46 <outputFile>src/main/resources/info/globalcode/sql/dk/version.txt</outputFile><!-- TODO: move to target/generated-sources/ -->
50 <id>help-generator</id>
51 <phase>generate-sources</phase>
56 <executable>./help-generator.sh</executable>
57 <outputFile>src/main/resources/info/globalcode/sql/dk/help.txt</outputFile><!-- TODO: move to target/generated-sources/ -->
61 <id>bash-completion</id>
62 <phase>generate-sources</phase>
67 <executable>./bash-completion.sh</executable>
68 <outputFile>target/bash-completion.sh</outputFile>
75 Without this, tests are executed as „POJO Tests“ instead of „JUnit5 Tests“
76 and @BeforeEach annotation does not work.
77 http://maven.apache.org/surefire/maven-surefire-plugin/examples/pojo-test.html
79 <artifactId>maven-surefire-plugin</artifactId>
80 <version>2.22.0</version>
83 <groupId>org.junit.platform</groupId>
84 <artifactId>junit-platform-surefire-provider</artifactId>
85 <version>1.2.0</version>