Uploaded image for project: 'Oozie'
  1. Oozie
  2. OOZIE-2789

Maven complains about checkstyle error during build

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: trunk
    • Fix Version/s: 5.0.0b1
    • Component/s: build
    • Labels:
      None

      Description

      While working on this for the 1st time. My maven does not like the style of some files and I would get 'There are 2 checkstyle errors' and build failed.

      My workaround is to use 'mvn xxx -Dcheckstyle.skip'. However I think it is still nice to fix it in case someone else is also facing this.

      $ mvn -v
      Apache Maven 3.3.9
      OS name: "mac os x", version: "10.11.1", arch: "x86_64", family: "mac"

        Attachments

        1. OOZIE-2789-1.patch
          2 kB
          Xiaobin Zheng

          Activity

            People

            • Assignee:
              zhengxb2005 Xiaobin Zheng
              Reporter:
              zhengxb2005 Xiaobin Zheng
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: