Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-2077

Turn On Code Static Analysis for drools-wb repository

    XMLWordPrintable

Details

    Description

      Add the configuration below to the pom.xml and make sure all modules of drools-wb repository are passing the build.

      <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>
      

      Attachments

        Issue Links

          There are no Sub-Tasks for this issue.

          Activity

            People

              rh-ee-jomarko Jozef Marko
              rh-ee-jomarko Jozef Marko
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: