Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( /* pom.xml <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>io.aquasecurity</groupId> <artifactId>trivy</artifactId> <version>1.0</version> <packaging>jar</packaging> <dependencies> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-core</artifactId> <version>[5.0.1.RELEASE]</version> </dependency> </dependencies> </project> */ // mvn dependency:list -DoutputFile=dependency.txt /* cat dependency.txt | grep -v "^\s*$" | grep -v "The following files have been resolved" | \ awk ' { cnt=split($1, path, ":") if(cnt == 5){ print "{\"" path[1] ":" path[2] "\", \"" path[4] "\"}," } if(cnt == 6){ print "{\"" path[1] ":" path[2] "\", \"" path[5] "\"}," } } ' */ MavenNormal = []types.Library{ {"org.springframework:spring-jcl", "5.0.1.RELEASE"}, {"org.springframework:spring-core", "5.0.1.RELEASE"}, } // git clone https://github.com/apache/hadoop.git // git checkout fdd20a3cf4cd9073f443b2bf07eef14f454d4c33 // cd hadoop/hadoop-hdfs-project/hadoop-hdfs-nfs/ // mvn dependency:list -DoutputFile=dependency.txt /* cat dependency.txt | grep -v "^\s*$" | grep -v "The following files have been resolved" | \ awk ' { cnt=split($1, path, ":") if(cnt == 5){ print "{\"" path[1] ":" path[2] "\", \"" path[4] "\"}," } if(cnt == 6){ print "{\"" path[1] ":" path[2] "\", \"" path[5] "\"}," } } ' */ MavenHadoopHDFS = []types.Library{}/* 111 elements not displayed */ // git clone https://github.com/apache/hadoop.git // git checkout fdd20a3cf4cd9073f443b2bf07eef14f454d4c33 // cd hadoop/hadoop-cloud-storage-project // mvn dependency:list -DoutputFile=dependency.txt /* cat dependency.txt | grep -v "^\s*$" | grep -v "The following files have been resolved" | \ awk ' { cnt=split($1, path, ":") if(cnt == 5){ print "{\"" path[1] ":" path[2] "\", \"" path[4] "\"}," } if(cnt == 6){ print "{\"" path[1] ":" path[2] "\", \"" path[5] "\"}," } } ' */ MavenHadoopCloudStorage = []types.Library{}/* 105 elements not displayed */ MavenNone = []types.Library{} MavenClassifier = []types.Library{ {"org.springframework:spring-jcl", "5.0.1.RELEASE"}, {"org.springframework:spring-core", "5.0.1.RELEASE"}, } )
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.