Skip to content

Commit

Permalink
Change default value of compile.version from 1.8 to 11 (#920)
Browse files Browse the repository at this point in the history
  • Loading branch information
tesshucom committed Mar 23, 2021
1 parent 1503bd0 commit e567465
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
- name: Create coverage
id: create-coverage
if: contains(matrix.os, 'ubuntu-latest')
run: mvn -Prelease11 -Punit-test -Psend-coverage -DfailIfNoTests=false clean test jacoco:report
run: mvn -Punit-test -Psend-coverage -DfailIfNoTests=false clean test jacoco:report
- name: Archive code coverage
if: "(steps.create-coverage.conclusion == 'success' && contains(matrix.os, 'ubuntu-latest')) && (github.ref == 'refs/heads/master' || contains(github.ref, 'snapshot'))"
uses: actions/upload-artifact@v2
Expand All @@ -70,7 +70,7 @@ jobs:
retention-days: 7
- name: Verify with Maven on Win
if: contains(matrix.os, 'windows-latest')
run: mvn clean verify -B -Prelease11 -Punit-test
run: mvn clean verify -B -Punit-test
##########################################################################
send-coverage:
name: Send coverage to Codacy
Expand Down
9 changes: 1 addition & 8 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<pmd.version>6.32.0</pmd.version>
<log4j.version>2.14.1</log4j.version>
<docker.container.repo>airsonic/airsonic</docker.container.repo>
<compile.version>1.8</compile.version>
<maven.compiler.release>11</maven.compiler.release>
</properties>

<repositories>
Expand Down Expand Up @@ -783,13 +783,6 @@
</plugins>
</reporting>
<profiles>
<profile>
<id>release11</id>
<properties>
<maven.compiler.release>11</maven.compiler.release>
<compile.version>11</compile.version>
</properties>
</profile>
<profile>
<id>release12</id>
<properties>
Expand Down

0 comments on commit e567465

Please sign in to comment.