From cf577db736a166ebcd5d41c653ebd123dceef4a9 Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Thu, 11 Aug 2022 16:17:34 -0500 Subject: [PATCH] Move bytebuddy into a profile. Spring doesn't support the byte buddy version needed by tests. Move bytebuddy into a special profile. This byte buddy version is required for testing to avoid flaws or bugs in the byte buddy version. --- .github/workflows/build.yml | 2 +- pom.xml | 32 ++++++++++++++++++-------------- 2 files changed, 19 insertions(+), 15 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d35d3f8..acf7ecc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,7 +21,7 @@ jobs: java-version: 11 - name: "Maven Test" - run: mvn clean test jacoco:report coveralls:report -DdryRun=true + run: mvn clean test jacoco:report coveralls:report -DdryRun=true -Pbuddy - name: "Send to Coveralls (build java-${{ github.run_number }})" uses: MikeEdgar/github-action@raw_coverage_file diff --git a/pom.xml b/pom.xml index e1b11b5..00e8667 100644 --- a/pom.xml +++ b/pom.xml @@ -41,6 +41,24 @@ jar + + buddy + + + net.bytebuddy + byte-buddy + 1.12.13 + test + + + + net.bytebuddy + byte-buddy-agent + 1.12.13 + test + + + @@ -151,20 +169,6 @@ test - - net.bytebuddy - byte-buddy - 1.12.13 - test - - - - net.bytebuddy - byte-buddy-agent - 1.12.13 - test - - com.infradna.tool bridge-method-annotation