Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TASK-5475 - The version of Java (11.0.21) used to run our analysis is deprecated, and SonarCloud no longer supports it. #2384

Merged
merged 5 commits into from
Jan 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions .github/workflows/scripts/get_same_branch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@ if [[ -z $BRANCH_NAME ]]; then
exit 1
fi

if [[ $BRANCH_NAME != "TASK-"* ]]; then
echo "No need to check dependencies."
exit 0
fi

function install(){
local REPO=$1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '11'
java-version: '17'
cache: 'maven'
- name: Install dependencies branches
run: |
Expand Down
1 change: 0 additions & 1 deletion opencga-server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,6 @@
<plugins>
<plugin>
<artifactId>maven-war-plugin</artifactId>
<version>2.6</version>
<configuration>
<warName>${opencga.war.name}</warName>
<!--
Expand Down
14 changes: 14 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,8 @@
-->
<sonar.scanner.force-deprecated-java-version>true</sonar.scanner.force-deprecated-java-version>
<kryo.version>2.23.0</kryo.version>
<lombok.version>1.18.30</lombok.version>
<maven-war-plugin.version>3.4.0</maven-war-plugin.version>
</properties>

<scm>
Expand Down Expand Up @@ -971,6 +973,12 @@
<artifactId>grep4j</artifactId>
<version>${grep4j.version}</version>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>${lombok.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.redisson</groupId>
<artifactId>redisson</artifactId>
Expand Down Expand Up @@ -1059,6 +1067,7 @@
<artifactId>kryo</artifactId>
<version>${kryo.version}</version>
</dependency>

</dependencies>
</dependencyManagement>

Expand All @@ -1083,6 +1092,11 @@
<artifactId>maven-surefire-report-plugin</artifactId>
<version>${maven-surefire-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>${maven-war-plugin.version}</version>
</plugin>
</plugins>
</pluginManagement>

Expand Down
Loading