author | František Kučera <franta-hg@frantovo.cz> |
Sun, 13 Sep 2020 12:01:35 +0200 | |
branch | v_0 |
changeset 253 | d8442b266ca8 |
parent 244 | 6bdb45af26d9 |
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> |
|
253
d8442b266ca8
combatibility with Java 9+, Tested with Java 11; JAXB library
František Kučera <franta-hg@frantovo.cz>
parents:
244
diff
changeset
|
18 |
<groupId>jakarta.xml.bind</groupId> |
d8442b266ca8
combatibility with Java 9+, Tested with Java 11; JAXB library
František Kučera <franta-hg@frantovo.cz>
parents:
244
diff
changeset
|
19 |
<artifactId>jakarta.xml.bind-api</artifactId> |
d8442b266ca8
combatibility with Java 9+, Tested with Java 11; JAXB library
František Kučera <franta-hg@frantovo.cz>
parents:
244
diff
changeset
|
20 |
<version>2.3.3</version> |
d8442b266ca8
combatibility with Java 9+, Tested with Java 11; JAXB library
František Kučera <franta-hg@frantovo.cz>
parents:
244
diff
changeset
|
21 |
</dependency> |
d8442b266ca8
combatibility with Java 9+, Tested with Java 11; JAXB library
František Kučera <franta-hg@frantovo.cz>
parents:
244
diff
changeset
|
22 |
<dependency> |
d8442b266ca8
combatibility with Java 9+, Tested with Java 11; JAXB library
František Kučera <franta-hg@frantovo.cz>
parents:
244
diff
changeset
|
23 |
<groupId>com.sun.xml.bind</groupId> |
d8442b266ca8
combatibility with Java 9+, Tested with Java 11; JAXB library
František Kučera <franta-hg@frantovo.cz>
parents:
244
diff
changeset
|
24 |
<artifactId>jaxb-impl</artifactId> |
d8442b266ca8
combatibility with Java 9+, Tested with Java 11; JAXB library
František Kučera <franta-hg@frantovo.cz>
parents:
244
diff
changeset
|
25 |
<version>2.3.3</version> |
d8442b266ca8
combatibility with Java 9+, Tested with Java 11; JAXB library
František Kučera <franta-hg@frantovo.cz>
parents:
244
diff
changeset
|
26 |
<scope>runtime</scope> |
d8442b266ca8
combatibility with Java 9+, Tested with Java 11; JAXB library
František Kučera <franta-hg@frantovo.cz>
parents:
244
diff
changeset
|
27 |
</dependency> |
d8442b266ca8
combatibility with Java 9+, Tested with Java 11; JAXB library
František Kučera <franta-hg@frantovo.cz>
parents:
244
diff
changeset
|
28 |
<dependency> |
241 | 29 |
<groupId>org.junit.jupiter</groupId> |
30 |
<artifactId>junit-jupiter-engine</artifactId> |
|
31 |
<version>${junit.version}</version> |
|
32 |
<scope>test</scope> |
|
33 |
</dependency> |
|
34 |
<dependency> |
|
35 |
<groupId>org.junit.jupiter</groupId> |
|
36 |
<artifactId>junit-jupiter-params</artifactId> |
|
37 |
<version>${junit.version}</version> |
|
38 |
<scope>test</scope> |
|
39 |
</dependency> |
|
40 |
</dependencies> |
|
41 |
||
238 | 42 |
<build> |
43 |
<plugins> |
|
44 |
<plugin> |
|
45 |
<groupId>org.codehaus.mojo</groupId> |
|
46 |
<artifactId>exec-maven-plugin</artifactId> |
|
47 |
<version>1.6.0</version> |
|
48 |
<executions> |
|
49 |
<execution> |
|
50 |
<id>version-info</id> |
|
51 |
<phase>generate-sources</phase> |
|
52 |
<goals> |
|
53 |
<goal>exec</goal> |
|
54 |
</goals> |
|
55 |
<configuration> |
|
56 |
<executable>./version-info.sh</executable> |
|
57 |
<outputFile>src/main/resources/info/globalcode/sql/dk/version.txt</outputFile><!-- TODO: move to target/generated-sources/ --> |
|
58 |
</configuration> |
|
59 |
</execution> |
|
60 |
<execution> |
|
61 |
<id>help-generator</id> |
|
62 |
<phase>generate-sources</phase> |
|
63 |
<goals> |
|
64 |
<goal>exec</goal> |
|
65 |
</goals> |
|
66 |
<configuration> |
|
67 |
<executable>./help-generator.sh</executable> |
|
68 |
<outputFile>src/main/resources/info/globalcode/sql/dk/help.txt</outputFile><!-- TODO: move to target/generated-sources/ --> |
|
69 |
</configuration> |
|
70 |
</execution> |
|
71 |
<execution> |
|
72 |
<id>bash-completion</id> |
|
73 |
<phase>generate-sources</phase> |
|
74 |
<goals> |
|
75 |
<goal>exec</goal> |
|
76 |
</goals> |
|
77 |
<configuration> |
|
78 |
<executable>./bash-completion.sh</executable> |
|
79 |
<outputFile>target/bash-completion.sh</outputFile> |
|
80 |
</configuration> |
|
81 |
</execution> |
|
82 |
</executions> |
|
83 |
</plugin> |
|
241 | 84 |
<plugin> |
85 |
<!-- |
|
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 |
|
89 |
--> |
|
90 |
<artifactId>maven-surefire-plugin</artifactId> |
|
91 |
<version>2.22.0</version> |
|
92 |
<dependencies> |
|
93 |
<dependency> |
|
94 |
<groupId>org.junit.platform</groupId> |
|
95 |
<artifactId>junit-platform-surefire-provider</artifactId> |
|
96 |
<version>1.2.0</version> |
|
97 |
</dependency> |
|
98 |
</dependencies> |
|
99 |
</plugin> |
|
253
d8442b266ca8
combatibility with Java 9+, Tested with Java 11; JAXB library
František Kučera <franta-hg@frantovo.cz>
parents:
244
diff
changeset
|
100 |
<plugin> |
d8442b266ca8
combatibility with Java 9+, Tested with Java 11; JAXB library
František Kučera <franta-hg@frantovo.cz>
parents:
244
diff
changeset
|
101 |
<artifactId>maven-dependency-plugin</artifactId> |
d8442b266ca8
combatibility with Java 9+, Tested with Java 11; JAXB library
František Kučera <franta-hg@frantovo.cz>
parents:
244
diff
changeset
|
102 |
<version>3.1.1</version> |
d8442b266ca8
combatibility with Java 9+, Tested with Java 11; JAXB library
František Kučera <franta-hg@frantovo.cz>
parents:
244
diff
changeset
|
103 |
<executions> |
d8442b266ca8
combatibility with Java 9+, Tested with Java 11; JAXB library
František Kučera <franta-hg@frantovo.cz>
parents:
244
diff
changeset
|
104 |
<execution> |
d8442b266ca8
combatibility with Java 9+, Tested with Java 11; JAXB library
František Kučera <franta-hg@frantovo.cz>
parents:
244
diff
changeset
|
105 |
<phase>process-sources</phase> |
d8442b266ca8
combatibility with Java 9+, Tested with Java 11; JAXB library
František Kučera <franta-hg@frantovo.cz>
parents:
244
diff
changeset
|
106 |
<goals> |
d8442b266ca8
combatibility with Java 9+, Tested with Java 11; JAXB library
František Kučera <franta-hg@frantovo.cz>
parents:
244
diff
changeset
|
107 |
<goal>copy-dependencies</goal> |
d8442b266ca8
combatibility with Java 9+, Tested with Java 11; JAXB library
František Kučera <franta-hg@frantovo.cz>
parents:
244
diff
changeset
|
108 |
</goals> |
d8442b266ca8
combatibility with Java 9+, Tested with Java 11; JAXB library
František Kučera <franta-hg@frantovo.cz>
parents:
244
diff
changeset
|
109 |
<configuration> |
d8442b266ca8
combatibility with Java 9+, Tested with Java 11; JAXB library
František Kučera <franta-hg@frantovo.cz>
parents:
244
diff
changeset
|
110 |
<outputDirectory>${project.build.directory}/lib</outputDirectory> |
d8442b266ca8
combatibility with Java 9+, Tested with Java 11; JAXB library
František Kučera <franta-hg@frantovo.cz>
parents:
244
diff
changeset
|
111 |
<includeScope>runtime</includeScope> |
d8442b266ca8
combatibility with Java 9+, Tested with Java 11; JAXB library
František Kučera <franta-hg@frantovo.cz>
parents:
244
diff
changeset
|
112 |
</configuration> |
d8442b266ca8
combatibility with Java 9+, Tested with Java 11; JAXB library
František Kučera <franta-hg@frantovo.cz>
parents:
244
diff
changeset
|
113 |
</execution> |
d8442b266ca8
combatibility with Java 9+, Tested with Java 11; JAXB library
František Kučera <franta-hg@frantovo.cz>
parents:
244
diff
changeset
|
114 |
</executions> |
d8442b266ca8
combatibility with Java 9+, Tested with Java 11; JAXB library
František Kučera <franta-hg@frantovo.cz>
parents:
244
diff
changeset
|
115 |
</plugin> |
238 | 116 |
</plugins> |
117 |
</build> |
|
118 |
||
119 |
</project> |