Skip to content

Commit

Permalink
Require Java 11+ instead of Java 17+
Browse files Browse the repository at this point in the history
  • Loading branch information
mlocati committed Dec 1, 2023
1 parent a5900a8 commit eab357e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .classpath
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<attribute name="optional" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-17">
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-11">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ jobs:
name: Checkout
uses: actions/checkout@v3
-
name: Set up JDK 17
name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '17'
java-version: '11'
distribution: temurin
cache: maven
-
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ In order to solve this problem, you can use the [`concrete-cif.jar` app](https:/

## Using `concrete-cif.jar`

1. Install Java (at least version 17). If you don't know how to do that, take a look at [Eclipse Temurin](https://adoptium.net/))
1. Install Java (at least version 11). If you don't know how to do that, take a look at [Eclipse Temurin](https://adoptium.net/))
2. [Download](https://github.com/concretecms/concrete-cif/releases/latest/download/concrete-cif.jar) the latest version
3. Call concrete-cif.jar by passing it the files (or the directories) you want to check.
For example:
Expand All @@ -24,7 +24,7 @@ In order to solve this problem, you can use the [`concrete-cif.jar` app](https:/

## Compiling `concrete-cif.jar`

1. You need a Java JDK (at least 17) - see for example [Eclipse Temurin](https://adoptium.net/)
1. You need a Java JDK (at least 11) - see for example [Eclipse Temurin](https://adoptium.net/)
2. You need [Apache Maven](https://maven.apache.org/)
3. You need to download Xerces locally by using the `bin/install-xerces-m2.sh` script (on Windows: `bin\install-xerces-m2.bat` or `bin\install-xerces-m2.ps1`)
4. Run `mvn verify`
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
<url>https://github.com/concretecms/concrete-cif</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
</properties>
<dependencyManagement>
<dependencies>
Expand Down

0 comments on commit eab357e

Please sign in to comment.