updated for maven thread safety

This commit is contained in:
Jeremy Long
2017-04-12 10:24:51 -04:00
parent f289bcd285
commit 44ddad8101
4 changed files with 4 additions and 4 deletions

View File

@@ -16,4 +16,4 @@
# Copyright (c) 2014 Jeremy Long. All Rights Reserved.
#
invoker.goals = install ${project.groupId}:${project.artifactId}:${project.version}:check -e
invoker.goals = install ${project.groupId}:${project.artifactId}:${project.version}:check -e -T 2

View File

@@ -40,7 +40,7 @@ import org.owasp.dependencycheck.utils.Settings;
@Mojo(
name = "check",
defaultPhase = LifecyclePhase.VERIFY,
threadSafe = false,
threadSafe = true,
requiresDependencyResolution = ResolutionScope.COMPILE_PLUS_RUNTIME,
requiresOnline = true
)

View File

@@ -35,7 +35,7 @@ import org.owasp.dependencycheck.utils.Settings;
@Mojo(
name = "purge",
defaultPhase = LifecyclePhase.GENERATE_RESOURCES,
threadSafe = false,
threadSafe = true,
requiresDependencyResolution = ResolutionScope.NONE,
requiresOnline = true,
aggregator = true

View File

@@ -37,7 +37,7 @@ import org.owasp.dependencycheck.utils.Settings;
@Mojo(
name = "update-only",
defaultPhase = LifecyclePhase.GENERATE_RESOURCES,
threadSafe = false,
threadSafe = true,
requiresDependencyResolution = ResolutionScope.NONE,
requiresOnline = true,
aggregator = true