From 66b298b234225afafb4eb538071bb2bbd8309ee0 Mon Sep 17 00:00:00 2001 From: Evgeny Mandrikov Date: Mon, 10 Sep 2012 16:47:50 +0600 Subject: [PATCH] Reformat POMs according to Maven POM Convention --- sonar-application/pom.xml | 131 ++++++++++++++++++++------------------ sonar-channel/pom.xml | 66 ++++++++++--------- sonar-core/pom.xml | 36 ++++++----- sonar-markdown/pom.xml | 73 +++++++++++---------- sonar-plugin-api/pom.xml | 35 +++++----- 5 files changed, 181 insertions(+), 160 deletions(-) diff --git a/sonar-application/pom.xml b/sonar-application/pom.xml index 33bb7ab3843..b7b000e9e8e 100644 --- a/sonar-application/pom.xml +++ b/sonar-application/pom.xml @@ -1,78 +1,19 @@ 4.0.0 + org.codehaus.sonar sonar 3.3-SNAPSHOT + sonar-application jar + Sonar :: Application Package the standalone distribution - - - - maven-assembly-plugin - - - package - - single - - - false - sonar-${project.version} - - assembly.xml - - - - - - - maven-antrun-plugin - - - package - - - - - - - - run - - - - - - org.apache.maven.plugins - maven-enforcer-plugin - - - enforce-distribution-size - - enforce - - verify - - - - 54000000 - 52000000 - - ${project.build.directory}/sonar-${project.version}.zip - - - - - - - - - + org.codehaus.sonar @@ -227,6 +168,70 @@ + + + + maven-assembly-plugin + + + package + + single + + + false + sonar-${project.version} + + assembly.xml + + + + + + + maven-antrun-plugin + + + package + + + + + + + + run + + + + + + org.apache.maven.plugins + maven-enforcer-plugin + + + enforce-distribution-size + + enforce + + verify + + + + 54000000 + 52000000 + + ${project.build.directory}/sonar-${project.version}.zip + + + + + + + + + + release diff --git a/sonar-channel/pom.xml b/sonar-channel/pom.xml index 830a25af0c6..dc6859b63ed 100644 --- a/sonar-channel/pom.xml +++ b/sonar-channel/pom.xml @@ -1,34 +1,38 @@ - 4.0.0 - - org.codehaus.sonar - sonar - 3.3-SNAPSHOT - .. - - sonar-channel - Sonar :: Channel - Code Channel + 4.0.0 - - - commons-io - commons-io - - - org.slf4j - slf4j-api - - - junit - junit - test - - - org.hamcrest - hamcrest-all - test - - - \ No newline at end of file + + org.codehaus.sonar + sonar + 3.3-SNAPSHOT + .. + + + sonar-channel + + Sonar :: Channel + Code Channel + + + + commons-io + commons-io + + + org.slf4j + slf4j-api + + + junit + junit + test + + + org.hamcrest + hamcrest-all + test + + + + diff --git a/sonar-core/pom.xml b/sonar-core/pom.xml index f760fdaf6aa..e4521c2c53f 100644 --- a/sonar-core/pom.xml +++ b/sonar-core/pom.xml @@ -1,31 +1,18 @@ 4.0.0 + org.codehaus.sonar sonar 3.3-SNAPSHOT + sonar-core + Sonar :: Core Core components shared to batch and server - - - - org.apache.maven.plugins - maven-jar-plugin - - - - test-jar - - - - - - - ${project.groupId} @@ -155,6 +142,22 @@ + + + + org.apache.maven.plugins + maven-jar-plugin + + + + test-jar + + + + + + + @@ -184,4 +187,5 @@ + diff --git a/sonar-markdown/pom.xml b/sonar-markdown/pom.xml index e18ae194e62..c2c976db363 100644 --- a/sonar-markdown/pom.xml +++ b/sonar-markdown/pom.xml @@ -1,38 +1,41 @@ - 4.0.0 - - org.codehaus.sonar - sonar - 3.3-SNAPSHOT - .. - - sonar-markdown - Sonar :: Markdown + 4.0.0 - - - org.codehaus.sonar - sonar-channel - - - org.slf4j - slf4j-api - - - junit - junit - test - - - ch.qos.logback - logback-classic - test - - - org.hamcrest - hamcrest-all - test - - - \ No newline at end of file + + org.codehaus.sonar + sonar + 3.3-SNAPSHOT + .. + + + sonar-markdown + Sonar :: Markdown + + + + org.codehaus.sonar + sonar-channel + + + org.slf4j + slf4j-api + + + junit + junit + test + + + ch.qos.logback + logback-classic + test + + + org.hamcrest + hamcrest-all + test + + + + diff --git a/sonar-plugin-api/pom.xml b/sonar-plugin-api/pom.xml index 0743ee27526..4236d25f231 100644 --- a/sonar-plugin-api/pom.xml +++ b/sonar-plugin-api/pom.xml @@ -1,29 +1,17 @@ 4.0.0 + org.codehaus.sonar sonar 3.3-SNAPSHOT + sonar-plugin-api jar + Sonar :: Plugin API - - - - org.apache.maven.plugins - maven-jar-plugin - - - - test-jar - - - - - - org.codehaus.sonar @@ -180,4 +168,21 @@ test + + + + + org.apache.maven.plugins + maven-jar-plugin + + + + test-jar + + + + + + + -- 2.39.5