mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-03-25 02:21:28 +01:00
initial release
This commit is contained in:
15
pom.xml
15
pom.xml
@@ -35,11 +35,11 @@ along with DependencyCheck. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
<email>jeremy.long@gmail.com</email>
|
<email>jeremy.long@gmail.com</email>
|
||||||
</developer>
|
</developer>
|
||||||
</developers>
|
</developers>
|
||||||
<scm>
|
<scm>
|
||||||
<connection>scm:git:git@github.com:jeremylong/DependencyCheck.git</connection>
|
<connection>scm:git:git@github.com:jeremylong/DependencyCheck.git</connection>
|
||||||
<url>scm:git:git@github.com:jeremylong/DependencyCheck.git</url>
|
<url>https://github.com/jeremylong/DependencyCheck.git</url>
|
||||||
<developerConnection>scm:git:git@github.com:jeremylong/DependencyCheck.git</developerConnection>
|
<developerConnection>scm:git:git@github.com:jeremylong/DependencyCheck.git</developerConnection>
|
||||||
</scm>
|
</scm>
|
||||||
<licenses>
|
<licenses>
|
||||||
<license>
|
<license>
|
||||||
<name>GNU General Public License version 3</name>
|
<name>GNU General Public License version 3</name>
|
||||||
@@ -70,6 +70,11 @@ along with DependencyCheck. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
</resources>
|
</resources>
|
||||||
|
|
||||||
<plugins>
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-release-plugin</artifactId>
|
||||||
|
<version>2.3.2</version>
|
||||||
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-javadoc-plugin</artifactId>
|
<artifactId>maven-javadoc-plugin</artifactId>
|
||||||
|
|||||||
@@ -20,14 +20,6 @@ package org.codesecure.dependencycheck.utils;
|
|||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.io.FileNotFoundException;
|
import java.io.FileNotFoundException;
|
||||||
import java.io.IOException;
|
|
||||||
import java.io.InputStream;
|
|
||||||
import java.net.URL;
|
|
||||||
import java.net.URLClassLoader;
|
|
||||||
import java.util.jar.Attributes;
|
|
||||||
import java.util.jar.Manifest;
|
|
||||||
import java.util.logging.Level;
|
|
||||||
import java.util.logging.Logger;
|
|
||||||
import org.apache.commons.cli.CommandLine;
|
import org.apache.commons.cli.CommandLine;
|
||||||
import org.apache.commons.cli.CommandLineParser;
|
import org.apache.commons.cli.CommandLineParser;
|
||||||
import org.apache.commons.cli.HelpFormatter;
|
import org.apache.commons.cli.HelpFormatter;
|
||||||
@@ -231,9 +223,9 @@ public final class CliParser {
|
|||||||
public void printHelp() {
|
public void printHelp() {
|
||||||
HelpFormatter formatter = new HelpFormatter();
|
HelpFormatter formatter = new HelpFormatter();
|
||||||
formatter.printHelp(Settings.getString("application.name", "DependencyCheck"),
|
formatter.printHelp(Settings.getString("application.name", "DependencyCheck"),
|
||||||
"\n" + Settings.getString("application.name", "DependencyCheck") +
|
"\n" + Settings.getString("application.name", "DependencyCheck")
|
||||||
" can be used to identify if there are any known CVE vulnerabilities in libraries utillized by an application." +
|
+ " can be used to identify if there are any known CVE vulnerabilities in libraries utillized by an application. "
|
||||||
" " + Settings.getString("application.name", "DependencyCheck") + " will automatically update required data from the Internet, such as the CVE and CPE data files from nvd.nist.gov.\n",
|
+ Settings.getString("application.name", "DependencyCheck") + " will automatically update required data from the Internet, such as the CVE and CPE data files from nvd.nist.gov.\n",
|
||||||
options, "", true);
|
options, "", true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -94,7 +94,7 @@ public class Settings {
|
|||||||
*/
|
*/
|
||||||
public static String getString(String key, String defaultValue) {
|
public static String getString(String key, String defaultValue) {
|
||||||
String str = System.getProperty(key, instance.props.getProperty(key));
|
String str = System.getProperty(key, instance.props.getProperty(key));
|
||||||
if (str==null) {
|
if (str == null) {
|
||||||
str = defaultValue;
|
str = defaultValue;
|
||||||
}
|
}
|
||||||
return str;
|
return str;
|
||||||
|
|||||||
@@ -3,8 +3,6 @@
|
|||||||
<bannerLeft>
|
<bannerLeft>
|
||||||
<name>DependencyCheck</name>
|
<name>DependencyCheck</name>
|
||||||
</bannerLeft>
|
</bannerLeft>
|
||||||
<bannerRight>
|
|
||||||
</bannerRight>
|
|
||||||
<body>
|
<body>
|
||||||
<menu ref="reports" />
|
<menu ref="reports" />
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
Reference in New Issue
Block a user