xref: /JGit/org.eclipse.jgit.benchmarks/pom.xml (revision f61b7e5406c76275ecbef172c049b8a8a0cd3e2b)
19a638b08SMatthias Sohn<?xml version="1.0" encoding="UTF-8"?>
29a638b08SMatthias Sohn<!--
35c5f7c6bSMatthias Sohn  Copyright (C) 2019, Matthias Sohn <matthias.sohn@sap.com> and others
49a638b08SMatthias Sohn
55c5f7c6bSMatthias Sohn  This program and the accompanying materials are made available under the
65c5f7c6bSMatthias Sohn  terms of the Eclipse Distribution License v. 1.0 which is available at
75c5f7c6bSMatthias Sohn  http://www.eclipse.org/org/documents/edl-v10.php.
89a638b08SMatthias Sohn
95c5f7c6bSMatthias Sohn  SPDX-License-Identifier: BSD-3-Clause
109a638b08SMatthias Sohn-->
11d36488adSMatthias Sohn<project xmlns="http://maven.apache.org/POM/4.0.0"
12d36488adSMatthias Sohn  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
13d36488adSMatthias Sohn  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
149a638b08SMatthias Sohn  <modelVersion>4.0.0</modelVersion>
159a638b08SMatthias Sohn
169a638b08SMatthias Sohn  <groupId>org.eclipse.jgit</groupId>
179034c7d4SMatthias Sohn  <version>5.11.0-SNAPSHOT</version>
189a638b08SMatthias Sohn  <artifactId>org.eclipse.jgit.benchmarks</artifactId>
199a638b08SMatthias Sohn  <packaging>jar</packaging>
209a638b08SMatthias Sohn
219a638b08SMatthias Sohn  <name>JGit - JMH based benchmarks</name>
229a638b08SMatthias Sohn
239a638b08SMatthias Sohn  <properties>
249a638b08SMatthias Sohn    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
259a638b08SMatthias Sohn    <javac.target>1.8</javac.target>
269a638b08SMatthias Sohn    <jmh.version>1.21</jmh.version>
279a638b08SMatthias Sohn    <uberjar.name>benchmarks</uberjar.name>
289a638b08SMatthias Sohn  </properties>
299a638b08SMatthias Sohn
309a638b08SMatthias Sohn  <dependencies>
319a638b08SMatthias Sohn    <dependency>
329a638b08SMatthias Sohn      <groupId>org.openjdk.jmh</groupId>
339a638b08SMatthias Sohn      <artifactId>jmh-core</artifactId>
349a638b08SMatthias Sohn      <version>${jmh.version}</version>
359a638b08SMatthias Sohn    </dependency>
369a638b08SMatthias Sohn    <dependency>
379a638b08SMatthias Sohn      <groupId>org.openjdk.jmh</groupId>
389a638b08SMatthias Sohn      <artifactId>jmh-generator-annprocess</artifactId>
399a638b08SMatthias Sohn      <version>${jmh.version}</version>
409a638b08SMatthias Sohn      <scope>provided</scope>
419a638b08SMatthias Sohn    </dependency>
429a638b08SMatthias Sohn    <dependency>
439a638b08SMatthias Sohn      <groupId>org.eclipse.jgit</groupId>
449a638b08SMatthias Sohn      <artifactId>org.eclipse.jgit</artifactId>
459a638b08SMatthias Sohn      <version>${project.version}</version>
469a638b08SMatthias Sohn    </dependency>
479a638b08SMatthias Sohn  </dependencies>
489a638b08SMatthias Sohn
499a638b08SMatthias Sohn  <build>
509a638b08SMatthias Sohn    <sourceDirectory>src/</sourceDirectory>
519a638b08SMatthias Sohn    <plugins>
529a638b08SMatthias Sohn      <plugin>
539a638b08SMatthias Sohn        <groupId>org.apache.maven.plugins</groupId>
54*f61b7e54SMatthias Sohn        <artifactId>maven-enforcer-plugin</artifactId>
55*f61b7e54SMatthias Sohn        <version>3.0.0-M3</version>
56*f61b7e54SMatthias Sohn        <executions>
57*f61b7e54SMatthias Sohn          <execution>
58*f61b7e54SMatthias Sohn            <id>enforce-maven</id>
59*f61b7e54SMatthias Sohn            <goals>
60*f61b7e54SMatthias Sohn              <goal>enforce</goal>
61*f61b7e54SMatthias Sohn            </goals>
62*f61b7e54SMatthias Sohn            <configuration>
63*f61b7e54SMatthias Sohn              <rules>
64*f61b7e54SMatthias Sohn                <requireMavenVersion>
65*f61b7e54SMatthias Sohn                  <version>3.6.3</version>
66*f61b7e54SMatthias Sohn                </requireMavenVersion>
67*f61b7e54SMatthias Sohn              </rules>
68*f61b7e54SMatthias Sohn            </configuration>
69*f61b7e54SMatthias Sohn          </execution>
70*f61b7e54SMatthias Sohn        </executions>
71*f61b7e54SMatthias Sohn      </plugin>
72*f61b7e54SMatthias Sohn      <plugin>
73*f61b7e54SMatthias Sohn        <groupId>org.apache.maven.plugins</groupId>
749a638b08SMatthias Sohn        <artifactId>maven-compiler-plugin</artifactId>
759a638b08SMatthias Sohn        <version>3.8.1</version>
769a638b08SMatthias Sohn        <configuration>
779a638b08SMatthias Sohn          <compilerVersion>${javac.target}</compilerVersion>
789a638b08SMatthias Sohn          <source>${javac.target}</source>
799a638b08SMatthias Sohn          <target>${javac.target}</target>
809a638b08SMatthias Sohn          <generatedSourcesDirectory>.apt_generated</generatedSourcesDirectory>
819a638b08SMatthias Sohn        </configuration>
829a638b08SMatthias Sohn        <executions>
839a638b08SMatthias Sohn          <execution>
849a638b08SMatthias Sohn            <id>compile-with-errorprone</id>
859a638b08SMatthias Sohn            <phase>compile</phase>
869a638b08SMatthias Sohn            <goals>
879a638b08SMatthias Sohn              <goal>compile</goal>
889a638b08SMatthias Sohn            </goals>
899a638b08SMatthias Sohn            <configuration>
909a638b08SMatthias Sohn              <compilerId>javac-with-errorprone</compilerId>
919a638b08SMatthias Sohn              <forceJavacCompilerUse>true</forceJavacCompilerUse>
929a638b08SMatthias Sohn            </configuration>
939a638b08SMatthias Sohn          </execution>
949a638b08SMatthias Sohn        </executions>
959a638b08SMatthias Sohn        <dependencies>
969a638b08SMatthias Sohn          <dependency>
979a638b08SMatthias Sohn            <groupId>org.codehaus.plexus</groupId>
989a638b08SMatthias Sohn            <artifactId>plexus-compiler-javac</artifactId>
999a638b08SMatthias Sohn            <version>2.8.5</version>
1009a638b08SMatthias Sohn          </dependency>
1019a638b08SMatthias Sohn          <dependency>
1029a638b08SMatthias Sohn            <groupId>org.codehaus.plexus</groupId>
1039a638b08SMatthias Sohn            <artifactId>plexus-compiler-javac-errorprone</artifactId>
1049a638b08SMatthias Sohn            <version>2.8.5</version>
1059a638b08SMatthias Sohn          </dependency>
1069a638b08SMatthias Sohn          <!-- override plexus-compiler-javac-errorprone's dependency on
1079a638b08SMatthias Sohn               Error Prone with the latest version -->
1089a638b08SMatthias Sohn          <dependency>
1099a638b08SMatthias Sohn            <groupId>com.google.errorprone</groupId>
1109a638b08SMatthias Sohn            <artifactId>error_prone_core</artifactId>
11197844038SDavid Pursehouse            <version>2.3.4</version>
1129a638b08SMatthias Sohn          </dependency>
1139a638b08SMatthias Sohn        </dependencies>
1149a638b08SMatthias Sohn      </plugin>
1159a638b08SMatthias Sohn      <plugin>
1169a638b08SMatthias Sohn        <groupId>org.apache.maven.plugins</groupId>
1179a638b08SMatthias Sohn        <artifactId>maven-shade-plugin</artifactId>
1187b73d5eeSMichael Keppler        <version>3.2.1</version>
1199a638b08SMatthias Sohn        <executions>
1209a638b08SMatthias Sohn          <execution>
1219a638b08SMatthias Sohn            <phase>package</phase>
1229a638b08SMatthias Sohn            <goals>
1239a638b08SMatthias Sohn              <goal>shade</goal>
1249a638b08SMatthias Sohn            </goals>
1259a638b08SMatthias Sohn            <configuration>
1269a638b08SMatthias Sohn              <finalName>${uberjar.name}</finalName>
1279a638b08SMatthias Sohn              <transformers>
1289a638b08SMatthias Sohn                <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
1299a638b08SMatthias Sohn                  <mainClass>org.openjdk.jmh.Main</mainClass>
1309a638b08SMatthias Sohn                </transformer>
1319a638b08SMatthias Sohn              </transformers>
1329a638b08SMatthias Sohn              <filters>
1339a638b08SMatthias Sohn                <filter>
134d36488adSMatthias Sohn                  <!-- Shading signed JARs will fail without this.
135d36488adSMatthias Sohn                       http://stackoverflow.com/questions/999489/invalid-signature-file-when-attempting-to-run-a-jar -->
1369a638b08SMatthias Sohn                  <artifact>*:*</artifact>
1379a638b08SMatthias Sohn                  <excludes>
1389a638b08SMatthias Sohn                    <exclude>META-INF/*.SF</exclude>
1399a638b08SMatthias Sohn                    <exclude>META-INF/*.DSA</exclude>
1409a638b08SMatthias Sohn                    <exclude>META-INF/*.RSA</exclude>
1419a638b08SMatthias Sohn                  </excludes>
1429a638b08SMatthias Sohn                </filter>
1439a638b08SMatthias Sohn              </filters>
1449a638b08SMatthias Sohn            </configuration>
1459a638b08SMatthias Sohn          </execution>
1469a638b08SMatthias Sohn        </executions>
1479a638b08SMatthias Sohn      </plugin>
1489a638b08SMatthias Sohn    </plugins>
1499a638b08SMatthias Sohn    <pluginManagement>
1509a638b08SMatthias Sohn      <plugins>
1519a638b08SMatthias Sohn        <!--This plugin's configuration is used to store Eclipse m2e settings only.
1529a638b08SMatthias Sohn            It has no influence on the Maven build itself. -->
1539a638b08SMatthias Sohn        <plugin>
1549a638b08SMatthias Sohn          <groupId>org.eclipse.m2e</groupId>
1559a638b08SMatthias Sohn          <artifactId>lifecycle-mapping</artifactId>
1569a638b08SMatthias Sohn          <version>1.0.0</version>
1579a638b08SMatthias Sohn          <configuration>
1589a638b08SMatthias Sohn            <lifecycleMappingMetadata>
1599a638b08SMatthias Sohn              <pluginExecutions>
1609a638b08SMatthias Sohn                <pluginExecution>
1619a638b08SMatthias Sohn                  <pluginExecutionFilter>
1629a638b08SMatthias Sohn                    <groupId>org.apache.maven.plugins</groupId>
1639a638b08SMatthias Sohn                    <artifactId>maven-antrun-plugin</artifactId>
1649a638b08SMatthias Sohn                    <versionRange>[1.8,)</versionRange>
1659a638b08SMatthias Sohn                    <goals>
1669a638b08SMatthias Sohn                      <goal>run</goal>
1679a638b08SMatthias Sohn                    </goals>
1689a638b08SMatthias Sohn                  </pluginExecutionFilter>
1699a638b08SMatthias Sohn                  <action>
1709a638b08SMatthias Sohn                    <ignore></ignore>
1719a638b08SMatthias Sohn                  </action>
1729a638b08SMatthias Sohn                </pluginExecution>
1739a638b08SMatthias Sohn              </pluginExecutions>
1749a638b08SMatthias Sohn            </lifecycleMappingMetadata>
1759a638b08SMatthias Sohn          </configuration>
1769a638b08SMatthias Sohn        </plugin>
1773c0c3811SMatthias Sohn        <plugin>
1783c0c3811SMatthias Sohn          <groupId>org.apache.maven.plugins</groupId>
1793c0c3811SMatthias Sohn          <artifactId>maven-site-plugin</artifactId>
1801d7829ebSMarco Miller          <version>3.9.1</version>
1813c0c3811SMatthias Sohn          <dependencies>
1823c0c3811SMatthias Sohn            <dependency><!-- add support for ssh/scp -->
1833c0c3811SMatthias Sohn              <groupId>org.apache.maven.wagon</groupId>
1843c0c3811SMatthias Sohn              <artifactId>wagon-ssh</artifactId>
1851d7829ebSMarco Miller              <version>3.4.2</version>
1863c0c3811SMatthias Sohn            </dependency>
1873c0c3811SMatthias Sohn          </dependencies>
1883c0c3811SMatthias Sohn        </plugin>
1893c0c3811SMatthias Sohn        <plugin>
1903c0c3811SMatthias Sohn          <groupId>org.apache.maven.plugins</groupId>
1913c0c3811SMatthias Sohn          <artifactId>maven-surefire-report-plugin</artifactId>
192f93b1b5eSMatthias Sohn          <version>3.0.0-M5</version>
1933c0c3811SMatthias Sohn        </plugin>
1943c0c3811SMatthias Sohn        <plugin>
1953c0c3811SMatthias Sohn          <groupId>org.apache.maven.plugins</groupId>
1963c0c3811SMatthias Sohn          <artifactId>maven-jxr-plugin</artifactId>
1973c0c3811SMatthias Sohn          <version>3.0.0</version>
1983c0c3811SMatthias Sohn        </plugin>
1993c0c3811SMatthias Sohn        <plugin>
2003c0c3811SMatthias Sohn          <groupId>org.apache.maven.plugins</groupId>
2013c0c3811SMatthias Sohn          <artifactId>maven-project-info-reports-plugin</artifactId>
202aabd3d5eSMarco Miller          <version>3.1.1</version>
2033c0c3811SMatthias Sohn        </plugin>
2049a638b08SMatthias Sohn      </plugins>
2059a638b08SMatthias Sohn    </pluginManagement>
2069a638b08SMatthias Sohn  </build>
207d36488adSMatthias Sohn  <distributionManagement>
208d36488adSMatthias Sohn    <repository>
209d36488adSMatthias Sohn      <id>repo.eclipse.org</id>
210d36488adSMatthias Sohn      <name>JGit Maven Repository - Releases</name>
211d36488adSMatthias Sohn      <url>https://repo.eclipse.org/content/repositories/jgit-releases/</url>
212d36488adSMatthias Sohn    </repository>
213d36488adSMatthias Sohn    <snapshotRepository>
214d36488adSMatthias Sohn      <id>repo.eclipse.org</id>
215d36488adSMatthias Sohn      <name>JGit Maven Repository - Snapshots</name>
216d36488adSMatthias Sohn      <url>https://repo.eclipse.org/content/repositories/jgit-snapshots/</url>
217d36488adSMatthias Sohn      <uniqueVersion>true</uniqueVersion>
218d36488adSMatthias Sohn    </snapshotRepository>
219d36488adSMatthias Sohn    <site>
220d36488adSMatthias Sohn      <id>jgit.website</id>
221d36488adSMatthias Sohn      <name>JGit Website</name>
222d36488adSMatthias Sohn      <url>${jgit.website.url}</url>
223d36488adSMatthias Sohn    </site>
224d36488adSMatthias Sohn  </distributionManagement>
2259a638b08SMatthias Sohn</project>
226