mirror of
https://github.com/praktimarc/kst4contest.git
synced 2026-03-30 04:31:04 +02:00
Build first maven project
- added maven wrapper - added kst4contest package - moved tests to src/test/main and added @Test as first step - moved resources to src/main/resource
This commit is contained in:
37
pmd-ruleset.xml
Normal file
37
pmd-ruleset.xml
Normal file
@@ -0,0 +1,37 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<ruleset name="Custom Java Ruleset"
|
||||
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">
|
||||
|
||||
<description>
|
||||
Custom ruleset for Java
|
||||
</description>
|
||||
|
||||
<rule ref="category/java/bestpractices.xml">
|
||||
<!-- System.println is ok in simple Console App -->
|
||||
<exclude name="SystemPrintln" />
|
||||
</rule>
|
||||
|
||||
<rule ref="category/java/codestyle.xml" />
|
||||
|
||||
<rule ref="category/java/design.xml" />
|
||||
<rule ref="category/java/design.xml/LoosePackageCoupling">
|
||||
<properties>
|
||||
<property name="packages" value="de.kneitzel" />
|
||||
<!-- <property name="classes" value="" /> -->
|
||||
</properties>
|
||||
</rule>
|
||||
|
||||
<rule ref="category/java/documentation.xml" />
|
||||
|
||||
<rule ref="category/java/errorprone.xml" />
|
||||
|
||||
<rule ref="category/java/multithreading.xml" />
|
||||
|
||||
<rule ref="category/java/performance.xml" />
|
||||
|
||||
<rule ref="category/java/security.xml" />
|
||||
|
||||
</ruleset>
|
||||
Reference in New Issue
Block a user