camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrea Cosentino (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CAMEL-8021) Fix Maven surefire warning during build
Date Sun, 09 Nov 2014 14:08:33 GMT

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

Andrea Cosentino edited comment on CAMEL-8021 at 11/9/14 2:08 PM:
------------------------------------------------------------------

At this moment we have <forkMode> in the following components:

{code}
./tests/camel-itest/pom.xml          
./tests/camel-itest-karaf/pom.xml                    
./tests/camel-itest-osgi/pom.xml              
./components/camel-gae/pom.xml                    
./components/camel-olingo2/pom.xml              
./components/camel-quartz2/pom.xml          
./components/camel-jcr/pom.xml          
./components/camel-google-drive/pom.xml              
./components/camel-jaxb/pom.xml                    
./components/camel-mina/pom.xml                    
./components/camel-vertx/pom.xml          
./components/camel-hbase/pom.xml					
./components/camel-linkedin/pom.xml              
./components/camel-soap/pom.xml                    
./components/camel-stream/pom.xml                    
./components/camel-sql/pom.xml          
./components/camel-jetty/pom.xml                    
./components/camel-hazelcast/pom.xml                    
./components/camel-cxf/pom.xml          
./components/camel-bam/pom.xml          
./components/camel-cxf-transport/pom.xml          
./components/camel-mqtt/pom.xml                    
./components/camel-box/pom.xml              
./components/camel-urlrewrite/pom.xml          
./components/camel-jms/pom.xml                    
./components/camel-facebook/pom.xml          
./components/camel-facebook/pom.xml              
./components/camel-script/pom.xml                    
./components/camel-test-blueprint/pom.xml                    
./components/camel-mina2/pom.xml									
./components/camel-servlet/pom.xml          
./components/camel-http4/pom.xml                
./components/camel-quartz/pom.xml          
./components/camel-twitter/pom.xml          
./components/camel-twitter/pom.xml                
./components/camel-sap-netweaver/pom.xml                    
./components/camel-sap-netweaver/pom.xml                            
./components/camel-servletlistener/pom.xml          
./components/camel-hawtdb/pom.xml                
./components/camel-leveldb/pom.xml                
./examples/pom.xml                    
./examples/camel-example-loan-broker/pom.xml					
./examples/camel-example-bam/pom.xml 
{code}

and we can use the tips from Maven-surefire-plugin documentation: *Migrating the Deprecated
forkMode Parameter to forkCount and reuseForks* described here: *[http://maven.apache.org/surefire/maven-surefire-plugin/examples/fork-options-and-parallel-execution.html]*

I can take care of this if you think is useful. For example i've just fixed the camel-sjms
component by passing from 

{code:xml}
<forkMode>pertest</forkMode>
{code}

to 
{code:xml}
<forkCount>1</forkCount>
<reuseForks>false</reuseForks>
{code}

What do you think about?


was (Author: ancosen):
At this moment we have <forkMode> in the following components:

{code}
./tests/camel-itest/pom.xml          
./tests/camel-itest-karaf/pom.xml                    
./tests/camel-itest-osgi/pom.xml              
./components/camel-gae/pom.xml                    
./components/camel-olingo2/pom.xml              
./components/camel-quartz2/pom.xml          
./components/camel-jcr/pom.xml          
./components/camel-google-drive/pom.xml              
./components/camel-jaxb/pom.xml                    
./components/camel-mina/pom.xml                    
./components/camel-vertx/pom.xml          
./components/camel-hbase/pom.xml					
./components/camel-linkedin/pom.xml              
./components/camel-soap/pom.xml                    
./components/camel-stream/pom.xml                    
./components/camel-sql/pom.xml          
./components/camel-jetty/pom.xml                    
./components/camel-hazelcast/pom.xml                    
./components/camel-cxf/pom.xml          
./components/camel-bam/pom.xml          
./components/camel-cxf-transport/pom.xml          
./components/camel-mqtt/pom.xml                    
./components/camel-box/pom.xml              
./components/camel-urlrewrite/pom.xml          
./components/camel-jms/pom.xml                    
./components/camel-facebook/pom.xml          
./components/camel-facebook/pom.xml              
./components/camel-script/pom.xml                    
./components/camel-test-blueprint/pom.xml                    
./components/camel-mina2/pom.xml									
./components/camel-servlet/pom.xml          
./components/camel-http4/pom.xml                
./components/camel-quartz/pom.xml          
./components/camel-twitter/pom.xml          
./components/camel-twitter/pom.xml                
./components/camel-sap-netweaver/pom.xml                    
./components/camel-sap-netweaver/pom.xml                            
./components/camel-servletlistener/pom.xml          
./components/camel-hawtdb/pom.xml                
./components/camel-leveldb/pom.xml                
./examples/pom.xml                    
./examples/camel-example-loan-broker/pom.xml					
./examples/camel-example-bam/pom.xml 
{code}

and we can use the tips from Maven-surefire-plugin *Migrating the Deprecated forkMode Parameter
to forkCount and reuseForks* described here: *[http://maven.apache.org/surefire/maven-surefire-plugin/examples/fork-options-and-parallel-execution.html]*

I can take care of this if you think is useful. For example i've just fixed the camel-sjms
component by passing from 

{code:xml}
<forkMode>pertest</forkMode>
{code}

to 
{code:xml}
<forkCount>1</forkCount>
<reuseForks>false</reuseForks>
{code}

What do you think about?

> Fix Maven surefire warning during build
> ---------------------------------------
>
>                 Key: CAMEL-8021
>                 URL: https://issues.apache.org/jira/browse/CAMEL-8021
>             Project: Camel
>          Issue Type: Task
>          Components: build system
>            Reporter: Claus Ibsen
>            Priority: Minor
>
> We get
> [WARNING] The parameter forkMode is deprecated since version 2.14. Use forkCount and
reuseForks instead.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message