Skip to content
This repository has been archived by the owner on Mar 21, 2022. It is now read-only.

Mark mojo as threadsafe #433

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/main/java/com/spotify/docker/PushMojo.java
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
/**
* Pushes a docker image repository to the specified docker registry.
*/
@Mojo(name = "push")
@Mojo(name = "push", threadSafe = true)
public class PushMojo extends AbstractDockerMojo {

/** Name of image to push. */
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/spotify/docker/RemoveImageMojo.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
/**
* Removes a docker image.
*/
@Mojo(name = "removeImage")
@Mojo(name = "removeImage", threadSafe = true)
public class RemoveImageMojo extends AbstractDockerMojo {

/**
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/spotify/docker/TagMojo.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
* Applies a tag to a docker image. Optionally, {@code useGitCommitId} can be used to generate a
* tag consisting of the first 7 characters of the most recent git commit ID.
*/
@Mojo(name = "tag")
@Mojo(name = "tag", threadSafe = true)
public class TagMojo extends AbstractDockerMojo {

/**
Expand Down