Skip to content

build: Remove the animal-sniffer, propagate java version to plugin-archetype#6950

Merged
jeremylong merged 1 commit intomainfrom
scratch/java-11-omissions
Sep 8, 2024
Merged

build: Remove the animal-sniffer, propagate java version to plugin-archetype#6950
jeremylong merged 1 commit intomainfrom
scratch/java-11-omissions

Conversation

@aikebah
Copy link
Copy Markdown
Collaborator

@aikebah aikebah commented Sep 7, 2024

Description of Change

As a result of a first PR that was using the Java 11 API I found out that the Java 11 migration PR had missed the removal of the no longer needed animal-sniffer plugin.

Now that we've upgraded to target Java 11 as the minimal baseline and use the javac --release option (triggered by the maven.compiler.release property) the compiler already takes care of ensuring compliance with the Java public API of the target version.

Also added population of the maven.compiler.release property to the pom that gets generated from the dependency-check-plugin archetype.

Have test cases been added to cover the new functionality?

N/A

@aikebah aikebah added this to the 11.0.0 milestone Sep 7, 2024
Copy link
Copy Markdown
Collaborator

@jeremylong jeremylong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jeremylong jeremylong merged commit ce32e94 into main Sep 8, 2024
@jeremylong jeremylong deleted the scratch/java-11-omissions branch September 8, 2024 11:26
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Dec 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants