java/sql-dk/pom.xml
author František Kučera <franta-hg@frantovo.cz>
Tue, 30 Apr 2019 20:04:06 +0200
branchv_0
changeset 249 7655df0622ee
parent 244 6bdb45af26d9
child 253 d8442b266ca8
permissions -rw-r--r--
change XMLNS for the configuration
Use The 'tag' URI Scheme <http://www.faqs.org/rfcs/rfc4151.html>
Upgrade local configuration:
sed 's@https://sql-dk.globalcode.info/xmlns/configuration@tag:globalcode.info,2018:sqldk/configuration@g' -i ~/.sql-dk/config.xml
franta-hg@238
     1
<?xml version="1.0" encoding="UTF-8"?>
franta-hg@238
     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">
franta-hg@238
     3
	<modelVersion>4.0.0</modelVersion>
franta-hg@238
     4
	<groupId>info.globalcode.sql.dk</groupId>
franta-hg@238
     5
	<artifactId>sql-dk</artifactId>
franta-hg@244
     6
	<version>0.11-SNAPSHOT</version>
franta-hg@238
     7
	<packaging>jar</packaging>
franta-hg@238
     8
	
franta-hg@238
     9
	<properties>
franta-hg@238
    10
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
franta-hg@238
    11
		<maven.compiler.source>1.8</maven.compiler.source>
franta-hg@238
    12
		<maven.compiler.target>1.8</maven.compiler.target>
franta-hg@241
    13
		<junit.version>5.4.0</junit.version>
franta-hg@238
    14
	</properties>
franta-hg@238
    15
	
franta-hg@241
    16
	<dependencies>
franta-hg@241
    17
		<dependency>
franta-hg@241
    18
			<groupId>org.junit.jupiter</groupId>
franta-hg@241
    19
			<artifactId>junit-jupiter-engine</artifactId>
franta-hg@241
    20
			<version>${junit.version}</version>
franta-hg@241
    21
			<scope>test</scope>
franta-hg@241
    22
		</dependency>
franta-hg@241
    23
		<dependency>
franta-hg@241
    24
			<groupId>org.junit.jupiter</groupId>
franta-hg@241
    25
			<artifactId>junit-jupiter-params</artifactId>
franta-hg@241
    26
			<version>${junit.version}</version>
franta-hg@241
    27
			<scope>test</scope>
franta-hg@241
    28
		</dependency>
franta-hg@241
    29
	</dependencies>
franta-hg@241
    30
	
franta-hg@238
    31
	<build>
franta-hg@238
    32
		<plugins>
franta-hg@238
    33
			<plugin>
franta-hg@238
    34
				<groupId>org.codehaus.mojo</groupId>
franta-hg@238
    35
				<artifactId>exec-maven-plugin</artifactId>
franta-hg@238
    36
				<version>1.6.0</version>
franta-hg@238
    37
				<executions>
franta-hg@238
    38
					<execution>
franta-hg@238
    39
						<id>version-info</id>
franta-hg@238
    40
						<phase>generate-sources</phase>
franta-hg@238
    41
						<goals>
franta-hg@238
    42
							<goal>exec</goal>
franta-hg@238
    43
						</goals>
franta-hg@238
    44
						<configuration>
franta-hg@238
    45
							<executable>./version-info.sh</executable>
franta-hg@238
    46
							<outputFile>src/main/resources/info/globalcode/sql/dk/version.txt</outputFile><!-- TODO: move to target/generated-sources/ -->
franta-hg@238
    47
						</configuration>
franta-hg@238
    48
					</execution>
franta-hg@238
    49
					<execution>
franta-hg@238
    50
						<id>help-generator</id>
franta-hg@238
    51
						<phase>generate-sources</phase>
franta-hg@238
    52
						<goals>
franta-hg@238
    53
							<goal>exec</goal>
franta-hg@238
    54
						</goals>
franta-hg@238
    55
						<configuration>
franta-hg@238
    56
							<executable>./help-generator.sh</executable>
franta-hg@238
    57
							<outputFile>src/main/resources/info/globalcode/sql/dk/help.txt</outputFile><!-- TODO: move to target/generated-sources/ -->
franta-hg@238
    58
						</configuration>
franta-hg@238
    59
					</execution>
franta-hg@238
    60
					<execution>
franta-hg@238
    61
						<id>bash-completion</id>
franta-hg@238
    62
						<phase>generate-sources</phase>
franta-hg@238
    63
						<goals>
franta-hg@238
    64
							<goal>exec</goal>
franta-hg@238
    65
						</goals>
franta-hg@238
    66
						<configuration>
franta-hg@238
    67
							<executable>./bash-completion.sh</executable>
franta-hg@238
    68
							<outputFile>target/bash-completion.sh</outputFile>
franta-hg@238
    69
						</configuration>
franta-hg@238
    70
					</execution>
franta-hg@238
    71
				</executions>
franta-hg@238
    72
			</plugin>
franta-hg@241
    73
			<plugin>
franta-hg@241
    74
				<!--
franta-hg@241
    75
					Without this, tests are executed as „POJO Tests“ instead of „JUnit5 Tests“
franta-hg@241
    76
					and @BeforeEach annotation does not work.
franta-hg@241
    77
					http://maven.apache.org/surefire/maven-surefire-plugin/examples/pojo-test.html
franta-hg@241
    78
				-->
franta-hg@241
    79
				<artifactId>maven-surefire-plugin</artifactId>
franta-hg@241
    80
				<version>2.22.0</version>
franta-hg@241
    81
				<dependencies>
franta-hg@241
    82
					<dependency>
franta-hg@241
    83
						<groupId>org.junit.platform</groupId>
franta-hg@241
    84
						<artifactId>junit-platform-surefire-provider</artifactId>
franta-hg@241
    85
						<version>1.2.0</version>
franta-hg@241
    86
					</dependency>
franta-hg@241
    87
				</dependencies>
franta-hg@241
    88
			</plugin>
franta-hg@238
    89
		</plugins>
franta-hg@238
    90
	</build>
franta-hg@238
    91
	
franta-hg@238
    92
</project>