From cec144ea0befb405c83450dfb69e3c4df6d71668 Mon Sep 17 00:00:00 2001 From: Eric Haag Date: Fri, 15 Sep 2023 14:45:45 -0500 Subject: [PATCH] Connect build to ge.spring.io. Add annotation processors for compiler avoidance and disable build caching for tests. Closes #673 --- .gitignore | 1 + .mvn/extensions.xml | 13 +++++++++++++ .mvn/gradle-enterprise.xml | 31 +++++++++++++++++++++++++++++++ README.adoc | 2 +- bom/pom.xml | 23 +++++++++++++++++++++++ elasticsearch/pom.xml | 23 +++++++++++++++++++++++ jdbc/immutables/pom.xml | 24 +++++++++++++++++++++++- pom.xml | 38 ++++++++++++++++++++++++++++++++++++++ 8 files changed, 153 insertions(+), 2 deletions(-) create mode 100644 .mvn/extensions.xml create mode 100644 .mvn/gradle-enterprise.xml diff --git a/.gitignore b/.gitignore index fd227024..673f29c8 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,7 @@ .springBeans .settings/ target/ +.mvn/.gradle-enterprise #IntelliJ Stuff .idea diff --git a/.mvn/extensions.xml b/.mvn/extensions.xml new file mode 100644 index 00000000..2c7828bd --- /dev/null +++ b/.mvn/extensions.xml @@ -0,0 +1,13 @@ + + + + com.gradle + gradle-enterprise-maven-extension + 1.18.1 + + + com.gradle + common-custom-user-data-maven-extension + 1.12.3 + + diff --git a/.mvn/gradle-enterprise.xml b/.mvn/gradle-enterprise.xml new file mode 100644 index 00000000..bbe439e1 --- /dev/null +++ b/.mvn/gradle-enterprise.xml @@ -0,0 +1,31 @@ + + + + https://ge.spring.io + + + #{isFalse(env['CI'])} + true + true + + #{{'0.0.0.0'}} + + + + + true + + + + + ${env.GRADLE_ENTERPRISE_CACHE_USERNAME} + ${env.GRADLE_ENTERPRISE_CACHE_PASSWORD} + + + true + #{env['GRADLE_ENTERPRISE_CACHE_USERNAME'] != null and env['GRADLE_ENTERPRISE_CACHE_PASSWORD'] != null} + + + diff --git a/README.adoc b/README.adoc index 9ce0564f..1538137f 100644 --- a/README.adoc +++ b/README.adoc @@ -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] diff --git a/bom/pom.xml b/bom/pom.xml index 73e301f9..df1dd127 100644 --- a/bom/pom.xml +++ b/bom/pom.xml @@ -50,4 +50,27 @@ + + + + + com.gradle + gradle-enterprise-maven-extension + + + + + maven-surefire-plugin + + these tests showcase Spring Data features and should always rerun + + + + + + + + + + diff --git a/elasticsearch/pom.xml b/elasticsearch/pom.xml index 4de2433e..bc4fd91c 100644 --- a/elasticsearch/pom.xml +++ b/elasticsearch/pom.xml @@ -57,4 +57,27 @@ + + + + org.apache.maven.plugins + maven-compiler-plugin + + + + org.projectlombok + lombok + ${lombok.version} + + + org.apache.logging.log4j + log4j-core + ${log4j2.version} + + + + + + + diff --git a/jdbc/immutables/pom.xml b/jdbc/immutables/pom.xml index 8527b31d..8d8b0029 100644 --- a/jdbc/immutables/pom.xml +++ b/jdbc/immutables/pom.xml @@ -15,14 +15,36 @@ Spring Data JDBC - Usage with Immutables Sample project demonstrating Spring Data JDBC features + + 2.8.8 + + org.immutables value - 2.8.8 + ${immutables.version} provided + + + + org.apache.maven.plugins + maven-compiler-plugin + + + + org.immutables + value + ${immutables.version} + + + + + + + diff --git a/pom.xml b/pom.xml index 25657cb9..eb0b0fab 100644 --- a/pom.xml +++ b/pom.xml @@ -186,4 +186,42 @@ + + + + + com.gradle + gradle-enterprise-maven-extension + + + + + maven-surefire-plugin + + these tests showcase Spring Data features and should always rerun + + + + + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + + + + org.projectlombok + lombok + ${lombok.version} + + + + + + +