author | František Kučera <franta-hg@frantovo.cz> |
Mon, 04 Mar 2019 22:28:29 +0100 | |
branch | v_0 |
changeset 244 | 6bdb45af26d9 |
parent 242 | 0503996934e0 |
child 253 | d8442b266ca8 |
permissions | -rw-r--r-- |
238 | 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> |
|
244
6bdb45af26d9
back to the snapshot
František Kučera <franta-hg@frantovo.cz>
parents:
242
diff
changeset
|
6 |
<version>0.11-SNAPSHOT</version> |
238 | 7 |
<packaging>jar</packaging> |
8 |
||
9 |
<properties> |
|
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> |
|
241 | 13 |
<junit.version>5.4.0</junit.version> |
238 | 14 |
</properties> |
15 |
||
241 | 16 |
<dependencies> |
17 |
<dependency> |
|
18 |
<groupId>org.junit.jupiter</groupId> |
|
19 |
<artifactId>junit-jupiter-engine</artifactId> |
|
20 |
<version>${junit.version}</version> |
|
21 |
<scope>test</scope> |
|
22 |
</dependency> |
|
23 |
<dependency> |
|
24 |
<groupId>org.junit.jupiter</groupId> |
|
25 |
<artifactId>junit-jupiter-params</artifactId> |
|
26 |
<version>${junit.version}</version> |
|
27 |
<scope>test</scope> |
|
28 |
</dependency> |
|
29 |
</dependencies> |
|
30 |
||
238 | 31 |
<build> |
32 |
<plugins> |
|
33 |
<plugin> |
|
34 |
<groupId>org.codehaus.mojo</groupId> |
|
35 |
<artifactId>exec-maven-plugin</artifactId> |
|
36 |
<version>1.6.0</version> |
|
37 |
<executions> |
|
38 |
<execution> |
|
39 |
<id>version-info</id> |
|
40 |
<phase>generate-sources</phase> |
|
41 |
<goals> |
|
42 |
<goal>exec</goal> |
|
43 |
</goals> |
|
44 |
<configuration> |
|
45 |
<executable>./version-info.sh</executable> |
|
46 |
<outputFile>src/main/resources/info/globalcode/sql/dk/version.txt</outputFile><!-- TODO: move to target/generated-sources/ --> |
|
47 |
</configuration> |
|
48 |
</execution> |
|
49 |
<execution> |
|
50 |
<id>help-generator</id> |
|
51 |
<phase>generate-sources</phase> |
|
52 |
<goals> |
|
53 |
<goal>exec</goal> |
|
54 |
</goals> |
|
55 |
<configuration> |
|
56 |
<executable>./help-generator.sh</executable> |
|
57 |
<outputFile>src/main/resources/info/globalcode/sql/dk/help.txt</outputFile><!-- TODO: move to target/generated-sources/ --> |
|
58 |
</configuration> |
|
59 |
</execution> |
|
60 |
<execution> |
|
61 |
<id>bash-completion</id> |
|
62 |
<phase>generate-sources</phase> |
|
63 |
<goals> |
|
64 |
<goal>exec</goal> |
|
65 |
</goals> |
|
66 |
<configuration> |
|
67 |
<executable>./bash-completion.sh</executable> |
|
68 |
<outputFile>target/bash-completion.sh</outputFile> |
|
69 |
</configuration> |
|
70 |
</execution> |
|
71 |
</executions> |
|
72 |
</plugin> |
|
241 | 73 |
<plugin> |
74 |
<!-- |
|
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 |
|
78 |
--> |
|
79 |
<artifactId>maven-surefire-plugin</artifactId> |
|
80 |
<version>2.22.0</version> |
|
81 |
<dependencies> |
|
82 |
<dependency> |
|
83 |
<groupId>org.junit.platform</groupId> |
|
84 |
<artifactId>junit-platform-surefire-provider</artifactId> |
|
85 |
<version>1.2.0</version> |
|
86 |
</dependency> |
|
87 |
</dependencies> |
|
88 |
</plugin> |
|
238 | 89 |
</plugins> |
90 |
</build> |
|
91 |
||
92 |
</project> |