-
Bug
-
Resolution: Unresolved
-
Minor
-
None
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
Summary | Original: Update parent pom to 3.15 | New: Update blueocean-autofavorite parent pom to 3.15 |
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 |
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} |
Assignee | Original: Karl Shultz [ kshultz ] | New: James Dumay [ jamesdumay ] |
Assignee | Original: James Dumay [ jamesdumay ] | New: Karl Shultz [ kshultz ] |
I've got the same problem.
In my modification to mesos plugin's code, I also want to get system property like "SystemProperties.getInteger(...)". But when I update the meoso plugin into newest version, it can not build. The message is the same:
[INFO] — access-modifier-checker:1.15:enforce (default-enforce) @ mesos —
[ERROR] org/jenkinsci/plugins/mesos/MesosRetentionStrategy:36 jenkins/util/SystemProperties must not be used
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
Karl Shultz, have you solved the problem?