Build error: Spotbugs not found

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Build error: Spotbugs not found

Alex Reds
Hi everyone,

I would like to contribute to the Jenkins open-source project but I got stucked quite early.

When I try to build the project, I get this error:

 [ERROR] Failed to execute goal com.github.spotbugs:spotbugs-maven-plugin:3.1.12.2:spotbugs (spotbugs) on project jenkins-parent: Execution spotbugs
of goal com.github.spotbugs:spotbugs-maven-plugin:3.1.12.2:spotbugs failed: Plugin com.github.spotbugs:spotbugs-maven-plugin:3.1.12.2 or one of it
s dependencies could not be resolved: Could not find artifact com.sun:tools:jar:1.8.0 at specified path C:\Program Files\Java\jre1.8.0_241/../lib/t
ools.jar

Can you please help me?

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/1ab2cef5-6adc-4a3f-ae2b-c0cbc5bde0f5%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: Build error: Spotbugs not found

Mark Waite-2
The message refers to a Java runtime environment path (jre1.8.0_241).  The Java 8 runtime environment does not include the necessary tools for development.  You need the Java Development Kit (JDK).


On Sat, Mar 21, 2020 at 7:57 AM Alex Reds <[hidden email]> wrote:
Hi everyone,

I would like to contribute to the Jenkins open-source project but I got stucked quite early.

When I try to build the project, I get this error:

 [ERROR] Failed to execute goal com.github.spotbugs:spotbugs-maven-plugin:3.1.12.2:spotbugs (spotbugs) on project jenkins-parent: Execution spotbugs
of goal com.github.spotbugs:spotbugs-maven-plugin:3.1.12.2:spotbugs failed: Plugin com.github.spotbugs:spotbugs-maven-plugin:3.1.12.2 or one of it
s dependencies could not be resolved: Could not find artifact com.sun:tools:jar:1.8.0 at specified path C:\Program Files\Java\jre1.8.0_241/../lib/t
ools.jar

Can you please help me?

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/1ab2cef5-6adc-4a3f-ae2b-c0cbc5bde0f5%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtEF16sStX8jZ10tLA_FT9KTgv5Mf8CGjf7G5SqfL5KF0Q%40mail.gmail.com.