-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MJARSIGNER-48] Mark verify and sign Mojos thread safe (#2)
The Mojos are safe in the context of Maven 3 parallel builds. However running multiple Maven builds on the same signables might cause problems, but this is not something that should be covered.
- Loading branch information
1 parent
54a204e
commit 1e1ae5d
Showing
2 changed files
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,7 +48,7 @@ | |
* @author <a href="[email protected]">Christian Schulte</a> | ||
* @since 1.0 | ||
*/ | ||
@Mojo(name = "sign", defaultPhase = LifecyclePhase.PACKAGE) | ||
@Mojo(name = "sign", defaultPhase = LifecyclePhase.PACKAGE, threadSafe = true) | ||
public class JarsignerSignMojo extends AbstractJarsignerMojo { | ||
|
||
/** | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,7 +38,7 @@ | |
* @author <a href="[email protected]">Christian Schulte</a> | ||
* @since 1.0 | ||
*/ | ||
@Mojo(name = "verify", defaultPhase = LifecyclePhase.VERIFY) | ||
@Mojo(name = "verify", defaultPhase = LifecyclePhase.VERIFY, threadSafe = true) | ||
public class JarsignerVerifyMojo extends AbstractJarsignerMojo { | ||
|
||
/** | ||
|