123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161 |
- <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>com.techempower</groupId>
- <artifactId>vertx.benchmark</artifactId>
- <version>0.0.1-SNAPSHOT</version>
- <properties>
- <maven.compiler.source>17</maven.compiler.source>
- <maven.compiler.target>17</maven.compiler.target>
- <!-- the main class -->
- <main.class>vertx.App</main.class>
- <stack.version>4.4.2</stack.version>
- <jackson.version>2.15.0</jackson.version>
- <netty.version>4.1.92.Final</netty.version>
- <netty.io_uring.version>0.0.21.Final</netty.io_uring.version>
- </properties>
- <dependencies>
- <dependency>
- <groupId>io.vertx</groupId>
- <artifactId>vertx-core</artifactId>
- <version>${stack.version}</version>
- </dependency>
- <dependency>
- <groupId>io.vertx</groupId>
- <artifactId>vertx-pg-client</artifactId>
- <version>${stack.version}</version>
- </dependency>
- <dependency>
- <groupId>com.fasterxml.jackson.core</groupId>
- <artifactId>jackson-core</artifactId>
- <version>${jackson.version}</version>
- </dependency>
- <dependency>
- <groupId>com.fasterxml.jackson.core</groupId>
- <artifactId>jackson-databind</artifactId>
- <version>${jackson.version}</version>
- </dependency>
- <dependency>
- <groupId>io.netty</groupId>
- <artifactId>netty-transport-native-kqueue</artifactId>
- <version>${netty.version}</version>
- <classifier>osx-x86_64</classifier>
- </dependency>
- <dependency>
- <groupId>io.netty</groupId>
- <artifactId>netty-transport-native-epoll</artifactId>
- <version>${netty.version}</version>
- <classifier>linux-x86_64</classifier>
- </dependency>
- <dependency>
- <groupId>com.github.ben-manes.caffeine</groupId>
- <artifactId>caffeine</artifactId>
- <version>3.1.3</version>
- </dependency>
- <dependency>
- <groupId>com.fizzed</groupId>
- <artifactId>rocker-compiler</artifactId>
- <version>1.3.0</version>
- </dependency>
- <dependency>
- <groupId>javax.xml.bind</groupId>
- <artifactId>jaxb-api</artifactId>
- <version>2.3.1</version>
- </dependency>
- </dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>3.10.1</version>
- <configuration>
- <debug>false</debug>
- </configuration>
- </plugin>
- <plugin>
- <groupId>com.fizzed</groupId>
- <artifactId>rocker-maven-plugin</artifactId>
- <version>1.3.0</version>
- <executions>
- <execution>
- <id>generate-rocker-templates</id>
- <phase>generate-sources</phase>
- <goals>
- <goal>generate</goal>
- </goals>
- <configuration>
- <javaVersion>17</javaVersion>
- <templateDirectory>${basedir}/src/main/templates</templateDirectory>
- <outputDirectory>${basedir}/target/generated-sources/rocker</outputDirectory>
- <discardLogicWhitespace>false</discardLogicWhitespace>
- <addAsSources>true</addAsSources>
- <optimize>true</optimize>
- <failOnError>true</failOnError>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-shade-plugin</artifactId>
- <version>2.4.1</version>
- <executions>
- <execution>
- <phase>package</phase>
- <goals>
- <goal>shade</goal>
- </goals>
- <configuration>
- <transformers>
- <transformer
- implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
- <manifestEntries>
- <Main-Class>${main.class}</Main-Class>
- </manifestEntries>
- </transformer>
- <transformer
- implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
- <resource>META-INF/services/io.vertx.core.spi.VerticleFactory</resource>
- </transformer>
- </transformers>
- <artifactSet>
- </artifactSet>
- <outputFile>${project.build.directory}/${project.artifactId}-${project.version}-fat.jar</outputFile>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- <profiles>
- <profile>
- <id>Linux</id>
- <activation>
- <activeByDefault>false</activeByDefault>
- <os>
- <family>unix</family>
- </os>
- </activation>
- <dependencies>
- <dependency>
- <groupId>io.vertx</groupId>
- <artifactId>vertx-io_uring-incubator</artifactId>
- <version>${stack.version}</version>
- </dependency>
- <dependency>
- <groupId>io.netty.incubator</groupId>
- <artifactId>netty-incubator-transport-native-io_uring</artifactId>
- <version>${netty.io_uring.version}</version>
- <classifier>linux-x86_64</classifier>
- </dependency>
- </dependencies>
- </profile>
- </profiles>
- </project>
|