[ 
https://jira.codehaus.org/browse/MSITE-605?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Osipov closed MSITE-605.
--------------------------------

    Resolution: Won't Fix

Please refer to 
https://cwiki.apache.org/confluence/display/MAVEN/The+Great+JIRA+Cleanup+of+2014
 if you're wondering why this issue was closed out.

> Surefire tests through Cobertura fail when site-deploy is called during 
> release:deploy
> --------------------------------------------------------------------------------------
>
>                 Key: MSITE-605
>                 URL: https://jira.codehaus.org/browse/MSITE-605
>             Project: Maven Site Plugin
>          Issue Type: Bug
>          Components: site:deploy
>    Affects Versions: 3.0-beta-3
>         Environment: Apache Maven 3.0.3 (r1075438; 2011-02-28 18:31:09+0100)
> Maven home: D:\apache-maven-3.0.3\bin\..
> Java version: 1.6.0_25, vendor: Sun Microsystems Inc.
> Java home: E:\Program Files\Java\jdk1.6.0_25\jre
> Default locale: nl_NL, platform encoding: Cp1252
> OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
>            Reporter: Robert Scholte
>
> While releasing the sql-maven-plugin-1.5 I hit this problem.
> There's a chain of plugins being called, but it seems likely that the 
> maven-site-plugin is the weakest link.
> {noformat}
>     [INFO] --- cobertura-maven-plugin:2.4:instrument (report:cobertura) @ 
> sql-maven-plugin ---
>     [INFO] Cobertura 1.9.4.1 - GNU GPL License (NO WARRANTY) - See COPYRIGHT 
> file
>     Instrumenting 7 files to 
> D:\java-workspace\codehaus-mojo\sql-maven-plugin\target\checkout\target\generated-classes\cobertura
>     [cobertura] WARN  [main] 
> net.sourceforge.cobertura.instrument.ClassInstrumenter - No line number 
> information found for class org.codehaus.mojo.sql.SqlExecMojo$1.  Perhaps you 
> need to compile with debug=true?
>     Cobertura: Saved information on 7 classes.
>     Instrument time: 533ms
>     [INFO] Instrumentation was successful.
>     [INFO]
>     [INFO] --- maven-resources-plugin:2.4.3:testResources 
> (default-testResources) @ sql-maven-plugin ---
>     [INFO] Using 'UTF-8' encoding to copy filtered resources.
>     [INFO] Copying 1 resource
>     [INFO]
>     [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) 
> @ sql-maven-plugin ---
>     [INFO] Nothing to compile - all classes are up to date
>     [INFO]
>     [INFO] --- maven-surefire-plugin:2.7.2:test (default-test) @ 
> sql-maven-plugin ---
>     [INFO] Surefire report directory: 
> D:\java-workspace\codehaus-mojo\sql-maven-plugin\target\checkout\target\surefire-reports
>     -------------------------------------------------------
>      T E S T S
>     -------------------------------------------------------
>     Running org.codehaus.mojo.sql.SqlExecMojoTest
>     Tests run: 26, Failures: 0, Errors: 20, Skipped: 0, Time elapsed: 3.614 
> sec
> <<< FAILURE!
>     Running org.codehaus.mojo.sql.SqlSplitterTest
>     Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 56.521 sec
>     Results :
>     Tests in error:
>       testNoCommandMojo(org.codehaus.mojo.sql.SqlExecMojoTest): 
> org/apache/commons/logging/LogFactory
>       testCreateCommandMojo(org.codehaus.mojo.sql.SqlExecMojoTest): Could not 
> initialize class org.axiondb.jdbc.AxionConnection
>       testDropCommandMojo(org.codehaus.mojo.sql.SqlExecMojoTest): Could not 
> initialize class org.axiondb.jdbc.AxionConnection
>       testFileSetMojo(org.codehaus.mojo.sql.SqlExecMojoTest): Could not 
> initialize class org.axiondb.jdbc.AxionConnection
>       testFileArrayMojo(org.codehaus.mojo.sql.SqlExecMojoTest): Could not 
> initialize class org.axiondb.jdbc.AxionConnection
>       testAllMojo(org.codehaus.mojo.sql.SqlExecMojoTest): Could not 
> initialize class org.axiondb.jdbc.AxionConnection
>       testOrderFile(org.codehaus.mojo.sql.SqlExecMojoTest): Could not 
> initialize class org.axiondb.jdbc.AxionConnection
>       testOnErrorContinueMojo(org.codehaus.mojo.sql.SqlExecMojoTest): Could 
> not initialize class org.axiondb.jdbc.AxionConnection
>       testOnErrorAbortMojo(org.codehaus.mojo.sql.SqlExecMojoTest): Could not 
> initialize class org.axiondb.jdbc.AxionConnection
>       testOnErrorAbortAfterMojo(org.codehaus.mojo.sql.SqlExecMojoTest): Could 
> not initialize class org.axiondb.jdbc.AxionConnection
>       testDefaultUsernamePassword(org.codehaus.mojo.sql.SqlExecMojoTest): 
> Could not initialize class org.axiondb.jdbc.AxionConnection
>       testUsernamePasswordLookup(org.codehaus.mojo.sql.SqlExecMojoTest): 
> Could not initialize class org.axiondb.jdbc.AxionConnection
>       testBlockMode(org.codehaus.mojo.sql.SqlExecMojoTest): Could not 
> initialize class org.axiondb.jdbc.AxionConnection
>       testKeepFormat(org.codehaus.mojo.sql.SqlExecMojoTest): Could not 
> initialize class org.axiondb.jdbc.AxionConnection
>       testBadDelimiter(org.codehaus.mojo.sql.SqlExecMojoTest): Could not 
> initialize class org.axiondb.jdbc.AxionConnection
>       testGoodDelimiter(org.codehaus.mojo.sql.SqlExecMojoTest): Could not 
> initialize class org.axiondb.jdbc.AxionConnection
>       testBadDelimiterType(org.codehaus.mojo.sql.SqlExecMojoTest): Could not 
> initialize class org.axiondb.jdbc.AxionConnection
>       testGoodDelimiterType(org.codehaus.mojo.sql.SqlExecMojoTest): Could not 
> initialize class org.axiondb.jdbc.AxionConnection
>       testOutputFile(org.codehaus.mojo.sql.SqlExecMojoTest): Could not 
> initialize class org.axiondb.jdbc.AxionConnection
>       testAnonymousBlock(org.codehaus.mojo.sql.SqlExecMojoTest): Could not 
> initialize class org.axiondb.jdbc.AxionConnection
>     Tests run: 34, Failures: 0, Errors: 20, Skipped: 0
>     [ERROR] There are test failures.
>     Please refer to 
> D:\java-workspace\codehaus-mojo\sql-maven-plugin\target\checkout\target\surefire-reports
>  for the individual test results.
>     [INFO]
>     [INFO] <<< cobertura-maven-plugin:2.4:cobertura (report:cobertura) @ 
> sql-maven-plugin <<<
> {noformat}
> I've managed to work around this issue: 
> go to {{target/checkout}} and call {{mvn site-deploy}}



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Reply via email to