Skip to content

Commit

Permalink
upgrade to java 21
Browse files Browse the repository at this point in the history
  • Loading branch information
mandawilson committed Jan 25, 2024
1 parent 556e9b9 commit dd3ebb1
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 9 deletions.
5 changes: 4 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ jobs:
- run:
name: update apt-get
command: sudo apt-get update --fix-missing
- run:
name: update java
command: echo $JAVA_HOME; java --version; which java; wget https://download.java.net/java/GA/jdk21.0.2/f2283984656d49d69e91c558476027ac/13/GPL/openjdk-21.0.2_linux-x64_bin.tar.gz; sudo tar -xvf openjdk-21.0.2_linux-x64_bin.tar.gz -C /usr/lib/jvm; ls -l /usr/lib/jvm; export JAVA_HOME=/usr/lib/jvm/jdk-21.0.2; echo $PATH; echo $JAVA_HOME; export PATH=/usr/lib/jvm/jdk-21.0.2/bin:$PATH; which java
- run:
name: Install setuptools in python 2
command: sudo apt-get -y install python-pip
Expand All @@ -37,7 +40,7 @@ jobs:
# Use mvn clean and package as the standard maven build phase
- run:
name: Build
command: mvn -B -DskipTests clean package
command: export JAVA_HOME=/usr/lib/jvm/jdk-21.0.2; echo $PATH; echo $JAVA_HOME; export PATH=/usr/lib/jvm/jdk-21.0.2/bin:$PATH; echo $JAVA_HOME; which java; mvn --version; mvn -B -DskipTests clean package
# Then run your tests!
- run:
name: Test
Expand Down
4 changes: 2 additions & 2 deletions gene/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@
<type>jar</type>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<groupId>com.mysql</groupId>
<artifactId>mysql-connector-j</artifactId>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
Expand Down
10 changes: 5 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,16 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.3.3.RELEASE</version>
<version>2.7.18</version>
</parent>

<properties>
<spring.version>5.2.6.RELEASE</spring.version>
<spring.version>5.3.31</spring.version>
<jackson.version>2.11.2</jackson.version>
<slf4j.version>1.7.30</slf4j.version>
<maven.compiler.version>3.11.0</maven.compiler.version>
<maven.compiler.java.source>11</maven.compiler.java.source>
<maven.compiler.java.target>11</maven.compiler.java.target>
<maven.compiler.java.source>21</maven.compiler.java.source>
<maven.compiler.java.target>21</maven.compiler.java.target>
</properties>

<dependencies>
Expand Down Expand Up @@ -67,7 +67,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13</version>
<version>4.13.2</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down
2 changes: 1 addition & 1 deletion redcap/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>2.3</version>
<version>3.5.1</version>
<executions>
<execution>
<id>redcap-pipeline-shade-jar</id>
Expand Down

0 comments on commit dd3ebb1

Please sign in to comment.