]
Jozef Marko updated DROOLS-2077:
--------------------------------
Sprint: 2017 Week 43-44
Turn On Code Static Analysis for drools-wb repository
-----------------------------------------------------
Key: DROOLS-2077
URL:
https://issues.jboss.org/browse/DROOLS-2077
Project: Drools
Issue Type: Task
Components: Guided Decision Table Editor, Guided Decision Tree Editor, Guided
Rule Editor, Guided Score Card Editor, Guided Template Editor, Test Scenarios Editor, XLS
Decision Table Editor
Affects Versions: 7.4.1.Final
Reporter: Jozef Marko
Assignee: Jozef Marko
Add the configuration below to the pom.xml and make sure all modules of drools-wb
repository are passing the build.
{code:xml}
<checkstyle.header.template><![CDATA[
^\/\*$\n^
\* Copyright \d\d\d\d Red Hat, Inc\. and\/or its affiliates\.$\n^
\*$\n^
\* Licensed under the Apache License, Version 2\.0 \(the
"License"\);$\n^
\* you may not use this file except in compliance with the License\.$\n^
\* You may obtain a copy of the License at$\n^
\*$\n^
\* http:\/\/www\.apache\.org\/licenses\/LICENSE-2\.0$\n^
\*$\n^
\* Unless required by applicable law or agreed to in writing, software$\n^
\* distributed under the License is distributed on an "AS IS"
BASIS,$\n^
\* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied\.$\n^
\* See the License for the specific language governing permissions and$\n^
\* limitations under the License\.$\n^
\*\/$
]]>
</checkstyle.header.template>
<checkstyle.failOnViolation>true</checkstyle.failOnViolation>
<checkstyle.logViolationsToConsole>true</checkstyle.logViolationsToConsole>
<jacoco.haltOnFailure>true</jacoco.haltOnFailure>
{code}