Connect build to ge.spring.io.
Add annotation processors for compiler avoidance and disable build caching for tests. Closes #673
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -3,6 +3,7 @@
|
|||||||
.springBeans
|
.springBeans
|
||||||
.settings/
|
.settings/
|
||||||
target/
|
target/
|
||||||
|
.mvn/.gradle-enterprise
|
||||||
|
|
||||||
#IntelliJ Stuff
|
#IntelliJ Stuff
|
||||||
.idea
|
.idea
|
||||||
|
|||||||
13
.mvn/extensions.xml
Normal file
13
.mvn/extensions.xml
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<extensions>
|
||||||
|
<extension>
|
||||||
|
<groupId>com.gradle</groupId>
|
||||||
|
<artifactId>gradle-enterprise-maven-extension</artifactId>
|
||||||
|
<version>1.18.1</version>
|
||||||
|
</extension>
|
||||||
|
<extension>
|
||||||
|
<groupId>com.gradle</groupId>
|
||||||
|
<artifactId>common-custom-user-data-maven-extension</artifactId>
|
||||||
|
<version>1.12.3</version>
|
||||||
|
</extension>
|
||||||
|
</extensions>
|
||||||
31
.mvn/gradle-enterprise.xml
Normal file
31
.mvn/gradle-enterprise.xml
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
|
||||||
|
<gradleEnterprise
|
||||||
|
xmlns="https://www.gradle.com/gradle-enterprise-maven" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="https://www.gradle.com/gradle-enterprise-maven https://www.gradle.com/schema/gradle-enterprise-maven.xsd">
|
||||||
|
<server>
|
||||||
|
<url>https://ge.spring.io</url>
|
||||||
|
</server>
|
||||||
|
<buildScan>
|
||||||
|
<backgroundBuildScanUpload>#{isFalse(env['CI'])}</backgroundBuildScanUpload>
|
||||||
|
<captureGoalInputFiles>true</captureGoalInputFiles>
|
||||||
|
<publishIfAuthenticated>true</publishIfAuthenticated>
|
||||||
|
<obfuscation>
|
||||||
|
<ipAddresses>#{{'0.0.0.0'}}</ipAddresses>
|
||||||
|
</obfuscation>
|
||||||
|
</buildScan>
|
||||||
|
<buildCache>
|
||||||
|
<local>
|
||||||
|
<enabled>true</enabled>
|
||||||
|
</local>
|
||||||
|
<remote>
|
||||||
|
<server>
|
||||||
|
<credentials>
|
||||||
|
<username>${env.GRADLE_ENTERPRISE_CACHE_USERNAME}</username>
|
||||||
|
<password>${env.GRADLE_ENTERPRISE_CACHE_PASSWORD}</password>
|
||||||
|
</credentials>
|
||||||
|
</server>
|
||||||
|
<enabled>true</enabled>
|
||||||
|
<storeEnabled>#{env['GRADLE_ENTERPRISE_CACHE_USERNAME'] != null and env['GRADLE_ENTERPRISE_CACHE_PASSWORD'] != null}</storeEnabled>
|
||||||
|
</remote>
|
||||||
|
</buildCache>
|
||||||
|
</gradleEnterprise>
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
= Spring Data Examples
|
= Spring Data Examples image:https://img.shields.io/badge/Revved%20up%20by-Gradle%20Enterprise-06A0CE?logo=Gradle&labelColor=02303A["Revved up by Gradle Enterprise", link="https://ge.spring.io/scans?search.rootProjectNames=Spring Data - Examples"]
|
||||||
|
|
||||||
image:https://travis-ci.org/spring-projects/spring-data-examples.svg?branch=main[Build Status,link=https://travis-ci.org/spring-projects/spring-data-examples]
|
image:https://travis-ci.org/spring-projects/spring-data-examples.svg?branch=main[Build Status,link=https://travis-ci.org/spring-projects/spring-data-examples]
|
||||||
|
|
||||||
|
|||||||
23
bom/pom.xml
23
bom/pom.xml
@@ -50,4 +50,27 @@
|
|||||||
|
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
|
<build>
|
||||||
|
<pluginManagement>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>com.gradle</groupId>
|
||||||
|
<artifactId>gradle-enterprise-maven-extension</artifactId>
|
||||||
|
<configuration>
|
||||||
|
<gradleEnterprise>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<artifactId>maven-surefire-plugin</artifactId>
|
||||||
|
<outputs>
|
||||||
|
<notCacheableBecause>these tests showcase Spring Data features and should always rerun</notCacheableBecause>
|
||||||
|
</outputs>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</gradleEnterprise>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</pluginManagement>
|
||||||
|
</build>
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
|||||||
@@ -57,4 +57,27 @@
|
|||||||
|
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
|
<build>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-compiler-plugin</artifactId>
|
||||||
|
<configuration>
|
||||||
|
<annotationProcessorPaths>
|
||||||
|
<path>
|
||||||
|
<groupId>org.projectlombok</groupId>
|
||||||
|
<artifactId>lombok</artifactId>
|
||||||
|
<version>${lombok.version}</version>
|
||||||
|
</path>
|
||||||
|
<path>
|
||||||
|
<groupId>org.apache.logging.log4j</groupId>
|
||||||
|
<artifactId>log4j-core</artifactId>
|
||||||
|
<version>${log4j2.version}</version>
|
||||||
|
</path>
|
||||||
|
</annotationProcessorPaths>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
|||||||
@@ -15,14 +15,36 @@
|
|||||||
<name>Spring Data JDBC - Usage with Immutables</name>
|
<name>Spring Data JDBC - Usage with Immutables</name>
|
||||||
<description>Sample project demonstrating Spring Data JDBC features</description>
|
<description>Sample project demonstrating Spring Data JDBC features</description>
|
||||||
|
|
||||||
|
<properties>
|
||||||
|
<immutables.version>2.8.8</immutables.version>
|
||||||
|
</properties>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.immutables</groupId>
|
<groupId>org.immutables</groupId>
|
||||||
<artifactId>value</artifactId>
|
<artifactId>value</artifactId>
|
||||||
<version>2.8.8</version>
|
<version>${immutables.version}</version>
|
||||||
<scope>provided</scope>
|
<scope>provided</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
|
<build>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-compiler-plugin</artifactId>
|
||||||
|
<configuration>
|
||||||
|
<annotationProcessorPaths>
|
||||||
|
<path>
|
||||||
|
<groupId>org.immutables</groupId>
|
||||||
|
<artifactId>value</artifactId>
|
||||||
|
<version>${immutables.version}</version>
|
||||||
|
</path>
|
||||||
|
</annotationProcessorPaths>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
|||||||
38
pom.xml
38
pom.xml
@@ -186,4 +186,42 @@
|
|||||||
</pluginRepository>
|
</pluginRepository>
|
||||||
</pluginRepositories>
|
</pluginRepositories>
|
||||||
|
|
||||||
|
<build>
|
||||||
|
<pluginManagement>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>com.gradle</groupId>
|
||||||
|
<artifactId>gradle-enterprise-maven-extension</artifactId>
|
||||||
|
<configuration>
|
||||||
|
<gradleEnterprise>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<artifactId>maven-surefire-plugin</artifactId>
|
||||||
|
<outputs>
|
||||||
|
<notCacheableBecause>these tests showcase Spring Data features and should always rerun</notCacheableBecause>
|
||||||
|
</outputs>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</gradleEnterprise>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</pluginManagement>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-compiler-plugin</artifactId>
|
||||||
|
<configuration>
|
||||||
|
<annotationProcessorPaths>
|
||||||
|
<path>
|
||||||
|
<groupId>org.projectlombok</groupId>
|
||||||
|
<artifactId>lombok</artifactId>
|
||||||
|
<version>${lombok.version}</version>
|
||||||
|
</path>
|
||||||
|
</annotationProcessorPaths>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
|||||||
Reference in New Issue
Block a user