]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-8646 Embed SonarPHP and SonarPython 1626/head
authorJulien Lancelot <julien.lancelot@sonarsource.com>
Fri, 3 Feb 2017 14:55:32 +0000 (15:55 +0100)
committerJulien Lancelot <julien.lancelot@sonarsource.com>
Mon, 6 Feb 2017 15:24:19 +0000 (16:24 +0100)
pom.xml
sonar-application/pom.xml

diff --git a/pom.xml b/pom.xml
index 6688cde38a7f4dea836f79722c7c44abf7890943..033929cdd4f204bcc3cfd89012f40b6c74d7ad3e 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -53,6 +53,8 @@
     <sonarCSharp.version>5.6.0.586</sonarCSharp.version>
     <sonarGit.version>1.2</sonarGit.version>
     <sonarSvn.version>1.4.0.522</sonarSvn.version>
+    <sonarPhp.version>2.9.2.1744</sonarPhp.version>
+    <sonarPython.version>1.7.0.1195</sonarPython.version>
     <h2.version>1.3.176</h2.version>
     <jetty.version>8.1.12.v20130726</jetty.version>
     <logback.version>1.1.7</logback.version>
           </exclusion>
         </exclusions>
       </dependency>
+      <dependency>
+        <groupId>org.sonarsource.php</groupId>
+        <artifactId>sonar-php-plugin</artifactId>
+        <version>${sonarPhp.version}</version>
+        <type>sonar-plugin</type>
+        <exclusions>
+          <!--
+          no need for transitive dependencies as only the JAR file
+          is needed for the zip bundle
+          -->
+          <exclusion>
+            <groupId>org.sonarsource.php</groupId>
+            <artifactId>php-frontend</artifactId>
+          </exclusion>
+          <exclusion>
+            <groupId>org.sonarsource.php</groupId>
+            <artifactId>php-checks</artifactId>
+          </exclusion>
+          <exclusion>
+            <groupId>com.thoughtworks.xstream</groupId>
+            <artifactId>xstream</artifactId>
+          </exclusion>
+        </exclusions>
+      </dependency>
+      <dependency>
+        <groupId>org.sonarsource.python</groupId>
+        <artifactId>sonar-python-plugin</artifactId>
+        <version>${sonarPython.version}</version>
+        <type>sonar-plugin</type>
+        <exclusions>
+          <!--
+          no need for transitive dependencies as only the JAR file
+          is needed for the zip bundle
+          -->
+          <exclusion>
+            <groupId>org.sonarsource.python</groupId>
+            <artifactId>python-squid</artifactId>
+          </exclusion>
+          <exclusion>
+            <groupId>org.sonarsource.python</groupId>
+            <artifactId>python-checks</artifactId>
+          </exclusion>
+          <exclusion>
+            <groupId>org.codehaus.woodstox</groupId>
+            <artifactId>woodstox-core-lgpl</artifactId>
+          </exclusion>
+        </exclusions>
+      </dependency>
       <dependency>
         <groupId>net.java.dev.jna</groupId>
         <artifactId>jna</artifactId>
index f80328b1a7f764dd8e85758205dcf218985ed29d..c7c4f47e6279968bca3346b13153520cef31df91 100644 (file)
       <type>sonar-plugin</type>
       <scope>provided</scope>
     </dependency>
+    <dependency>
+      <groupId>org.sonarsource.php</groupId>
+      <artifactId>sonar-php-plugin</artifactId>
+      <type>sonar-plugin</type>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.sonarsource.python</groupId>
+      <artifactId>sonar-python-plugin</artifactId>
+      <type>sonar-plugin</type>
+      <scope>provided</scope>
+    </dependency>
     <dependency>
       <!-- do not upgrade because of licensing change -->
       <groupId>tanukisoft</groupId>
             <configuration>
               <rules>
                 <requireFilesSize>
-                  <minsize>105000000</minsize>
-                  <maxsize>112000000</maxsize>
+                  <minsize>110000000</minsize>
+                  <maxsize>117000000</maxsize>
                   <files>
                     <file>${project.build.directory}/sonarqube-${project.version}.zip</file>
                   </files>