diff --git a/enforcer-api/pom.xml b/enforcer-api/pom.xml index 06b8cd90..e8709b04 100644 --- a/enforcer-api/pom.xml +++ b/enforcer-api/pom.xml @@ -97,15 +97,6 @@ - - org.apache.maven.plugins - maven-site-plugin - - - ${maven.version} - - - diff --git a/enforcer-api/src/custom-rule-sample/pom.xml b/enforcer-api/src/custom-rule-sample/pom.xml index 7ebd3a88..fb874781 100644 --- a/enforcer-api/src/custom-rule-sample/pom.xml +++ b/enforcer-api/src/custom-rule-sample/pom.xml @@ -33,8 +33,8 @@ ${project.version} - ${maven.version} - + ${mavenVersion} + 1.8 1.8 @@ -49,7 +49,7 @@ org.apache.maven maven-core - \${maven.version} + \${mavenVersion} provided diff --git a/enforcer-api/src/site/apt/writing-a-custom-rule.apt.vm b/enforcer-api/src/site/apt/writing-a-custom-rule.apt.vm index 416b5f42..c63d26ae 100644 --- a/enforcer-api/src/site/apt/writing-a-custom-rule.apt.vm +++ b/enforcer-api/src/site/apt/writing-a-custom-rule.apt.vm @@ -36,6 +36,8 @@ Writing a custom rule %{snippet|id=project-pom|file=enforcer-api/target/custom-rule-sample/pom.xml} + Target bytecode version of rule must be <<<1.8>>> or <<<11>>> - due to {{{https://issues.apache.org/jira/browse/MENFORCER-473}MENFORCER-473}}. + Note that the classloader is shared with the embedding <<>> (a regular {{{https://maven.apache.org/guides/mini/guide-maven-classloading.html#Plugin_Classloaders}plugin classloader}}) and therefore the artifacts <<>> are always loaded in the same version as the embedding <<>>. diff --git a/maven-enforcer-plugin/pom.xml b/maven-enforcer-plugin/pom.xml index 1025c90e..73b1372c 100644 --- a/maven-enforcer-plugin/pom.xml +++ b/maven-enforcer-plugin/pom.xml @@ -35,7 +35,7 @@ The Loving Iron Fist of Maven - ${maven.version} + ${mavenVersion} diff --git a/pom.xml b/pom.xml index 4a9174f8..f9d81fa4 100644 --- a/pom.xml +++ b/pom.xml @@ -77,7 +77,7 @@ - 3.2.5 + 3.2.5 enforcer-archives/enforcer-LATEST 8 4.11.0 @@ -111,19 +111,19 @@ org.apache.maven maven-artifact - ${maven.version} + ${mavenVersion} provided org.apache.maven maven-plugin-api - ${maven.version} + ${mavenVersion} provided org.apache.maven maven-core - ${maven.version} + ${mavenVersion} provided