Hello Evaldo, Generally when I want to build the project I use the quick build version using the command:
mvn -Pquick -Dsurefire.useFile=false -DdisableXmlReport=true -DuniqueVersion=false -ff -Dassemble -DskipTests -DfailIfNoTests=false clean install Now the full version, it may be breaking due to machine processing or something like that. I don't think I'll ever be able to build with complete tests. On 2024/06/18 20:13:58 Evaldo Junior wrote: > I have a question, i'm new to the Tomee project, i tried to build the > application, and an error occurred. > The error is occurring in a unit test. > > Please, how should i proceed? > Should i comment the line with the error to execute, or comment the unit > test method, which is giving this error ? > > The test fails in the class ArchivingTest.java, in the method logAndRotate, > in the lines 126,133 and 134. > If I run the test individually, no errors occur. > > I run the build with the command: mvn clean install > > I see that exists arguments of line commands, for the skip part of tests, > please, should i use them ? > > Below is the print of the class: > > [image: image.png] > > My environment: > > Jdk 17 - Openjdk-17.0.11.0.9-1- RedHat Version > Eclipse - 2022-12 (4.26.0) > Maven - 3.8.3 version > > > Best Regards, > > > Evaldo Junior >
