|  | <?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>org.eclipse.yasson</groupId> | 
|  | <artifactId>yasson-jmh</artifactId> | 
|  | <version>1.0-SNAPSHOT</version> | 
|  | <description>This is a performance testing project for Yasson. It leverages a JMH technology. | 
|  | See https://openjdk.java.net/projects/code-tools/jmh/. | 
|  | </description> | 
|  |  | 
|  | <properties> | 
|  | <jmh.version>1.21</jmh.version> | 
|  | <yasson.version>2.0.2-SNAPSHOT</yasson.version> | 
|  | </properties> | 
|  |  | 
|  |  | 
|  | <dependencies> | 
|  | <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> | 
|  | </dependency> | 
|  | <dependency> | 
|  | <groupId>org.eclipse</groupId> | 
|  | <artifactId>yasson</artifactId> | 
|  | <version>${yasson.version}</version> | 
|  | </dependency> | 
|  | </dependencies> | 
|  |  | 
|  | <build> | 
|  | <plugins> | 
|  | <!-- Don't upload any files from these project. JMH dependencies are approved only for testing purposes. --> | 
|  | <plugin> | 
|  | <artifactId>maven-deploy-plugin</artifactId> | 
|  | <configuration> | 
|  | <skip>true</skip> | 
|  | </configuration> | 
|  | </plugin> | 
|  | <plugin> | 
|  | <artifactId>maven-javadoc-plugin</artifactId> | 
|  | <configuration> | 
|  | <skip>true</skip> | 
|  | </configuration> | 
|  | </plugin> | 
|  | <plugin> | 
|  | <groupId>org.apache.maven.plugins</groupId> | 
|  | <artifactId>maven-compiler-plugin</artifactId> | 
|  | <configuration> | 
|  | <source>11</source> | 
|  | <target>11</target> | 
|  | </configuration> | 
|  | </plugin> | 
|  | <!--run `java -jar yasson-jmh.jar -h` for help --> | 
|  | <plugin> | 
|  | <groupId>org.apache.maven.plugins</groupId> | 
|  | <artifactId>maven-shade-plugin</artifactId> | 
|  | <version>3.2.1</version> | 
|  | <executions> | 
|  | <execution> | 
|  | <phase>package</phase> | 
|  | <goals> | 
|  | <goal>shade</goal> | 
|  | </goals> | 
|  | <configuration> | 
|  | <finalName>yasson-jmh</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> | 
|  | </build> | 
|  | </project> |