Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A required class was missing while executing org.owasp:dependency-check-maven:1.4.5:check: org/joda/time/ReadableInstant #737

Closed
asicfr opened this issue May 17, 2017 · 7 comments

Comments

@asicfr
Copy link

asicfr commented May 17, 2017

Using dependency-check-maven:1.4.5, when i launch mvn dependency-check:check i got an exception :
A required class was missing while executing org.owasp:dependency-check-maven:1.4.5:check: org/joda/time/ReadableInstant

Reporting Bugs/Errors

https://gist.github.com/asicfr/6384a069ab589294a349403cc27e9db7

Thx

@jeremylong
Copy link
Owner

jeremylong commented May 20, 2017

Editing previous reply (as I had replied to the wrong thread). Any chance you could supply the POM?

@asicfr
Copy link
Author

asicfr commented May 22, 2017

My test pom.
pom.txt

jeremylong added a commit that referenced this issue May 28, 2017
@jeremylong
Copy link
Owner

@asicfs I just built the provided pom and did not receive the error: build-log.txt - this was with 3.3.9 and Java 8. You can also see a travis-ci build showing a (successful build](https://travis-ci.org/jeremylong/DependencyCheck/builds/236869020#L3969) using Java 7.

What version of Maven and Java are you using? Can you think of anything else unique about your environment?

@asicfr
Copy link
Author

asicfr commented Jun 6, 2017

I use Apache Maven 3.3.9 and Java 1.8.0_131.

@jeremylong
Copy link
Owner

That is the same configuration used to create the above build-log.txt. Maybe clear your local m2 repo of anything joda-time related (~/.m2/repository/joda-time/joda-time)? I'm at a loss as I am unable to reproduce this issue.

@dovydascc
Copy link

Had the same issue. Deleting ~/.m2/repository/joda-time fixed this.

@jeremylong
Copy link
Owner

The only use of joda.time is in the OSS Index Analyzer. I have opened an issue (sonatype/ossindex-public#8) to have them convert from joda.time to java.time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants