2019-10-31 21:43:47 -04:00
|
|
|
<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>
|
|
|
|
<artifactId>performance-tests</artifactId>
|
|
|
|
<version>1.0</version>
|
|
|
|
<name>performance-tests</name>
|
2019-12-05 09:56:52 -05:00
|
|
|
<packaging>jar</packaging>
|
2019-10-31 21:43:47 -04:00
|
|
|
|
|
|
|
<parent>
|
|
|
|
<groupId>com.baeldung</groupId>
|
2019-12-05 09:56:52 -05:00
|
|
|
<artifactId>parent-modules</artifactId>
|
2019-10-31 21:43:47 -04:00
|
|
|
<version>1.0.0-SNAPSHOT</version>
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>ma.glasnost.orika</groupId>
|
|
|
|
<artifactId>orika-core</artifactId>
|
|
|
|
<version>${orika.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>net.sf.dozer</groupId>
|
|
|
|
<artifactId>dozer</artifactId>
|
|
|
|
<version>${dozer.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.craftsman</groupId>
|
|
|
|
<artifactId>dozer-jdk8-support</artifactId>
|
|
|
|
<version>${dozer-jdk8-support.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.mapstruct</groupId>
|
|
|
|
<artifactId>mapstruct-jdk8</artifactId>
|
|
|
|
<version>${mapstruct-jdk8.version}</version>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.mapstruct/mapstruct-processor -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.mapstruct</groupId>
|
|
|
|
<artifactId>mapstruct-processor</artifactId>
|
2020-01-27 15:05:31 -05:00
|
|
|
<version>${mapstruct-jdk8.version}</version>
|
2019-10-31 21:43:47 -04:00
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.modelmapper</groupId>
|
|
|
|
<artifactId>modelmapper</artifactId>
|
|
|
|
<version>${modelmapper.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.googlecode.jmapper-framework</groupId>
|
|
|
|
<artifactId>jmapper-core</artifactId>
|
|
|
|
<version>${jmapper.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.openjdk.jmh</groupId>
|
|
|
|
<artifactId>jmh-core</artifactId>
|
|
|
|
<version>${jmh.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.openjdk.jmh</groupId>
|
|
|
|
<artifactId>jmh-generator-annprocess</artifactId>
|
|
|
|
<version>${jmh.version}</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
2020-01-27 15:05:31 -05:00
|
|
|
<version>${compiler.plugin.version}</version>
|
2019-10-31 21:43:47 -04:00
|
|
|
<configuration>
|
|
|
|
<compilerVersion>${javac.target}</compilerVersion>
|
|
|
|
<source>${javac.target}</source>
|
|
|
|
<target>${javac.target}</target>
|
|
|
|
<annotationProcessorPaths>
|
|
|
|
<path>
|
|
|
|
<groupId>org.mapstruct</groupId>
|
|
|
|
<artifactId>mapstruct-processor</artifactId>
|
|
|
|
<version>${mapstruct-processor.version}</version>
|
|
|
|
</path>
|
|
|
|
</annotationProcessorPaths>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-shade-plugin</artifactId>
|
2020-01-27 15:05:31 -05:00
|
|
|
<version>${shade.plugin.version}</version>
|
2019-10-31 21:43:47 -04:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>shade</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<finalName>${uberjar.name}</finalName>
|
|
|
|
<transformers>
|
|
|
|
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
|
|
|
|
<mainClass>org.openjdk.jmh.Main</mainClass>
|
|
|
|
</transformer>
|
|
|
|
</transformers>
|
|
|
|
<filters>
|
|
|
|
<filter>
|
|
|
|
<!--
|
|
|
|
Shading signed JARs will fail without this.
|
|
|
|
http://stackoverflow.com/questions/999489/invalid-signature-file-when-attempting-to-run-a-jar
|
|
|
|
-->
|
|
|
|
<artifact>*:*</artifact>
|
|
|
|
<excludes>
|
|
|
|
<exclude>META-INF/*.SF</exclude>
|
|
|
|
<exclude>META-INF/*.DSA</exclude>
|
|
|
|
<exclude>META-INF/*.RSA</exclude>
|
|
|
|
</excludes>
|
|
|
|
</filter>
|
|
|
|
</filters>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-clean-plugin</artifactId>
|
|
|
|
<version>2.5</version>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-deploy-plugin</artifactId>
|
|
|
|
<version>2.8.1</version>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-install-plugin</artifactId>
|
2020-01-27 15:05:31 -05:00
|
|
|
<version>${install.version}</version>
|
2019-10-31 21:43:47 -04:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
2020-01-27 15:05:31 -05:00
|
|
|
<version>${jar.plugin.version}</version>
|
2019-10-31 21:43:47 -04:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
2020-01-27 15:05:31 -05:00
|
|
|
<version>${javadoc.plugin.version}</version>
|
2019-10-31 21:43:47 -04:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
2020-01-27 15:05:31 -05:00
|
|
|
<version>${resources.plugin.version}</version>
|
2019-10-31 21:43:47 -04:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-site-plugin</artifactId>
|
2020-01-27 15:05:31 -05:00
|
|
|
<version>${site.plugin.version}</version>
|
2019-10-31 21:43:47 -04:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-source-plugin</artifactId>
|
2020-01-27 15:05:31 -05:00
|
|
|
<version>${source.plugin.version}</version>
|
2019-10-31 21:43:47 -04:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
2020-01-27 15:05:31 -05:00
|
|
|
<version>${surefire.plugin.version}</version>
|
2019-10-31 21:43:47 -04:00
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
|
|
|
</build>
|
|
|
|
|
2020-07-07 07:18:10 -04:00
|
|
|
<properties>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
JMH version to use with this project.
|
|
|
|
-->
|
|
|
|
<jmh.version>1.21</jmh.version>
|
|
|
|
<orika.version>1.5.2</orika.version>
|
|
|
|
<dozer.version>5.5.1</dozer.version>
|
|
|
|
<dozer-jdk8-support.version>1.0.2</dozer-jdk8-support.version>
|
|
|
|
<mapstruct-jdk8.version>1.2.0.Final</mapstruct-jdk8.version>
|
|
|
|
<modelmapper.version>1.1.0</modelmapper.version>
|
|
|
|
<jmapper.version>1.6.0.1</jmapper.version>
|
|
|
|
<java.version>1.8</java.version>
|
|
|
|
<mapstruct-processor.version>1.2.0.Final</mapstruct-processor.version>
|
|
|
|
<jmh-core.version>1.21</jmh-core.version>
|
|
|
|
<jmh-generator.version>1.21</jmh-generator.version>
|
|
|
|
<maven-compiler-plugin.version>3.7.0</maven-compiler-plugin.version>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
Java source/target to use for compilation.
|
|
|
|
-->
|
|
|
|
<javac.target>1.8</javac.target>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
Name of the benchmark Uber-JAR to generate.
|
|
|
|
-->
|
|
|
|
<uberjar.name>benchmarks</uberjar.name>
|
|
|
|
<compiler.plugin.version>3.1</compiler.plugin.version>
|
|
|
|
<shade.plugin.version>2.2</shade.plugin.version>
|
|
|
|
<install.version>2.5.1</install.version>
|
|
|
|
<jar.plugin.version>2.4</jar.plugin.version>
|
|
|
|
<javadoc.plugin.version>2.9.1</javadoc.plugin.version>
|
|
|
|
<resources.plugin.version>2.6</resources.plugin.version>
|
|
|
|
<site.plugin.version>3.3</site.plugin.version>
|
|
|
|
<source.plugin.version>2.2.1</source.plugin.version>
|
|
|
|
<surefire.plugin.version>2.17</surefire.plugin.version>
|
|
|
|
</properties>
|
|
|
|
|
2019-10-31 21:43:47 -04:00
|
|
|
</project>
|