Uploaded image for project: 'Tamaya'
  1. Tamaya
  2. TAMAYA-53

Build fails because of issues found by FindBugs

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.1-incubating
    • Fix Version/s: 0.1-incubating
    • Component/s: Infrastructure
    • Labels:
      None

      Description

      Running our build with FindBugs activated leads to a build error. As we decided on the mailing list we will execute all checks during a build. Currently this is not possible.

      You can check this easily by running Maven with

      mvn -Dfindbugs.skip=false
      

      Maven fails with the following message:

      [INFO] >>> findbugs-maven-plugin:3.0.0:check (findbugs-analyze) > :findbugs @ tamaya-api >>>
      [INFO]
      [INFO] --- findbugs-maven-plugin:3.0.0:findbugs (findbugs) @ tamaya-api ---
      [INFO] Fork Value is true
           [java] Warnings generated: 1
      [INFO] Done FindBugs Analysis....
      [INFO]
      [INFO] <<< findbugs-maven-plugin:3.0.0:check (findbugs-analyze) < :findbugs @ tamaya-api <<<
      [INFO]
      [INFO] --- findbugs-maven-plugin:3.0.0:check (findbugs-analyze) @ tamaya-api ---
      [INFO] BugInstance size is 1
      [INFO] Error size is 0
      [INFO] Total bugs: 1
      [INFO] org.apache.tamaya.Configuration.getBoolean(String) has Boolean return type and returns explicit null ["org.apache.tamaya.Configuration"] At Configuration.java:[lines 95-201]
      [INFO] ------------------------------------------------------------------------
      

      As far as I know there is no possibility to configure all options of FindBugs directly in the Maven profile.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                anatole Anatole Tresch
                Reporter:
                o.b.fischer Oliver B. Fischer
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: