You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2019/04/05 14:38:00 UTC
[jira] [Work logged] (CAMEL-13395) Threadsafe
camel-api-component-maven-plugin
[ https://issues.apache.org/jira/browse/CAMEL-13395?focusedWorklogId=223605&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-223605 ]
ASF GitHub Bot logged work on CAMEL-13395:
------------------------------------------
Author: ASF GitHub Bot
Created on: 05/Apr/19 14:37
Start Date: 05/Apr/19 14:37
Worklog Time Spent: 10m
Work Description: drekbour commented on pull request #2860: CAMEL-13395 Threadsafe camel-api-component-maven-plugin
URL: https://github.com/apache/camel/pull/2860
See https://issues.apache.org/jira/browse/CAMEL-13395
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Issue Time Tracking
-------------------
Worklog Id: (was: 223605)
Time Spent: 10m
Remaining Estimate: 0h
> Threadsafe camel-api-component-maven-plugin
> --------------------------------------------
>
> Key: CAMEL-13395
> URL: https://issues.apache.org/jira/browse/CAMEL-13395
> Project: Camel
> Issue Type: Improvement
> Components: tooling
> Reporter: Marc Carter
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> In plugin {{camel-api-component-maven-plugin}}, {{ApiComponentGeneratorMojo}} claims it is threadsafe however its superclass is clearly using {{static}} fields (AbstractGeneratorMojo.java:59) and it fails very easily on multi-core boxes
> The following fails consistently on a multi-core host:
> {code:bash}
> # Run once to complete all compilations
> ./mvnw install -Pfastinstall -pl :camel-google-calendar,:camel-box,:camel-braintree,:camel-api-component-maven-plugin
> # Run again but using threads, this largely guarantees the plugin is run concurrently
> ./mvnw -TC1 install -Pfastinstall -pl :camel-google-calendar,:camel-box,:camel-braintree,:camel-api-component-maven-plugin
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)