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. # 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( @Mojo(
name = "check", name = "check",
defaultPhase = LifecyclePhase.VERIFY, defaultPhase = LifecyclePhase.VERIFY,
threadSafe = false, threadSafe = true,
requiresDependencyResolution = ResolutionScope.COMPILE_PLUS_RUNTIME, requiresDependencyResolution = ResolutionScope.COMPILE_PLUS_RUNTIME,
requiresOnline = true requiresOnline = true
) )

View File

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

View File

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