java/sql-dk/pom.xml
author František Kučera <franta-hg@frantovo.cz>
Sun, 04 Feb 2024 16:10:37 +0100
branchv_0
changeset 255 099bb96f8d8d
parent 253 d8442b266ca8
permissions -rw-r--r--
tabular formatter: new option 'separateBy' to print horizontal separator on each change of given column
     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>
     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>
    13 		<junit.version>5.4.0</junit.version>
    14 	</properties>
    15 	
    16 	<dependencies>
    17 		<dependency>
    18 			<groupId>jakarta.xml.bind</groupId>
    19 			<artifactId>jakarta.xml.bind-api</artifactId>
    20 			<version>2.3.3</version>
    21 		</dependency>
    22 		<dependency>
    23 			<groupId>com.sun.xml.bind</groupId>
    24 			<artifactId>jaxb-impl</artifactId>
    25 			<version>2.3.3</version>
    26 			<scope>runtime</scope>
    27 		</dependency>
    28 		<dependency>
    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 	
    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>
    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>
   100 			<plugin>
   101 				<artifactId>maven-dependency-plugin</artifactId>
   102 				<version>3.1.1</version>
   103 				<executions>
   104 					<execution>
   105 						<phase>process-sources</phase>
   106 						<goals>
   107 							<goal>copy-dependencies</goal>
   108 						</goals>
   109 						<configuration>
   110 							<outputDirectory>${project.build.directory}/lib</outputDirectory>
   111 							<includeScope>runtime</includeScope>
   112 						</configuration>
   113 					</execution>
   114 				</executions>
   115 			</plugin>
   116 		</plugins>
   117 	</build>
   118 	
   119 </project>