Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-52704

After update of parent pom, build failure: jenkins/util/SystemProperties must not be used

      Summary
      blueocean-autofavorite got missed when we updated the parent pom for Blue Ocean. It's still at 2.35, which is causing some PCT failures.

      A simple update causes of pom.xml, as I've done here, causes a failure when trying to mvn clean install. That build failure is:

      [INFO] --- access-modifier-checker:1.15:enforce (default-enforce) @ blueocean-autofavorite ---
      [ERROR] io/jenkins/blueocean/autofavorite/FavoritingScmListener:173 jenkins/util/SystemProperties must not be used
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 6.645 s
      [INFO] Finished at: 2018-07-23T10:09:12-04:00
      [INFO] Final Memory: 174M/644M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.kohsuke:access-modifier-checker:1.15:enforce (default-enforce) on project blueocean-autofavorite: Access modifier checks failed. See the details above -> [Help 1]
      

          [JENKINS-52704] After update of parent pom, build failure: jenkins/util/SystemProperties must not be used

          Karl Shultz created issue -
          Karl Shultz made changes -
          Summary Original: Update parent pom to 3.15 New: Update blueocean-autofavorite parent pom to 3.15
          Karl Shultz made changes -
          Summary Original: Update blueocean-autofavorite parent pom to 3.15 New: After update of parent pom, build failure: jenkins/util/SystemProperties must not be used
          Karl Shultz made changes -
          Description Original: blueocean-autofavorite got missed when we updated the parent pom for Blue Ocean. [It's still at 2.35|https://github.com/jenkinsci/blueocean-autofavorite-plugin/blob/master/pom.xml#L8], which is causing some PCT failures. New: *Summary*
          blueocean-autofavorite got missed when we updated the parent pom for Blue Ocean. [It's still at 2.35|https://github.com/jenkinsci/blueocean-autofavorite-plugin/blob/master/pom.xml#L8], which is causing some PCT failures.

          A simple update causes of pom.xml, [as I've done here|https://github.com/kshultzCB/blueocean-autofavorite-plugin/tree/JENKINS-52704-update-parent-pom], causes a failure when trying to {{mvn clean install}}. That build failure is:

          {code:none}
          [INFO] --- access-modifier-checker:1.15:enforce (default-enforce) @ blueocean-autofavorite ---
          [ERROR] io/jenkins/blueocean/autofavorite/FavoritingScmListener:173 jenkins/util/SystemProperties must not be used
          [INFO] ------------------------------------------------------------------------
          [INFO] BUILD FAILURE
          [INFO] ------------------------------------------------------------------------
          [INFO] Total time: 6.645 s
          [INFO] Finished at: 2018-07-23T10:09:12-04:00
          [INFO] Final Memory: 174M/644M
          [INFO] ------------------------------------------------------------------------
          [ERROR] Failed to execute goal org.kohsuke:access-modifier-checker:1.15:enforce (default-enforce) on project blueocean-autofavorite: Access modifier checks failed. See the details above -> [Help 1]
          {code}
          Karl Shultz made changes -
          Assignee Original: Karl Shultz [ kshultz ] New: James Dumay [ jamesdumay ]
          Karl Shultz made changes -
          Assignee Original: James Dumay [ jamesdumay ] New: Karl Shultz [ kshultz ]

            kshultz Karl Shultz
            kshultz Karl Shultz
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: