Hi Matt.

 - DskipTests skips tests execution, not test compilation. If you used
that option then your failure is not normal.

By the way, such "non compilable/non runnable" tests seems really weird
to me. Could you:
 - Give me your environment settings: OS/OS version/ Java JDK +
version/maven version?
 - Share some errors you get on the mvn clean install ?

Thanks,

Cheers

Le 03/12/2017 à 07:09, cryptearth a écrit :
> Hey there all,
> 
> as one of you told me long ago to skip tests to get a working package
> fast the current build somewhat fails to "skip" the tests.
> 
> ~/james-project/mpt/impl/smtp/core/src/main/java/org/apache/james/mpt/smtp
> contains two test-classes: ForwardSmtpTest.java and
> SmtpStarttlsCommandTest.java. So as the names suggest these seem to be
> test-classes - but just in the wrong place. They error cause they depend
> on some other test-fake-classes - wich are not available because they
> already got skipped at this point.
> So after "deactivating" them by renaming the extension from .java to
> .disabled run gets through smooth and cause I use -Pwith-assembly option
> the final .jar wich contains the non-docker-version gets created and
> (after setting up needed configs) can be run straight away.
> 
> So I guess these two classes simple need a move from main to test folder
> and a clean run with -DskipTests and/or -Dmaven.test.skip=true should
> get final package pretty fast.
> 
> That's all for now ...
> 
> 
> Matt
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org
> For additional commands, e-mail: server-user-h...@james.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org
For additional commands, e-mail: server-user-h...@james.apache.org

Reply via email to