Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Make/mark protoc-bundled-plugin threadsafe
  • Loading branch information
argggh committed Apr 7, 2016
commit 80118f4a94c6ba1dafc6d7007ff87fced6c38bfb
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@
* @goal run
* @phase generate-sources
* @requiresDependencyResolution
* @threadSafe
*/

public class ProtocBundledMojo extends AbstractMojo
Expand Down Expand Up @@ -243,7 +244,7 @@ private String determineProtocForSystem()
*
* @param protocName protoc specifier
*/
private File resolveProtocArtifact(String protocName)
private synchronized File resolveProtocArtifact(String protocName)
throws MojoExecutionException
{
Artifact artifact
Expand Down