You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Lasse Lindqvist (JIRA)" <ji...@apache.org> on 2018/11/06 20:48:00 UTC

[jira] [Commented] (MJARSIGNER-48) Make Jar Signer plugin :sign goal threadsafe

    [ https://issues.apache.org/jira/browse/MJARSIGNER-48?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16677284#comment-16677284 ] 

Lasse Lindqvist commented on MJARSIGNER-48:
-------------------------------------------

[https://github.com/apache/maven-compiler-plugin/blob/maven-compiler-plugin-3.8.0/src/main/java/org/apache/maven/plugin/compiler/CompilerMojo.java#L62]

 

maven-compiler-plugin is also marked as thread-safe even though it has the same limitations as this. It seems that thread safety here means that the plugin is able to operate on multiple modules at the same time, which is true for this plugin, too. So it would seem possible to mark maven-jarsigner-plugin as thread safe.

> Make Jar Signer plugin :sign goal threadsafe
> --------------------------------------------
>
>                 Key: MJARSIGNER-48
>                 URL: https://issues.apache.org/jira/browse/MJARSIGNER-48
>             Project: Maven Jar Signer Plugin
>          Issue Type: Improvement
>    Affects Versions: 1.4
>            Reporter: Kaloyan Raev
>            Priority: Major
>              Labels: build
>
> Right now when you execute mvn *-T 4* maven-jarsigner-plugin:1.4:sign you get a warning:
> {code}
> [WARNING] *****************************************************************
> [WARNING] * Your build is requesting parallel execution, but project      *
> [WARNING] * contains the following plugin(s) that are not marked as       *
> [WARNING] * @threadSafe to support parallel building.                     *
> [WARNING] * While this /may/ work fine, please look for plugin updates    *
> [WARNING] * and/or request plugins be made thread-safe.                   *
> [WARNING] * If reporting an issue, report it against the plugin in        *
> [WARNING] * question, not against maven-core                              *
> [WARNING] *****************************************************************
> [WARNING] The following plugins are not marked @threadSafe in uDecideSM:
> [WARNING] org.apache.maven.plugins:maven-jarsigner-plugin:1.4
> [WARNING] *****************************************************************
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)