123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131 |
- <?xml version="1.0" encoding="UTF-8"?>
- <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">
- <modelVersion>4.0.0</modelVersion>
- <groupId>benchmark</groupId>
- <artifactId>javalin</artifactId>
- <version>1.0</version>
- <properties>
- <maven.compiler.source>11</maven.compiler.source>
- <maven.compiler.target>11</maven.compiler.target>
- <javalin.version>5.2.0</javalin.version>
- <slf4j.version>2.0.3</slf4j.version>
- <jackson.version>2.13.4</jackson.version>
- <hikaricp.version>5.0.1</hikaricp.version>
- <postgresql.version>42.5.1</postgresql.version>
- <mongodb.version>4.7.2</mongodb.version>
- <jte.version>2.2.3</jte.version>
- </properties>
- <dependencies>
- <dependency>
- <groupId>io.javalin</groupId>
- <artifactId>javalin</artifactId>
- <version>${javalin.version}</version>
- </dependency>
- <dependency>
- <groupId>io.javalin</groupId>
- <artifactId>javalin-rendering</artifactId>
- <version>${javalin.version}</version>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- <version>${slf4j.version}</version>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-simple</artifactId>
- <version>${slf4j.version}</version>
- </dependency>
- <dependency>
- <groupId>com.dslplatform</groupId>
- <artifactId>dsl-json-java8</artifactId>
- <version>1.9.9</version>
- </dependency>
- <dependency>
- <groupId>com.zaxxer</groupId>
- <artifactId>HikariCP</artifactId>
- <version>${hikaricp.version}</version>
- </dependency>
- <dependency>
- <groupId>org.postgresql</groupId>
- <artifactId>postgresql</artifactId>
- <version>${postgresql.version}</version>
- </dependency>
- <dependency>
- <groupId>org.mongodb</groupId>
- <artifactId>mongodb-driver-sync</artifactId>
- <version>${mongodb.version}</version>
- </dependency>
- <dependency>
- <groupId>gg.jte</groupId>
- <artifactId>jte</artifactId>
- <version>${jte.version}</version>
- </dependency>
- <dependency>
- <groupId>gg.jte</groupId>
- <artifactId>jte-kotlin</artifactId>
- <version>${jte.version}</version>
- </dependency>
- </dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>3.8.1</version>
- <configuration>
- <source>${maven.compiler.source}</source>
- <target>${maven.compiler.target}</target>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-shade-plugin</artifactId>
- <version>3.2.4</version>
- <executions>
- <!-- Run shade goal on package phase -->
- <execution>
- <phase>package</phase>
- <goals>
- <goal>shade</goal>
- </goals>
- <configuration>
- <shadedArtifactAttached>true</shadedArtifactAttached>
- <transformers>
- <!-- add Main-Class to manifest file -->
- <transformer
- implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
- <mainClass>benchmark.Main</mainClass>
- </transformer>
- </transformers>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>gg.jte</groupId>
- <artifactId>jte-maven-plugin</artifactId>
- <version>${jte.version}</version>
- <configuration>
- <sourceDirectory>${basedir}/src/main/jte</sourceDirectory>
- <contentType>Html</contentType>
- </configuration>
- <executions>
- <execution>
- <phase>generate-sources</phase>
- <goals>
- <goal>generate</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </project>
|