Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-13943

Quickstarts build failure with maven version 3.2.1-3.3.3 caused by checkstyle plugin

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 7.2.0.CD12
    • 7.1.0.CR4
    • Quickstarts
    • None
    • Documentation (Ref Guide, User Guide, etc.), Release Notes
    • Hide

      use maven version 3.3.9 or later
      for maven version 3.2.x and 3.3.x before 3.3.9 disable checkstyle plugin
      mvn install -DskipTests=true -Dcheckstyle.skip=true

      Show
      use maven version 3.3.9 or later for maven version 3.2.x and 3.3.x before 3.3.9 disable checkstyle plugin mvn install -DskipTests=true -Dcheckstyle.skip=true
    • Hide

      download quickstarts zip and eap maven repository
      unzip quickstarts and maven repository
      create maven settings file with eap maven repository and maven central repository with empty local repository
      run maven of appropriate version with command "mvn -DskipTests=true install"

      Show
      download quickstarts zip and eap maven repository unzip quickstarts and maven repository create maven settings file with eap maven repository and maven central repository with empty local repository run maven of appropriate version with command "mvn -DskipTests=true install"

      Build of quickstarts using following command

       mvn -DskipTests=true install
      

      fails for maven version 3.2.1-3.3.3 because of checkstyle plugin failure.
      Build succeds to with maven 3.3.9.
      Workaround is to disable checkstyle plugin by adding command line option '-Dcheckstyle.skip=true'

            tomazcerar Tomaž Cerar (Inactive)
            psakar@redhat.com Petr Sakar (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: