-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#36 ✨ enable Maven Build Cache testing and add instructions to replic…
…ate; self PR feedback
- Loading branch information
1 parent
643d370
commit 3a945bc
Showing
5 changed files
with
157 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<extensions> | ||
<extension> | ||
<groupId>org.apache.maven.extensions</groupId> | ||
<artifactId>maven-build-cache-extension</artifactId> | ||
<version>1.0.1</version> | ||
</extension> | ||
</extensions> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
<cache xmlns="http://maven.apache.org/BUILD-CACHE-CONFIG/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/BUILD-CACHE-CONFIG/1.0.0 https://maven.apache.org/xsd/build-cache-config-1.0.0.xsd"> | ||
<configuration> | ||
<enabled>true</enabled> | ||
<hashAlgorithm>SHA-256</hashAlgorithm> | ||
<validateXml>true</validateXml> | ||
<remote enabled="false"> | ||
</remote> | ||
<attachedOutputs> | ||
<dirNames> | ||
<dirName>../dist</dirName> | ||
</dirNames> | ||
</attachedOutputs> | ||
<local> | ||
<maxBuildsCached>3</maxBuildsCached> | ||
</local> | ||
<projectVersioning adjustMetaInf="true"/> | ||
</configuration> | ||
<input> | ||
<global> | ||
<glob> | ||
{*.java,*.xml,*.proto,*.properties,*.py,*.txt,*.toml,.env*,*.feature} | ||
</glob> | ||
<includes> | ||
<include>src/</include> | ||
<include>pom.xml</include> | ||
<include>pyproject.toml</include> | ||
</includes> | ||
<excludes> | ||
<exclude>poetry.lock</exclude> | ||
</excludes> | ||
</global> | ||
</input> | ||
<executionControl> | ||
<runAlways> | ||
<plugins> | ||
<plugin artifactId="maven-failsafe-plugin"/> | ||
</plugins> | ||
<executions> | ||
<execution artifactId="maven-deploy-plugin"> | ||
<execIds> | ||
<execId>my-execution-id</execId> | ||
</execIds> | ||
</execution> | ||
</executions> | ||
<goalsLists> | ||
<goalsList artifactId="maven-install-plugin"> | ||
<goals> | ||
<goal>install</goal> | ||
</goals> | ||
</goalsList> | ||
<goalsList artifactId="maven-deploy-plugin"> | ||
<goals> | ||
<goal>deploy</goal> | ||
</goals> | ||
</goalsList> | ||
</goalsLists> | ||
</runAlways> | ||
<reconcile logAllProperties="true"> | ||
<plugins> | ||
<plugin artifactId="maven-compiler-plugin" goal="compile"> | ||
<reconciles> | ||
<reconcile propertyName="source"/> | ||
<reconcile propertyName="target"/> | ||
<reconcile propertyName="debug"/> | ||
<reconcile propertyName="debuglevel"/> | ||
</reconciles> | ||
<!-- whitelist of logged properties --> | ||
<logs> | ||
<log propertyName="includes"/> | ||
<log propertyName="excludes"/> | ||
<log propertyName="argLine"/> | ||
</logs> | ||
</plugin> | ||
<plugin artifactId="maven-enforcer-plugin" goal="enforce"> | ||
<reconciles> | ||
<reconcile propertyName="skip" skipValue="true"/> | ||
</reconciles> | ||
</plugin> | ||
</plugins> | ||
</reconcile> | ||
</executionControl> | ||
</cache> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters