I tried to build after totaly cleaning my maven repository ( as I tought this was the scenario from Adriano) and I'm getting a simmilar issue, failure on a testing, under revision 465154. I have tried building couple times, with no luck.
[INFO] Installing D:\DEV\Projects\Tuscany\source\java\samples\sca\webapp\target\sample- webapp.war to C:\Documents and Se ttings\Administrator\.m2\repository\org\apache\tuscany\samples\sca\sample-webapp\1.0-incubator-M2-SNAPSHOT\sample-webapp -1.0-incubator-M2-SNAPSHOT.war [INFO] ---------------------------------------------------------------------------- [INFO] Building Echo DataBinding [INFO] task-segment: [install] [INFO] ---------------------------------------------------------------------------- [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:compile] [INFO] Nothing to compile - all classes are up to date [INFO] [resources:testResources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:testCompile] [INFO] Nothing to compile - all classes are up to date [INFO] [surefire:test] [INFO] Surefire report directory: D:\DEV\Projects\Tuscany\source\java\samples\sca\echo.databinding\target\surefire-repor ts ------------------------------------------------------- T E S T S ------------------------------------------------------- Running echo.DataBindingIntegrationTestCase Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.582 sec <<< FAILURE! Results : Tests in error: testTransform(echo.DataBindingIntegrationTestCase) Tests run: 1, Failures: 0, Errors: 1, Skipped: 0 [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] There are test failures. [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2 minutes 44 seconds [INFO] Finished at: Tue Oct 17 23:19:42 PDT 2006 [INFO] Final Memory: 28M/51M [INFO] ------------------------------------------------------------------------ D:\DEV\Projects\Tuscany\source\java> On 10/17/06, Venkata Krishnan <[EMAIL PROTECTED]> wrote:
Hi Adriano, All projects (or most of them atleast) in tuscany have unit tests that are executed as part of the project build. The project is compiled first and then the unit tests are run. So, while building a project you might end up with either compilation errors or errors because some unit tests have failed. The failure that you are experiencing here is to do with failure of some unit tests. Looking at the stack you have provided I am not able to make out much (maybe somebody else will be). If you can provide a little more of the stack - typically the messages related to the Tests it would help. Meanwhile, you can go ahead an build all of tuscany without getting interrupted with these breaks by using the "-fae" (fail at end) option. This options takes the build forward for all projects and finally reports the projects that have failed. - Venkat On 10/17/06, Adriano Crestani <[EMAIL PROTECTED]> wrote: > > I finally could import the project into the eclipse and I've also set the > variable M2_REPO and it seems to be working. But when I tried to compile > the > entire project I got some errors like missing classes, for example the > org.apache.tuscany.binding.axis2.AbstractMessageReceiver. So I executed > the > mvn again to check if there was missing any dependency file and I got this > failure: > > Running > org.apache.tuscany.core.implementation.processor.HeuristicAndPropertyTes > tCase > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031sec > > Results : > > Tests in error: > testBoot1Load( org.apache.tuscany.core.deployer.BootstrapDeployerTestCase > ) > testBoot1Deployment( > org.apache.tuscany.core.deployer.BootstrapDeployerTestCase > ) > testBoot2Deployment( > org.apache.tuscany.core.deployer.BootstrapDeployerTestCase > ) > testRegistrationWithoutGenerics( > org.apache.tuscany.core.builder.BuilderRegistr > yTestCase) > testDeployerBootstrap( > org.apache.tuscany.core.bootstrap.BootstrapperTestCase) > testBuildConnect( > org.apache.tuscany.core.implementation.composite.CompositeBui > lderTestCase) > > Tests run: 449, Failures: 0, Errors: 6, Skipped: 0 > > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] There are test failures. > [INFO] > ------------------------------------------------------------------------ > [INFO] For more information, run Maven with the -e switch > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 2 minutes 38 seconds > [INFO] Finished at: Tue Oct 17 03:46:03 GMT-04:00 2006 > [INFO] Final Memory: 19M/37M > [INFO] > ------------------------------------------------------------------------ > > I don't know if this failure has something to do with the missing classes, > but I need to solve this failure before compile all the project. Can > anybody > help me with that? > > Adriano Crestani > >
