Hi Ashok...
Run the following command instead
mvn -Dmaven.test.skip -Dmaven.itest.skip -Dassemble clean install
And if you want to get a report about unit tests result without breaking
the build run this command
mvn -Dmaven.test.failure.ignore -Dmaven.itest.failure.ignore -Dassemble
clean install
On 9/5/07, Ashok Poralu <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I have downloaded the source from
> http://svn.apache.org/repos/asf/openejb/trunk/openejb3
>
> And I tried to build the source through the command
> c:\openejb3> mvn clean install -Dassemble
>
> the build failed with the following information.
> -------------------------------------------------------
> T E S T S
> -------------------------------------------------------
> Running org.apache.openejb.jee.jpa.JaxbTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.859 sec
> Running org.apache.openejb.jee.oejb2.OpenejbJarTest
> Tests run: 5, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 1.375 sec
> <<< FA
> ILURE!
> Running org.apache.openejb.jee.oejb3.OpenejbJarTest
> unmarshalled
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.078 sec
> Running org.apache.openejb.jee.oejb2.ConversionTest
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.078 sec
> <<< FA
> ILURE!
> Running org.apache.openejb.jee.JeeTest
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.735 sec
> Running org.apache.openejb.jee.jpa.PersistenceXmlTest
> unmarshalled
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec
>
> Results :
> Tests run: 12, Failures: 4, Errors: 0, 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: 41 seconds
> [INFO] Finished at: Wed Sep 05 14:42:09 IST 2007
> [INFO] Final Memory: 14M/55M
> [INFO]
> ------------------------------------------------------------------------
>
> Also I observed the exception
> org.apache.maven.BuildFailureException: There are test failures.
>
> any idea why it is failing?
> I appreciate your help
>
> Thanks,
> Ashok Poralu
>
--
Thanks
- Mohammad Nour