commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Neidhart <thomas.neidh...@gmail.com>
Subject Re: [math] workaround to get site reports to run WAS: Re: [math] spinning BOBYQAOptimizerTest
Date Sat, 08 Sep 2012 20:25:29 GMT
On 09/08/2012 10:21 PM, Thomas Neidhart wrote:
> On 09/08/2012 07:05 PM, Phil Steitz wrote:
>> Per the thread below, "mvn site" now takes an very, very long time
>> to run on many (most?) platforms, so as a workaround until we figure
>> out how to fix the tests or plugins, here is a quick way to get the
>> basic site generated locally with static analysis reports.  Use "mvn
>> clean test" first to verify that tests are all good and then skip
>> the tests when generating the site:
>>
>> mvn -DskipTests=true site
> 
> another way as highlighted by sebb a few weeks ago is to run it like this:
> 
> mvn -Pfast clean site

oh, this is not by default in the pom.xml, you have to add the following
to it (I kept findbugs and pmd enabled):

<profiles>
   <profile>
     <id>fast</id>
     <properties>
       <skipTests>true</skipTests>
       <maven.javadoc.skip>true</maven.javadoc.skip>
       <maven.clover.skip>true</maven.clover.skip>
       <cobertura.skip>true</cobertura.skip>
<!--         <findbugs.skip>true</findbugs.skip> -->
<!--         <pmd.skip>true</pmd.skip> -->
     </properties>
  </profile>
</profiles>

Thomas

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message