Well this depends on the unit test cases developed, maybe some of them has some issues which need to be resolved first, the command you build with - which does not skip the tests - is right, but there is something worn going on with the unit test case .
On 9/5/07, Ashok Poralu <[EMAIL PROTECTED]> wrote: > > Thanks Mohammad... > > I used the following command and able to build. > c:\openejb3> mvn clean install -Dmaven.itest.skip - > Dmaven.test.skip-Dassemble > > is there any possibility to build the container with out skipping the > tests > ? > any idea? > > thanks, > Ashok Poralu > > On 9/5/07, Mohammad Nour El-Din <[EMAIL PROTECTED]> wrote: > > > > 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.859sec > > > Running org.apache.openejb.jee.oejb2.OpenejbJarTest > > > Tests run: 5, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: > 1.375sec > > > <<< FA > > > ILURE! > > > Running org.apache.openejb.jee.oejb3.OpenejbJarTest > > > unmarshalled > > > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: > 0.078sec > > > Running org.apache.openejb.jee.oejb2.ConversionTest > > > Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: > 0.078sec > > > <<< FA > > > ILURE! > > > Running org.apache.openejb.jee.JeeTest > > > Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: > 0.735sec > > > Running org.apache.openejb.jee.jpa.PersistenceXmlTest > > > unmarshalled > > > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: > 0.031sec > > > > > > 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 > > > -- Thanks - Mohammad Nour
