orladigital / trivy-maven-plugin Goto Github PK
View Code? Open in Web Editor NEWThis is a Maven plugin developed to simplify the process of scanning Docker images for vulnerabilities using Trivy.
This is a Maven plugin developed to simplify the process of scanning Docker images for vulnerabilities using Trivy.
Hi
Since there is only source code released we built the project with the delivered pom.xml .
I have put the plugin into a profile named "dependencyCheck" in our company's project.
When I run (as described in the project description)
mvn br.com.orla:trivy-maven-plugin:trivy-scan -P dependencyCheck
I receive the following error:
[ERROR] Failed to execute goal br.com.orla:trivy-maven-plugin:1.0.0:trivy-scan (default-cli) on project tms_parent: Execution default-cli of goal br.com.orla:trivy-maven-plugin:1.0.0:trivy-scan failed: A required class was missing while executing br.com.orla:trivy-maven-plugin:1.0.0:trivy-scan: com/google/common/io/Files
[ERROR] -----------------------------------------------------
[ERROR] realm = plugin>br.com.orla:trivy-maven-plugin:1.0.0
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/C:/Users/rkreutz/.m2/repository/br/com/orla/trivy-maven-plugin/1.0.0/trivy-maven-plugin-1.0.0.jar
[ERROR] urls[1] = file:/C:/Users/rkreutz/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
[ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import from realm ClassRealm[maven.api, parent: null]]
[ERROR]
[ERROR] -----------------------------------------------------
[ERROR] : com.google.common.io.Files
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.