Skip to content

Commit

Permalink
Add normalizations and inputs to best utilize Maven build cache
Browse files Browse the repository at this point in the history
  • Loading branch information
clayburn committed Jan 24, 2024
1 parent 3135427 commit aa0ffad
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 0 deletions.
15 changes: 15 additions & 0 deletions java/maven/module-info-compiler-maven-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,21 @@
<artifactId>maven-invoker-plugin</artifactId>
<version>3.1.0</version>
</plugin>
<plugin>
<groupId>com.gradle</groupId>
<artifactId>gradle-enterprise-maven-extension</artifactId>
<configuration>
<gradleEnterprise>
<normalization>
<runtimeClassPath>
<ignoredFiles>
<ignoredFile>arrow-git.properties</ignoredFile>
</ignoredFiles>
</runtimeClassPath>
</normalization>
</gradleEnterprise>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
Expand Down
32 changes: 32 additions & 0 deletions java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -605,6 +605,38 @@
<artifactId>maven-site-plugin</artifactId>
<version>3.7.1</version>
</plugin>
<plugin>
<groupId>com.gradle</groupId>
<artifactId>gradle-enterprise-maven-extension</artifactId>
<configuration>
<gradleEnterprise>
<normalization>
<runtimeClassPath>
<ignoredFiles>
<ignoredFile>arrow-git.properties</ignoredFile>
<ignoredFile>properties/flight.properties</ignoredFile>
</ignoredFiles>
</runtimeClassPath>
</normalization>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<inputs>
<fileSets>
<fileSet>
<name>testingData</name>
<paths>
<path>${arrow.test.dataRoot}</path>
</paths>
</fileSet>
</fileSets>
</inputs>
</plugin>
</plugins>
</gradleEnterprise>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
Expand Down

0 comments on commit aa0ffad

Please sign in to comment.