[ 
https://issues.apache.org/jira/browse/SLING-12509?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stefan Seifert resolved SLING-12509.
------------------------------------
    Fix Version/s: Sling Maven Plugin 3.0.4
       Resolution: Fixed

[https://github.com/apache/sling-maven-plugin/commit/7d7dcd41dea2d2eb181cca261cc0250656a4e58a]


[~cnagel]: the current snapshot 3.0.3-SNAPSHOT of the plugin is available on 
https://repository.apache.org/snapshots - can you give it a try in your 
concurrent build context?

> Mark Sling Maven Plugin Validation Mojo as thread-safe
> ------------------------------------------------------
>
>                 Key: SLING-12509
>                 URL: https://issues.apache.org/jira/browse/SLING-12509
>             Project: Sling
>          Issue Type: Improvement
>          Components: Maven Plugins and Archetypes
>    Affects Versions: Sling Maven Plugin 3.0.2
>            Reporter: Christoph Nagel
>            Priority: Minor
>             Fix For: Sling Maven Plugin 3.0.4
>
>
> The _Validate_ goal of the Sling Maven Plugin validates JSON files in the 
> project. This should be a thread-safe operation.
> But the annotation property is missing. Building a maven project using the 
> goal in parallel mode causes WARN messages similar to
> {code:java}
> [WARNING] *****************************************************************
> [WARNING] * Your build is requesting parallel execution, but this         *
> [WARNING] * project contains the following plugin(s) that have goals not  *
> [WARNING] * marked as thread-safe to support parallel execution.          *
> [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 Apache Maven.                           *
> [WARNING] *****************************************************************
> [WARNING] The following plugins are not marked as thread-safe in ZEISS AEM 
> App - Parent:
> [WARNING]   org.apache.sling:sling-maven-plugin:3.0.2
> [WARNING] 
> [WARNING] Enable debug to see precisely which goals are not marked as 
> thread-safe.
> [WARNING] *****************************************************************
> {code}
> Add the 
> [threadSafe|https://maven.apache.org/plugin-tools/maven-plugin-annotations/apidocs/org/apache/maven/plugins/annotations/Mojo.html#threadSafe--]
>  property to the Mojo annotation.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to