diff options
author | vempo <vitaliy.emporopulo@amdocs.com> | 2018-08-12 14:17:59 +0300 |
---|---|---|
committer | Avi Gaffa <avi.gaffa@amdocs.com> | 2018-08-14 07:05:19 +0000 |
commit | 1929d75c6856e212979c3a9c7950dfd717d3bb98 (patch) | |
tree | 6b2c10c40d1b6d70b280407ebed3196e76688e49 /build-tools | |
parent | 1a4db8f598590cc63b6d94a8dac3489b20365f9b (diff) |
Removed execution of PMD from build
Change-Id: I52d55e2585c56118c685745c00e52c2838b76d04
Issue-ID: SDC-1065
Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
Diffstat (limited to 'build-tools')
-rw-r--r-- | build-tools/pom.xml | 18 | ||||
-rw-r--r-- | build-tools/src/main/resources/build-pmd-ruleset.xml | 42 |
2 files changed, 0 insertions, 60 deletions
diff --git a/build-tools/pom.xml b/build-tools/pom.xml deleted file mode 100644 index 1ef90189ae..0000000000 --- a/build-tools/pom.xml +++ /dev/null @@ -1,18 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project xmlns="http://maven.apache.org/POM/4.0.0" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - - <!-- This dependency must be referenced from a plugin configuration only --> - - <modelVersion>4.0.0</modelVersion> - - <artifactId>build-tools</artifactId> - - <parent> - <groupId>org.openecomp.sdc</groupId> - <artifactId>sdc-main</artifactId> - <version>1.3.0-SNAPSHOT</version> - </parent> - -</project>
\ No newline at end of file diff --git a/build-tools/src/main/resources/build-pmd-ruleset.xml b/build-tools/src/main/resources/build-pmd-ruleset.xml deleted file mode 100644 index dd8984a970..0000000000 --- a/build-tools/src/main/resources/build-pmd-ruleset.xml +++ /dev/null @@ -1,42 +0,0 @@ -<?xml version="1.0"?> -<ruleset name="SDC Essential Rule-set" - xmlns="http://pmd.sourceforge.net/ruleset/2.0.0" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://pmd.sourceforge.net/ruleset/2.0.0 http://pmd.sourceforge.net/ruleset_2_0_0.xsd http://pmd.sourceforge.net/ruleset/2.0.0 "> - - <description> - Essential rules according to SonarQube. Note that it is impossible to make PMD rules exactly match the - SonarQube ones, but they will probably catch about 90% of violations before they get into the source control. - The advantage is that PMD can be ran locally on any development setup and does not require a license. - </description> - - <!-- - All available Java rule-sets: https://pmd.github.io/pmd-5.6.1/pmd-java/rules/index.html - --> - - <!-- Blocker severity in SonarQube --> - <rule ref="rulesets/java/strictexception.xml/AvoidCatchingThrowable"/> - <rule ref="rulesets/java/empty.xml/EmptyCatchBlock"> - <properties> - <property name="allowCommentedBlocks" value="true"/> - </properties> - </rule> - - <!-- THERE IS NO GOOD RULE TO CATCH NULL DEREFERENCING IN PMD --> - <rule ref="rulesets/java/basic.xml/MisplacedNullCheck"/> - <rule ref="rulesets/java/basic.xml/BrokenNullCheck"/> - - - <rule ref="rulesets/java/design.xml/CloseResource"> - <properties> - <property name="types" - value="java.sql.Connection,java.sql.Statement,java.sql.ResultSet,java.io.OutputStream,java.net.URLConnection,java.io.InputStream,java.io.FileInputStream,java.io.FileOutputStream,java.util.zip.ZipOutputStream,java.util.zip.ZipInputStream,java.util.jar.JarInputStream,java.util.jar.JarOutputStream,java.io.BufferedReader,java.io.BufferedWriter"/> - </properties> - </rule> - <rule ref="rulesets/java/basic.xml/OverrideBothEqualsAndHashcode"/> - - <!-- - Critical severity in SonarQube. Should be empty until all Critical have been fixed. - --> - -</ruleset>
\ No newline at end of file |