2019-12-05 09:56:52 -05:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2021-05-09 06:56:44 -04:00
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
2023-04-07 13:02:01 -04:00
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
2019-10-31 21:43:47 -04:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>jmh</artifactId>
|
|
|
|
<name>jmh</name>
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
|
|
|
|
<parent>
|
|
|
|
<groupId>com.baeldung</groupId>
|
|
|
|
<artifactId>parent-java</artifactId>
|
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
|
|
<relativePath>../parent-java</relativePath>
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.openjdk.jmh</groupId>
|
|
|
|
<artifactId>jmh-core</artifactId>
|
2023-07-25 02:20:47 -04:00
|
|
|
<version>${jmh-core.version}</version>
|
2019-10-31 21:43:47 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.openjdk.jmh</groupId>
|
|
|
|
<artifactId>jmh-generator-annprocess</artifactId>
|
2023-07-25 02:20:47 -04:00
|
|
|
<version>${jmh-generator.version}</version>
|
2019-10-31 21:43:47 -04:00
|
|
|
</dependency>
|
2020-07-30 13:22:53 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.openjdk.jol</groupId>
|
|
|
|
<artifactId>jol-core</artifactId>
|
|
|
|
<version>${jol-core.version}</version>
|
|
|
|
</dependency>
|
2019-10-31 21:43:47 -04:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
2023-04-03 13:27:36 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<compilerArgs>
|
|
|
|
<arg>--add-exports=java.base/jdk.internal.vm.annotation=ALL-UNNAMED</arg>
|
|
|
|
</compilerArgs>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2019-10-31 21:43:47 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
<version>${maven-jar-plugin.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<archive>
|
|
|
|
<manifest>
|
|
|
|
<mainClass>com.baeldung.BenchmarkRunner</mainClass>
|
|
|
|
</manifest>
|
|
|
|
</archive>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2020-07-30 13:22:53 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
|
|
<version>${maven-assembly-plugin.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<descriptorRefs>
|
|
|
|
<descriptorRef>jar-with-dependencies</descriptorRef>
|
|
|
|
</descriptorRefs>
|
|
|
|
<archive>
|
|
|
|
<manifest>
|
|
|
|
<mainClass>com.baeldung.BenchmarkRunner</mainClass>
|
|
|
|
</manifest>
|
|
|
|
</archive>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>make-assembly</id>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>single</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2019-10-31 21:43:47 -04:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
<properties>
|
2023-04-03 13:27:36 -04:00
|
|
|
<maven-jar-plugin.version>3.3.0</maven-jar-plugin.version>
|
|
|
|
<jol-core.version>0.17</jol-core.version>
|
|
|
|
<maven-assembly-plugin.version>3.5.0</maven-assembly-plugin.version>
|
|
|
|
<maven-compiler-plugin.version>3.11.0</maven-compiler-plugin.version>
|
2019-10-31 21:43:47 -04:00
|
|
|
</properties>
|
|
|
|
|
|
|
|
</project>
|