2019-08-03 13:02:34 +03:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!--
|
2020-01-04 01:50:50 +02:00
|
|
|
Copyright (C) 2019, Matthias Sohn <matthias.sohn@sap.com> and others
|
2019-08-03 13:02:34 +03:00
|
|
|
|
2020-01-04 01:50:50 +02:00
|
|
|
This program and the accompanying materials are made available under the
|
|
|
|
terms of the Eclipse Distribution License v. 1.0 which is available at
|
|
|
|
http://www.eclipse.org/org/documents/edl-v10.php.
|
2019-08-03 13:02:34 +03:00
|
|
|
|
2020-01-04 01:50:50 +02:00
|
|
|
SPDX-License-Identifier: BSD-3-Clause
|
2019-08-03 13:02:34 +03:00
|
|
|
-->
|
2019-11-06 18:49:48 +02: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>
|
2019-08-03 13:02:34 +03:00
|
|
|
|
2019-11-06 18:49:48 +02:00
|
|
|
<groupId>org.eclipse.jgit</groupId>
|
2022-06-07 02:02:10 +03:00
|
|
|
<version>6.3.0-SNAPSHOT</version>
|
2019-11-06 18:49:48 +02:00
|
|
|
<artifactId>org.eclipse.jgit.benchmarks</artifactId>
|
|
|
|
<packaging>jar</packaging>
|
2019-08-03 13:02:34 +03:00
|
|
|
|
2019-11-06 18:49:48 +02:00
|
|
|
<name>JGit - JMH based benchmarks</name>
|
2019-08-03 13:02:34 +03:00
|
|
|
|
2019-11-06 18:49:48 +02:00
|
|
|
<properties>
|
2020-12-27 12:50:52 +02:00
|
|
|
<java.version>11</java.version>
|
2019-11-06 18:49:48 +02:00
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
2021-06-29 22:34:49 +03:00
|
|
|
<jmh.version>1.32</jmh.version>
|
2019-11-06 18:49:48 +02:00
|
|
|
<uberjar.name>benchmarks</uberjar.name>
|
|
|
|
</properties>
|
2019-08-03 13:02:34 +03:00
|
|
|
|
2019-11-06 18:49:48 +02:00
|
|
|
<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>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jgit</groupId>
|
|
|
|
<artifactId>org.eclipse.jgit</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
2019-08-03 13:02:34 +03:00
|
|
|
|
2019-11-06 18:49:48 +02:00
|
|
|
<build>
|
|
|
|
<sourceDirectory>src/</sourceDirectory>
|
|
|
|
<plugins>
|
2020-12-24 16:40:12 +02:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
|
|
<version>3.0.0-M3</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>enforce-maven</id>
|
|
|
|
<goals>
|
|
|
|
<goal>enforce</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<rules>
|
|
|
|
<requireMavenVersion>
|
|
|
|
<version>3.6.3</version>
|
|
|
|
</requireMavenVersion>
|
|
|
|
</rules>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2019-11-06 18:49:48 +02:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<version>3.8.1</version>
|
|
|
|
<configuration>
|
2020-12-27 12:50:52 +02:00
|
|
|
<encoding>UTF-8</encoding>
|
2021-11-26 11:19:23 +02:00
|
|
|
<release>${java.version}</release>
|
2021-09-12 19:44:08 +03:00
|
|
|
<fork>true</fork>
|
2020-12-27 12:50:52 +02:00
|
|
|
<compilerArgs>
|
|
|
|
<arg>-XDcompilePolicy=simple</arg>
|
|
|
|
<arg>-Xplugin:ErrorProne</arg>
|
2021-09-12 19:44:08 +03:00
|
|
|
<arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED</arg>
|
|
|
|
<arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED</arg>
|
|
|
|
<arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED</arg>
|
|
|
|
<arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.model=ALL-UNNAMED</arg>
|
|
|
|
<arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED</arg>
|
|
|
|
<arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED</arg>
|
|
|
|
<arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED</arg>
|
|
|
|
<arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED</arg>
|
|
|
|
<arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED</arg>
|
|
|
|
<arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED</arg>
|
2020-12-27 12:50:52 +02:00
|
|
|
</compilerArgs>
|
|
|
|
<annotationProcessorPaths>
|
2021-09-22 00:24:47 +03:00
|
|
|
<path>
|
|
|
|
<groupId>org.openjdk.jmh</groupId>
|
|
|
|
<artifactId>jmh-generator-annprocess</artifactId>
|
|
|
|
<version>${jmh.version}</version>
|
|
|
|
</path>
|
2020-12-27 12:50:52 +02:00
|
|
|
<path>
|
|
|
|
<groupId>com.google.errorprone</groupId>
|
|
|
|
<artifactId>error_prone_core</artifactId>
|
2021-09-12 19:44:08 +03:00
|
|
|
<version>2.9.0</version>
|
2020-12-27 12:50:52 +02:00
|
|
|
</path>
|
|
|
|
</annotationProcessorPaths>
|
2019-11-06 18:49:48 +02:00
|
|
|
<generatedSourcesDirectory>.apt_generated</generatedSourcesDirectory>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-shade-plugin</artifactId>
|
2020-12-24 16:27:02 +02:00
|
|
|
<version>3.2.4</version>
|
2019-11-06 18:49:48 +02: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>
|
|
|
|
<!--This plugin's configuration is used to store Eclipse m2e settings only.
|
|
|
|
It has no influence on the Maven build itself. -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.eclipse.m2e</groupId>
|
|
|
|
<artifactId>lifecycle-mapping</artifactId>
|
|
|
|
<version>1.0.0</version>
|
|
|
|
<configuration>
|
|
|
|
<lifecycleMappingMetadata>
|
|
|
|
<pluginExecutions>
|
|
|
|
<pluginExecution>
|
|
|
|
<pluginExecutionFilter>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
|
|
<versionRange>[1.8,)</versionRange>
|
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
|
|
|
</pluginExecutionFilter>
|
|
|
|
<action>
|
|
|
|
<ignore></ignore>
|
|
|
|
</action>
|
|
|
|
</pluginExecution>
|
|
|
|
</pluginExecutions>
|
|
|
|
</lifecycleMappingMetadata>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2019-12-18 16:49:18 +02:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-site-plugin</artifactId>
|
2020-12-03 16:12:01 +02:00
|
|
|
<version>3.9.1</version>
|
2019-12-18 16:49:18 +02:00
|
|
|
<dependencies>
|
|
|
|
<dependency><!-- add support for ssh/scp -->
|
|
|
|
<groupId>org.apache.maven.wagon</groupId>
|
|
|
|
<artifactId>wagon-ssh</artifactId>
|
2021-03-24 18:12:39 +02:00
|
|
|
<version>3.4.3</version>
|
2019-12-18 16:49:18 +02:00
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-report-plugin</artifactId>
|
2020-12-24 16:05:42 +02:00
|
|
|
<version>3.0.0-M5</version>
|
2019-12-18 16:49:18 +02:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jxr-plugin</artifactId>
|
2021-04-29 21:44:48 +03:00
|
|
|
<version>3.1.1</version>
|
2019-12-18 16:49:18 +02:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-project-info-reports-plugin</artifactId>
|
2020-09-08 21:01:42 +03:00
|
|
|
<version>3.1.1</version>
|
2019-12-18 16:49:18 +02:00
|
|
|
</plugin>
|
2019-11-06 18:49:48 +02:00
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
|
|
|
</build>
|
|
|
|
<distributionManagement>
|
|
|
|
<repository>
|
|
|
|
<id>repo.eclipse.org</id>
|
|
|
|
<name>JGit Maven Repository - Releases</name>
|
|
|
|
<url>https://repo.eclipse.org/content/repositories/jgit-releases/</url>
|
|
|
|
</repository>
|
|
|
|
<snapshotRepository>
|
|
|
|
<id>repo.eclipse.org</id>
|
|
|
|
<name>JGit Maven Repository - Snapshots</name>
|
|
|
|
<url>https://repo.eclipse.org/content/repositories/jgit-snapshots/</url>
|
|
|
|
<uniqueVersion>true</uniqueVersion>
|
|
|
|
</snapshotRepository>
|
|
|
|
<site>
|
|
|
|
<id>jgit.website</id>
|
|
|
|
<name>JGit Website</name>
|
|
|
|
<url>${jgit.website.url}</url>
|
|
|
|
</site>
|
|
|
|
</distributionManagement>
|
2019-08-03 13:02:34 +03:00
|
|
|
</project>
|