From 99e825a5c658be98041ac6d6c5f60e48470d0f35 Mon Sep 17 00:00:00 2001 From: Gustavo Martin Morcuende Date: Fri, 5 Aug 2016 03:01:56 +0200 Subject: [PATCH] Sonarqube custom rules: custom plugin for JavaScript --- .../Plugins/sonar-custom-java-plugin/.pom.xml.swp | Bin 20480 -> 0 bytes Sonar/Plugins/sonar-custom-java-plugin/pom.xml | 2 +- .../Plugins/sonar-custom-javascript-plugin/pom.xml | 173 +++++++++++++++++++++ 3 files changed, 174 insertions(+), 1 deletion(-) delete mode 100644 Sonar/Plugins/sonar-custom-java-plugin/.pom.xml.swp create mode 100644 Sonar/Plugins/sonar-custom-javascript-plugin/pom.xml diff --git a/Sonar/Plugins/sonar-custom-java-plugin/.pom.xml.swp b/Sonar/Plugins/sonar-custom-java-plugin/.pom.xml.swp deleted file mode 100644 index 4c402d5e3f8aca6aba46e06a410970b2855aa00f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 20480 zcmeI3eT*Ds9ml7j#VVx@nt%zK=~47boY{M$#j@Q?Tj>k*+QOAqAyVgd=l15hJF}gc zy_W)liX=ubsfLIoMs58MBPJ^H5))cqNr-6(B%*}Gh#(j$F={Xv@bf(L%o&0dFK(0WW0?lyTxO$~FIMClGj$GceMt}dsH?>vDf94A0 z3gimp3gimp3gimp3gimp3j9AS5H`-&?xcg~sZL&`zL&Lqzf1i-sJ<_3JAS_UJ*>Xt zs6l)lRh)n23gimp3gimp3gimp3gimp3gimp3gimp3gim>4-~K}nl`>t(;f%${y+Br zpI@bEtKc;XUWFIn`!EB0VGC@AmGBB}UsmUMfbXw^2PV8ipx{yXBHRqUa4B2@%i$mI z)3lTDRj^?@Tm?G(?Y)|I0=@%>VH7rl32&31@LTu^JOFn?06SqVEQi0pN7McYKZT*1|st zmOKUDg9qVj@D;cZ?u8J_&;#PUOD+$x7VE2YV%>x9KZszg+%`d+iqIvW4f zRun6C!*(mSTb?cPtC0D*q8OCDhFuEnfKx{QP8-s14$W)FI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=j*lDM$QvXIDuZa0y|xa3PY3nz&d@@wl}uU8BW;x zmK%3|V*9mvuj}b!jw?a{>*!KAZQCx+_&i!P1MDB0ReGd4KUf&lZ?uW1`cz0{n$?As zEKlNY;mkj7Y7pda5)BFcnXmKTbZ>0hESYT72VHWF`%vq<>=zvBJzLEc3R|3A*}e+vKp*YFtl zuoYIrpYZE{2*=?V9EH1J1U>|B;M+d~Pr^fR2ke56!N2kIUxcUOG58XcLBs$qhgI-4 ze*LrXFdT(D!G#@g8N7p!|2n(?-+~%k59>jPSMl*5hvRS`+yYm?Mertm{Rt4c07sw# z*T4nv1~HJ|!7t%q_#Etm4R8f~7(NIhH{cR@hdhAO@C4igpMqg9;4(N(9>5duWjG86 zVFY?%8T=W&pMjsjk3r-K%z_w)5m*av^8Wu7I4N=g@=vaSQeZ{fC)ttCpY6fQ6>qSj zN^=V0!yR%&7F~C4#knOa`r6?#^Cy3(M3rPamVFj2eTS8&qC_b^a+fIHM5x_xhrEZ@ zd!hK1PKVc&i%P7KTkR#j^U70EIt+;}KXV2q<9n#V5;aqa9;tkROnJ)-kPTArfF`@R z8`2E*SH^jjyPDM2u~o5^x{$tP%EELpCZ;UOQ&AQ org.sonarsource.java java-frontend - 4.0 + ${java.plugin.version} diff --git a/Sonar/Plugins/sonar-custom-javascript-plugin/pom.xml b/Sonar/Plugins/sonar-custom-javascript-plugin/pom.xml new file mode 100644 index 0000000..7979169 --- /dev/null +++ b/Sonar/Plugins/sonar-custom-javascript-plugin/pom.xml @@ -0,0 +1,173 @@ + + + 4.0.0 + + + de.example.plugins + custom-sonar-plugins + 0.1-SNAPSHOT + + + sonar-custom-javascript-plugin + sonar-plugin + + SonarQube custom JavaScript plugin + JavaScript plugin for SonarQube + + + UTF-8 + 5.6.1 + 2.14 + 1.8 + helloworld + + + + + org.sonarsource.sonarqube + sonar-plugin-api + ${sonar.apiVersion} + provided + + + + org.sonarsource.javascript + sonar-javascript-plugin + sonar-plugin + ${javascript.plugin.version} + provided + + + com.google.code.gson + gson + 2.6.2 + compile + + + com.google.guava + guava + 19.0 + + + commons-lang + commons-lang + 2.6 + + + org.sonarsource.sslr-squid-bridge + sslr-squid-bridge + 2.6.1 + + + org.codehaus.sonar.sslr + sslr-core + + + org.codehaus.sonar + sonar-plugin-api + + + org.codehaus.sonar.sslr + sslr-xpath + + + org.slf4j + jcl-over-slf4j + + + + + org.sonarsource.java + javascript-frontend + javascript.plugin.version + + + + + + + + org.sonarsource.sonarqube + sonar-testing-harness + ${sonar.apiVersion} + test + + + org.sonarsource.java + java-checks-testkit + ${java.plugin.version} + test + + + org.easytesting + fest-assert + 1.4 + test + + + junit + junit + 4.11 + test + + + + org.apache.logging.log4j + log4j-slf4j-impl + 2.6.1 + test + + + + org.apache.logging.log4j + log4j-core + 2.6.1 + test + + + + org.slf4j + jcl-over-slf4j + 1.7.21 + test + + + + + + + + org.sonarsource.sonar-packaging-maven-plugin + sonar-packaging-maven-plugin + 1.17 + true + + de.example.plugins.helloworld.HelloWorldPlugin + + + + org.apache.maven.plugins + maven-compiler-plugin + 3.5.1 + + ${jdk.min.version} + ${jdk.min.version} + ${project.build.sourceEncoding} + + + + + + -- 2.1.4