Skip to content

Commit

Permalink
Adds threadSafe flag to properly support concurrent runs
Browse files Browse the repository at this point in the history
Closes #72
  • Loading branch information
lukaszlenart committed Oct 26, 2018
1 parent 47317cd commit b5cd9e1
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,12 @@
/**
* Wraps a jar in a Windows executable.
*/
@Mojo(name = "launch4j", defaultPhase = LifecyclePhase.PACKAGE, requiresDependencyResolution = ResolutionScope.RUNTIME)
@Mojo(
name = "launch4j",
defaultPhase = LifecyclePhase.PACKAGE,
requiresDependencyResolution = ResolutionScope.RUNTIME,
threadSafe = true
)
public class Launch4jMojo extends AbstractMojo {

private static final String LAUNCH4J_ARTIFACT_ID = "launch4j";
Expand Down

0 comments on commit b5cd9e1

Please sign in to comment.