[jboss-jira] [JBoss JIRA] (DROOLS-2077) Turn On Code Static Analysis for drools-wb repository

Jozef Marko (JIRA) issues at jboss.org
Mon Oct 30 06:23:00 EDT 2017


Jozef Marko created DROOLS-2077:
-----------------------------------

             Summary: 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 &quot;License&quot;\);$\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 &quot;AS IS&quot; 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}




--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list