diff --git a/ecocode-rules-specifications/pom.xml b/ecocode-rules-specifications/pom.xml index 81977d3d7..9d896478d 100644 --- a/ecocode-rules-specifications/pom.xml +++ b/ecocode-rules-specifications/pom.xml @@ -14,57 +14,19 @@ Repository that contains the specifications of every static-analysis rules available in ecoCode plugins. https://github.com/green-code-initiative/ecoCode/tree/main/ecocode-rules-specifications - - - org.sonarsource.sonarqube - sonar-plugin-api - provided - - - org.sonarsource.analyzer-commons - sonar-analyzer-commons - - - - org.junit.jupiter - junit-jupiter - test - - - - org.assertj - assertj-core - test - - - - - org.jacoco - jacoco-maven-plugin - - - prepare-agent - - prepare-agent - - - - report - - report - - - - - - org.asciidoctor asciidoctor-maven-plugin @@ -78,12 +40,13 @@ ${project.basedir}/src/main/rules - ${project.build.directory}/rules + ${project.build.directory}/rules-html coderay style true + true false true @@ -95,65 +58,33 @@ - - - org.apache.maven.plugins - maven-antrun-plugin - 3.1.0 + com.github.johnpoth + jshell-maven-plugin + 1.4 - process-resources + prepare-rules-resources + generate-resources run - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + - - com.google.re2j diff --git a/pom.xml b/pom.xml index f30d9ec81..1beefaee1 100644 --- a/pom.xml +++ b/pom.xml @@ -9,8 +9,8 @@ ecoCode Sonar Plugins Project Provides rules to reduce the environmental footprint of your programs - 2023 https://github.com/green-code-initiative/ecocode + 2023 green-code-initiative https://github.com/green-code-initiative @@ -99,6 +99,8 @@ 11 ${java.version} ${java.version} + + ${java.version} UTF-8 ${encoding} @@ -218,6 +220,14 @@ shade + + + + + ${project.version} + + + commons-*:* @@ -245,6 +255,12 @@ META-INF/** + + io.ecocode:ecocode-rules-specifications:* + + META-INF/** + +