Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

Remove obsolete maven-enforcer ASM exclude #114

Merged
merged 2 commits into from
Nov 4, 2019

Conversation

darxriggs
Copy link
Contributor

It was originally introduced because the ASM jar files contain a module-info.class which is targeted to Java 9. When using JDK 8 for building the enforcer therefore complained.

The current parent pom uses the newer extra-enforcer-rules 1.2 which ignores the module-info.class in case a JDK < 9 is used.

For more details see

Don't overwrite phase, goals and excludes but just extend the excludes.

For more details see https://github.com/jenkinsci/plugin-pom/blob/plugin-3.50/pom.xml#L573-L590.

Note: This change is only performed to have an improved example for
potential future configurations. This configuration is currently not
required and will be removed with the next commit.
It was originally introduced because the ASM jar files contain a
module-info.class which is targeted to Java 9. When using JDK 8
for building the enforcer therefore complained.

The current parent pom uses the newer extra-enforcer-rules 1.2
which ignores the module-info.class in case a JDK < 9 is used.

For more details see
- mojohaus/extra-enforcer-rules#33
- mojohaus/extra-enforcer-rules#46
@centic9 centic9 merged commit fe77f3e into jenkinsci:master Nov 4, 2019
@darxriggs darxriggs deleted the maven-enforcer-config branch November 4, 2019 07:38
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