environment-dashboard-plugin icon indicating copy to clipboard operation
environment-dashboard-plugin copied to clipboard

Cannot build plugin

Open jarst opened this issue 5 years ago • 2 comments

Commit: 7bc50968 (18.07.2019)

Maven Version: 3.6.1
JDK Version: 1.8.0_212 normalized as: 1.8.0-212
OS Info: Arch: amd64 Family: dos Name: windows 10 Version: 10.0

Attempt to build plugin with following command: mvn install -Dmaven.javadoc.skip=true -Dspotbugs.failOnError=false results in failure:

[INFO] --- access-modifier-checker:1.7:enforce (default-enforce) @ environment-dashboard ---
[ERROR] null Failed to load restrictions
java.lang.ClassNotFoundException: org.kohsuke.accmod.restrictions.Beta
    at java.net.URLClassLoader.findClass (URLClassLoader.java:382)
    at java.lang.ClassLoader.loadClass (ClassLoader.java:424)
    at java.lang.ClassLoader.loadClass (ClassLoader.java:357)
    at org.kohsuke.accmod.impl.AccessRestrictionFactory.get (AccessRestrictionFactory.java:53)
   ...

jarst avatar Oct 23 '19 13:10 jarst

Updating project parent fixes issue with failing build.

jarst avatar Oct 23 '19 14:10 jarst

Hi @jarst! Thanks for the contributions.... ideally - we would like to get environment dashboard in to the jenkinsci org in Github.

I'm not sure if you have a JIRA account, but you can take a peek at https://issues.jenkins-ci.org/browse/HOSTING-808 if you do.

Is there any chance of you dropping by https://gitter.im/jenkinsci/jenkins for a chat about it?

I have a slightly older version of this change in #151

willwh avatar Oct 23 '19 15:10 willwh