From: Julien HENRY Date: Mon, 12 Nov 2012 16:12:47 +0000 (+0100) Subject: SONAR-3950 Make pom.xml of ws-client more maintainable X-Git-Tag: 3.4~333 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=66beca8acfc87f94d343765d630a7cee986a04a4;p=sonarqube.git SONAR-3950 Make pom.xml of ws-client more maintainable - Fix indent - Use property to enforce same version of Maven deps and OSGI Resuire-Bundle - remove scope=provided as optional=true is enough --- diff --git a/sonar-ws-client/pom.xml b/sonar-ws-client/pom.xml index 435db7abccf..0ff26169da5 100644 --- a/sonar-ws-client/pom.xml +++ b/sonar-ws-client/pom.xml @@ -1,5 +1,6 @@ - + 4.0.0 org.codehaus.sonar @@ -11,7 +12,13 @@ Sonar :: Web Service Client Java library to request Sonar web services + + 4.2.2 + + + com.googlecode.json-simple json-simple @@ -20,14 +27,12 @@ commons-httpclient commons-httpclient 3.1 - provided true org.apache.httpcomponents httpclient - 4.2.1 - provided + ${httpclient4.version} true @@ -82,41 +87,41 @@ - - org.apache.felix - maven-bundle-plugin - 2.3.7 - true - - - !* - org.apache.httpcomponents.httpclient;bundle-version="4.2.2";optional="true", - org.apache.httpcomponents.httpcore;bundle-version="4.2.2";optional="true", - com.googlecode.json-simple - - !.,org.sonar.wsclient, - org.sonar.wsclient.connectors, - org.sonar.wsclient.services - - - - - bundle-manifest - process-classes - - manifest - - - - - - maven-jar-plugin - - - ${project.build.outputDirectory}/META-INF/MANIFEST.MF - - - + + org.apache.felix + maven-bundle-plugin + 2.3.7 + true + + + !* + org.apache.httpcomponents.httpclient;bundle-version="${httpclient4.version}";optional="true", + org.apache.httpcomponents.httpcore;bundle-version="${httpclient4.version}";optional="true", + com.googlecode.json-simple + + !.,org.sonar.wsclient, + org.sonar.wsclient.connectors, + org.sonar.wsclient.services + + + + + bundle-manifest + process-classes + + manifest + + + + + + maven-jar-plugin + + + ${project.build.outputDirectory}/META-INF/MANIFEST.MF + + +