| <?xml version="1.0" encoding="UTF-8"?> |
| |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| --> |
| |
| <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 https://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>org.apache.maven.extensions</groupId> |
| <artifactId>maven-extensions</artifactId> |
| <version>37</version> |
| <relativePath /> |
| </parent> |
| |
| <groupId>org.apache.maven.extensions</groupId> |
| <artifactId>maven-build-cache-extension</artifactId> |
| <version>1.0.0</version> |
| <packaging>jar</packaging> |
| |
| <name>Apache Maven Build Cache Extension</name> |
| <description>Maven Incremental Build and Cache (local and remote).</description> |
| <inceptionYear>2021</inceptionYear> |
| <url>https://maven.apache.org/extensions/maven-build-cache-extension/</url> |
| |
| <properties> |
| <javaVersion>8</javaVersion> |
| <minimalMavenBuildVersion>3.5.0</minimalMavenBuildVersion> |
| <minimalJavaBuildVersion>11</minimalJavaBuildVersion> |
| <classWorldsVersion>2.6.0</classWorldsVersion> |
| |
| <formatter-maven-plugin.version>2.20.0</formatter-maven-plugin.version> |
| <impsort-maven-plugin.version>1.7.0</impsort-maven-plugin.version> |
| |
| <commonsCliVersion>1.4</commonsCliVersion> |
| <commonsLangVersion>3.12.0</commonsLangVersion> |
| <junitVersion>5.8.1</junitVersion> |
| <mockitoVersion>3.2.0</mockitoVersion> |
| <plexusUtilsVersion>3.4.1</plexusUtilsVersion> |
| <wagonVersion>3.4.3</wagonVersion> |
| <securityDispatcherVersion>2.0</securityDispatcherVersion> |
| <cipherVersion>2.0</cipherVersion> |
| <modelloVersion>1.11</modelloVersion> |
| <jxpathVersion>1.3</jxpathVersion> |
| <resolverVersion>1.8.0</resolverVersion> |
| <slf4jVersion>1.7.32</slf4jVersion> |
| <xmlunitVersion>2.6.4</xmlunitVersion> |
| <maven.test.redirectTestOutputToFile>true</maven.test.redirectTestOutputToFile> |
| |
| <maven.site.path>extensions-archives/${project.artifactId}-LATEST</maven.site.path><!-- TODO remove when switching parent to maven-extensions:35 --> |
| <project.build.outputTimestamp>2022-10-27T09:44:44Z</project.build.outputTimestamp> |
| </properties> |
| |
| <scm> |
| <connection>scm:git:https://gitbox.apache.org/repos/asf/maven-build-cache-extension.git</connection> |
| <developerConnection>scm:git:https://gitbox.apache.org/repos/asf/maven-build-cache-extension.git</developerConnection> |
| <url>https://github.com/apache/maven-build-cache-extension/tree/${project.scm.tag}</url> |
| <tag>maven-build-cache-extension-1.0.0</tag> |
| </scm> |
| <issueManagement> |
| <system>jira</system> |
| <url>https://issues.apache.org/jira/browse/MBUILDCACHE</url> |
| </issueManagement> |
| <ciManagement> |
| <system>Jenkins</system> |
| <url>https://ci-maven.apache.org/job/Maven/job/maven-box/job/maven-build-cache-extension/</url> |
| </ciManagement> |
| <distributionManagement> |
| <site> |
| <id>apache.website</id> |
| <url>scm:svn:https://svn.apache.org/repos/asf/maven/website/components/${maven.site.path}</url> |
| </site> |
| </distributionManagement> |
| |
| <dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>org.testcontainers</groupId> |
| <artifactId>testcontainers-bom</artifactId> |
| <version>1.17.2</version> |
| <type>pom</type> |
| <scope>import</scope> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.maven</groupId> |
| <artifactId>maven-core</artifactId> |
| <version>${mavenVersion}</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven.resolver</groupId> |
| <artifactId>maven-resolver-transport-http</artifactId> |
| <version>${resolverVersion}</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>net.openhft</groupId> |
| <artifactId>zero-allocation-hashing</artifactId> |
| <version>0.9</version> |
| </dependency> |
| <dependency> |
| <groupId>com.github.albfernandez</groupId> |
| <artifactId>juniversalchardet</artifactId> |
| <version>2.4.0</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.commons</groupId> |
| <artifactId>commons-lang3</artifactId> |
| <version>${commonsLangVersion}</version> |
| </dependency> |
| <dependency> |
| <groupId>commons-io</groupId> |
| <artifactId>commons-io</artifactId> |
| <version>2.7</version> |
| </dependency> |
| <dependency> |
| <groupId>javax.annotation</groupId> |
| <artifactId>javax.annotation-api</artifactId> |
| <version>1.3.2</version> |
| </dependency> |
| <dependency> |
| <groupId>org.codehaus.plexus</groupId> |
| <artifactId>plexus-utils</artifactId> |
| <version>${plexusUtilsVersion}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.google.code.findbugs</groupId> |
| <artifactId>jsr305</artifactId> |
| <version>3.0.2</version> |
| <scope>compile</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven.wagon</groupId> |
| <artifactId>wagon-webdav-jackrabbit</artifactId> |
| <version>3.5.1</version> |
| </dependency> |
| <dependency> |
| <groupId>org.junit.jupiter</groupId> |
| <artifactId>junit-jupiter-engine</artifactId> |
| <version>5.8.1</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven.shared</groupId> |
| <artifactId>maven-verifier</artifactId> |
| <version>1.7.2</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven</groupId> |
| <artifactId>maven-embedder</artifactId> |
| <version>${mavenVersion}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.testcontainers</groupId> |
| <artifactId>testcontainers</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.testcontainers</groupId> |
| <artifactId>junit-jupiter</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>ch.qos.logback</groupId> |
| <artifactId>logback-classic</artifactId> |
| <version>1.2.10</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>log4j-over-slf4j</artifactId> |
| <version>1.7.35</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>jcl-over-slf4j</artifactId> |
| <version>1.7.35 </version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>jul-to-slf4j</artifactId> |
| <version>1.7.35</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.assertj</groupId> |
| <artifactId>assertj-core</artifactId> |
| <version>3.22.0</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.mockito</groupId> |
| <artifactId>mockito-core</artifactId> |
| <version>${mockitoVersion}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.junit.jupiter</groupId> |
| <artifactId>junit-jupiter-params</artifactId> |
| <version>${junitVersion}</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.rat</groupId> |
| <artifactId>apache-rat-plugin</artifactId> |
| <configuration> |
| <excludes> |
| <exclude>.mvn/maven.config</exclude> |
| <exclude>.asf.yaml</exclude> |
| <exclude>src/test/resources*/**</exclude> |
| <exclude>src/test/projects/**</exclude> |
| <exclude>src/test/remote-repo/**</exclude> |
| <exclude>src/build/maven-header.txt</exclude> |
| <exclude>.gitmodules</exclude> |
| <exclude>.gitattributes</exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>net.revelc.code.formatter</groupId> |
| <artifactId>formatter-maven-plugin</artifactId> |
| <version>${formatter-maven-plugin.version}</version> |
| <configuration> |
| <configFile>${maven.multiModuleProjectDirectory}/src/build/eclipse-formatter-config.xml</configFile> |
| <skip>${format.skip}</skip> |
| <lineEnding>KEEP</lineEnding> |
| <cachedir>${project.build.directory}/cache</cachedir> |
| </configuration> |
| <executions> |
| <execution> |
| <id>format</id> |
| <goals> |
| <goal>format</goal> |
| </goals> |
| <phase>process-sources</phase> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>net.revelc.code</groupId> |
| <artifactId>impsort-maven-plugin</artifactId> |
| <version>${impsort-maven-plugin.version}</version> |
| <configuration> |
| <removeUnused>true</removeUnused> |
| <staticAfter>true</staticAfter> |
| <lineEnding>KEEP</lineEnding> |
| <skip>${format.skip}</skip> |
| <cachedir>${project.build.directory}/cache</cachedir> |
| </configuration> |
| <dependencies> |
| <dependency> |
| <groupId>org.codehaus.plexus</groupId> |
| <artifactId>plexus-utils</artifactId> |
| <version>3.4.1</version> |
| </dependency> |
| </dependencies> |
| <executions> |
| <execution> |
| <id>sort-imports</id> |
| <goals> |
| <goal>sort</goal> |
| </goals> |
| <phase>process-sources</phase> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| <version>3.1.2</version> |
| <configuration> |
| <violationSeverity>info</violationSeverity> |
| <suppressionsLocation>${maven.multiModuleProjectDirectory}/src/build/checkstyle-suppressions.xml</suppressionsLocation> |
| <headerLocation>${maven.multiModuleProjectDirectory}/src/build/maven-header.txt</headerLocation> |
| </configuration> |
| <dependencies> |
| <dependency> |
| <groupId>com.puppycrawl.tools</groupId> |
| <artifactId>checkstyle</artifactId> |
| <version>8.41.1</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven.shared</groupId> |
| <artifactId>maven-shared-resources</artifactId> |
| <version>3</version> |
| </dependency> |
| </dependencies> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.modello</groupId> |
| <artifactId>modello-maven-plugin</artifactId> |
| <configuration> |
| <models> |
| <model>src/main/mdo/build-cache-config.mdo</model> |
| <model>src/main/mdo/build-cache-build.mdo</model> |
| <model>src/main/mdo/build-cache-diff.mdo</model> |
| <model>src/main/mdo/build-cache-report.mdo</model> |
| </models> |
| <version>1.0.0</version> |
| </configuration> |
| <executions> |
| <execution> |
| <id>modello-cache</id> |
| <phase>generate-sources</phase> |
| <goals> |
| <goal>java</goal> |
| <goal>xpp3-reader</goal> |
| <goal>xpp3-writer</goal> |
| </goals> |
| </execution> |
| <execution> |
| <id>modello-cache-xsd</id> |
| <phase>generate-resources</phase> |
| <goals> |
| <goal>xsd</goal> |
| </goals> |
| <configuration> |
| <outputDirectory>${basedir}/target/generated-resources/modello</outputDirectory> |
| </configuration> |
| </execution> |
| <execution> |
| <id>modello-site-docs</id> |
| <phase>pre-site</phase> |
| <goals> |
| <goal>xdoc</goal> |
| <goal>xsd</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>build-helper-maven-plugin</artifactId> |
| <version>3.3.0</version> |
| <executions> |
| <execution> |
| <id>add-resources</id> |
| <phase>generate-resources</phase> |
| <goals> |
| <goal>add-resource</goal> |
| </goals> |
| <configuration> |
| <resources> |
| <resource> |
| <directory>${basedir}/target/generated-resources/modello</directory> |
| </resource> |
| </resources> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>3.10.1</version> |
| <configuration> |
| <release>${javaVersion}</release> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-dependency-plugin</artifactId> |
| <version>3.3.0</version> |
| <executions> |
| <execution> |
| <id>copy-maven-distribution</id> |
| <phase>pre-integration-test</phase> |
| <goals> |
| <goal>unpack</goal> |
| </goals> |
| <configuration> |
| <artifactItems> |
| <artifactItem> |
| <groupId>org.apache.maven</groupId> |
| <artifactId>apache-maven</artifactId> |
| <version>${mavenVersion}</version> |
| <classifier>bin</classifier> |
| <type>tar.gz</type> |
| <overWrite>false</overWrite> |
| <outputDirectory>${maven.basedir}</outputDirectory> |
| </artifactItem> |
| </artifactItems> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <version>3.0.0-M7</version> |
| <configuration> |
| <argLine>-Xmx256m --add-exports java.base/sun.nio.ch=ALL-UNNAMED</argLine> |
| <environmentVariables> |
| <JENKINS_MAVEN_AGENT_DISABLED>true</JENKINS_MAVEN_AGENT_DISABLED> |
| <TESTCONTAINERS_RYUK_DISABLED>true</TESTCONTAINERS_RYUK_DISABLED> |
| </environmentVariables> |
| </configuration> |
| <executions> |
| <execution> |
| <id>default-test</id> |
| <phase>test</phase> |
| <goals> |
| <goal>test</goal> |
| </goals> |
| <configuration> |
| <excludes>**/its/**</excludes> |
| </configuration> |
| </execution> |
| <execution> |
| <id>integration-test</id> |
| <phase>integration-test</phase> |
| <goals> |
| <goal>test</goal> |
| </goals> |
| <configuration> |
| <includes>**/its/**</includes> |
| <systemPropertyVariables> |
| <project.version>${project.version}</project.version> |
| <maven.multiModuleProjectDirectory>${maven.multiModuleProjectDirectory}</maven.multiModuleProjectDirectory> |
| <maven.basedir>${maven.basedir}</maven.basedir> |
| </systemPropertyVariables> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-install-plugin</artifactId> |
| <version>3.0.1</version> |
| <executions> |
| <execution> |
| <id>default-install</id> |
| <phase>pre-integration-test</phase> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <version>3.4.0</version> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <profiles> |
| <profile> |
| <id>maven3</id> |
| <properties> |
| <mavenVersion>3.9.0-SNAPSHOT</mavenVersion> |
| <maven.dir>maven3</maven.dir> |
| <maven.basedir>${project.build.directory}/${maven.dir}</maven.basedir> |
| </properties> |
| </profile> |
| <profile> |
| <id>maven4</id> |
| <activation> |
| <activeByDefault>true</activeByDefault> |
| </activation> |
| <properties> |
| <mavenVersion>4.0.0-alpha-2</mavenVersion> |
| <maven.dir>maven4</maven.dir> |
| <maven.basedir>${project.build.directory}/${maven.dir}</maven.basedir> |
| </properties> |
| </profile> |
| </profiles> |
| |
| </project> |