[ 
https://issues.apache.org/jira/browse/SLING-824?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Felix Meschberger resolved SLING-824.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: JCR Install 2.0.4

It looks like I did too much when unfolding the parent pom dependencies for 
SLING-811.

The httpclient dependency must be compile scoped and not test scoped for the 
tests to be runnable.

Fixed in Rev. 733351.

If this also solves the issue on your platform, please close this issue. Thanks.

> Build fails due to multiple test failures. (Could not initialize class 
> org.apache.commons.httpclient.HttpClient)
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: SLING-824
>                 URL: https://issues.apache.org/jira/browse/SLING-824
>             Project: Sling
>          Issue Type: Bug
>          Components: JCR Install
>    Affects Versions: JCR Install 2.0.4
>         Environment: Ubuntu 8.10 x64, Sun JDK 1.6.0.10, Eclipse 3.4.1, Maven 
> 2.0.9
>            Reporter: Pontus Amberg
>            Assignee: Felix Meschberger
>            Priority: Minor
>             Fix For: JCR Install 2.0.4
>
>         Attachments: 
> TEST-org.apache.sling.jcr.jcrinstall.integrationtest.HttpPingTest.xml, 
> TEST-org.apache.sling.jcr.jcrinstall.integrationtest.InstallClonedBundlesTest.xml,
>  
> TEST-org.apache.sling.jcr.jcrinstall.integrationtest.StopAndChangeBundlesTest.xml,
>  TEST-org.apache.sling.jcr.jcrinstall.integrationtest.StopAndRestartTest.xml
>
>
> Building Sling fails due to failing tests. After the tests has failed the 
> build process will get stuck and never terminate.
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> Running 
> org.apache.sling.jcr.jcrinstall.integrationtest.StopAndChangeBundlesTest
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.107 sec <<< 
> FAILURE!
> Running org.apache.sling.jcr.jcrinstall.integrationtest.HttpPingTest
> Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.01 sec <<< 
> FAILURE!
> Running 
> org.apache.sling.jcr.jcrinstall.integrationtest.InstallClonedBundlesTest
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.011 sec <<< 
> FAILURE!
> Running org.apache.sling.jcr.jcrinstall.integrationtest.StopAndRestartTest
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.005 sec <<< 
> FAILURE!
> Results :
> Tests in error: 
>   
> testStopAndRestart(org.apache.sling.jcr.jcrinstall.integrationtest.StopAndChangeBundlesTest)
>   
> testWebServerRoot(org.apache.sling.jcr.jcrinstall.integrationtest.HttpPingTest)
>   test404(org.apache.sling.jcr.jcrinstall.integrationtest.HttpPingTest)
>   
> testInstallAndRemoveBundles(org.apache.sling.jcr.jcrinstall.integrationtest.InstallClonedBundlesTest)
>   
> testStopAndRestart(org.apache.sling.jcr.jcrinstall.integrationtest.StopAndRestartTest)
> Tests run: 5, Failures: 0, Errors: 5, Skipped: 0

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to