diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 736ca4e..2dee3f1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -28,7 +28,7 @@ jobs: strategy: matrix: - java-version: [ 11 ] + java-version: [ 17 ] steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/test-instalation.yml b/.github/workflows/test-instalation.yml index 161bf9a..d0e7dd2 100644 --- a/.github/workflows/test-instalation.yml +++ b/.github/workflows/test-instalation.yml @@ -41,7 +41,7 @@ jobs: uses: actions/checkout@v4 - uses: actions/setup-java@v4 with: - java-version: 11 + java-version: 17 distribution: 'adopt' cache: maven - run: mvn clean package diff --git a/pom.xml b/pom.xml index d259f9c..6689607 100644 --- a/pom.xml +++ b/pom.xml @@ -104,14 +104,14 @@ 1.1.2-1.4.0 - 3.15.0.5107 - 7.30.1.34514 + 3.16.0.5274 + 8.5.0.37199 UTF-8 10.11.0.2468 - 10.3.0.82913 + 10.7.0.96327 10.7.0.96327 - 7.30.1.34514 - 11 + 8.5.0.37199 + 17 src/main/java 4rVf3NGV0jyQ3EGrc8L86oEDoHWm6MgDD v${project.version} @@ -341,7 +341,7 @@ maven-compiler-plugin 3.13.0 - 11 + 17 diff --git a/src/test/java/com/vml/aemrules/matcher/MethodMatcherTest.java b/src/test/java/com/vml/aemrules/matcher/MethodMatcherTest.java index e625007..2f0c105 100644 --- a/src/test/java/com/vml/aemrules/matcher/MethodMatcherTest.java +++ b/src/test/java/com/vml/aemrules/matcher/MethodMatcherTest.java @@ -154,7 +154,7 @@ private void givenMethodInvocationTree(String codeToParse) { private CompilationUnitTree parse(String source) { List classpath = Arrays.asList(new File(TEST_CLASSES_FILEPATH), new File(CLASSES_FILEPATH)); - return JParser.parse(JParserConfig.Mode.FILE_BY_FILE.create(new JavaVersionImpl(11), classpath).astParser(), JAVA_VERSION, UNIT_NAME, source); + return JParser.parse(JParserConfig.Mode.FILE_BY_FILE.create(new JavaVersionImpl(17), classpath).astParser(), JAVA_VERSION, UNIT_NAME, source); } }