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

PatPatPat123 commented on MSITE-873:
------------------------------------

Hello Robert,

Thank you for your comment.

I also believe allowing the parallel run would really help, and can open the 
door to further possibilities.

Will be glad to perform some performance tests between parallel and non 
parallel run.

Hopefully, we can have this feature.

> The following plugins are not marked @threadSafe in 
> org.apache.maven.plugins:maven-site-plugin:3.9.1
> ----------------------------------------------------------------------------------------------------
>
>                 Key: MSITE-873
>                 URL: https://issues.apache.org/jira/browse/MSITE-873
>             Project: Maven Site Plugin
>          Issue Type: Bug
>            Reporter: PatPatPat123
>            Priority: Major
>
> Hello Maven Site Plugin Team,
> This is my first post here, apologies in advanced if this post is not 
> respecting conventions.
> There is currently an issue with the version 3.9.1 of maven-site-plugin when 
> running in multithread environment.
>  
> <plugin>
>  <groupId>org.apache.maven.plugins</groupId>
>  <artifactId>maven-site-plugin</artifactId>
>  <version>3.9.1</version>
> </plugin>
>  
> The setup is simple and reproducible 100%.
> Nowadays, maven multimode is very popular, especially among micro services 
> pattern.
> For instance, within one maven project, possibility to have many multi module 
> micro service.
>  
> And often it makes sense to run maven commands on them in parallel.
>  
> Unfortunately, the current maven multi module will yield this issue:
>  
> [INFO] --------------------------------[ pom 
> ]---------------------------------
> [WARNING] *****************************************************************
> [WARNING] * Your build is requesting parallel execution, but project      *
> [WARNING] * contains the following plugin(s) that have goals not marked   *
> [WARNING] * as @threadSafe to support parallel building.                  *
> [WARNING] * While this /may/ work fine, please look for plugin updates    *
> * While this /may/ work fine, please look for plugin updates    *
> * and/or request plugins be made thread-safe.                   *
> * If reporting an issue, report it against the plugin in        *
> * question, not against maven-core                              *
> *****************************************************************
> The following plugins are not marked @threadSafe in X:
> org.apache.maven.plugins:maven-site-plugin:3.9.1
> Enable debug to see more precisely which goals are not marked @threadSafe.
> *****************************************************************
>  
> Allowing this plugin to fully be compatible with parallel maven execution 
> would be a great plus of this plugin.
>  
> Also, maybe the fix is as simple as 
> @Mojo(name = "generate", requiresProject = true, defaultPhase = 
> LifecyclePhase.INTEGRATION_TEST, requiresDependencyResolution = 
> ResolutionScope.TEST, threadSafe = true)
>  
> Nonetheless, wanted to say thanks for this great project, and hopefully to 
> have this issue fixed.
>  
> Good day!
>  
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to