diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7cccd8d0..920dbcd0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,7 +20,7 @@ jobs: fail-fast: false matrix: os-name: [ubuntu-latest, macos-latest, windows-latest] - java-version: [11, 22] + java-version: [11, 23] steps: - name: Checkout code @@ -70,7 +70,7 @@ jobs: strategy: fail-fast: false matrix: - java-version: [11, 22] + java-version: [11, 23] steps: - name: Checkout code @@ -129,10 +129,10 @@ jobs: - name: Checkout code uses: actions/checkout@v4 - - name: Set up JDK 11 + - name: Set up JDK 23 uses: actions/setup-java@v4 with: - java-version: 11 + java-version: 23 distribution: 'temurin' cache: maven diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 8c5b49e4..e6d3a331 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -49,7 +49,7 @@ jobs: - name: Set up JDK uses: actions/setup-java@v4 with: - java-version: 22 + java-version: 23 distribution: 'temurin' server-id: ossrh server-username: OSSRH_USERNAME diff --git a/.github/workflows/security.yml b/.github/workflows/security.yml index c9c75fe6..1d5abbdb 100644 --- a/.github/workflows/security.yml +++ b/.github/workflows/security.yml @@ -20,8 +20,8 @@ jobs: - name: Initialize Java environment uses: actions/setup-java@v4 with: - distribution: zulu - java-version: 22 + distribution: temurin + java-version: 23 - name: Submit Dependency Snapshot uses: advanced-security/maven-dependency-submission-action@v4 diff --git a/pom.xml b/pom.xml index daf674b9..1ca99acf 100644 --- a/pom.xml +++ b/pom.xml @@ -361,6 +361,7 @@ -Xlint:all,-classfile,-processing,-requires-automatic,-serial true + full true 11 diff --git a/protobuf-maven-plugin/src/main/java/io/github/ascopes/protobufmavenplugin/mojo/AbstractGenerateMojo.java b/protobuf-maven-plugin/src/main/java/io/github/ascopes/protobufmavenplugin/mojo/AbstractGenerateMojo.java index 3b0f1a36..32da690e 100644 --- a/protobuf-maven-plugin/src/main/java/io/github/ascopes/protobufmavenplugin/mojo/AbstractGenerateMojo.java +++ b/protobuf-maven-plugin/src/main/java/io/github/ascopes/protobufmavenplugin/mojo/AbstractGenerateMojo.java @@ -72,10 +72,6 @@ public AbstractGenerateMojo() { log = LoggerFactory.getLogger(getClass()); } - /// - /// MOJO dependencies. - /// - /** * The source code generator. */ @@ -88,10 +84,6 @@ public AbstractGenerateMojo() { @Inject MavenProject mavenProject; - /// - /// MOJO parameters. - /// - /** * Binary plugins to use with the protobuf compiler, sourced from a Maven repository. * @@ -624,10 +616,6 @@ public AbstractGenerateMojo() { @Parameter @Nullable List sourceDirectories; - /// - /// Language enabling flags - /// - /** * Enable generating C++ sources from the protobuf sources. * @@ -721,10 +709,6 @@ public AbstractGenerateMojo() { @Parameter(defaultValue = DEFAULT_FALSE) boolean rustEnabled; - /// - /// Internal functionality - /// - /** * Provides the source root registrar for this Mojo. *