errors during ignite mvn compilation with skipTest=false

classic Classic list List threaded Threaded
2 messages Options
vbm
Reply | Threaded
Open this post in threaded view
|

errors during ignite mvn compilation with skipTest=false

vbm
Hi,

When I try to compile the ignite 2.4 source code with skipTest as false. I a
getting class not found errors.

[ERROR] warning(junit.framework.TestSuite$1)  Time elapsed: 0.001 s  <<<
FAILURE!
junit.framework.AssertionFailedError:
Exception in constructor: testExchangeOnNodeJoin
(java.lang.NoClassDefFoundError: Could not initialize class
org.apache.ignite.testframework.config.GridTestProperties

Command used: mvn clean install -Pall-java,all-scala,licenses

How to compile with skipTest as false ?


Regards,
Vishwas



--
Sent from: http://apache-ignite-developers.2346864.n4.nabble.com/
Reply | Threaded
Open this post in threaded view
|

Re: errors during ignite mvn compilation with skipTest=false

Nikolay Izhikov-2
Hello, vbm.

You should add "-DskipTests".
Please, check out [1].

mvn clean install -Pall-java,all-scala,licenses *-DskipTests*


[1] https://cwiki.apache.org/confluence/display/IGNITE/How+to+Contribute#HowtoContribute-ProjectBuild


В Ср, 06/06/2018 в 09:47 -0700, vbm пишет:

> Hi,
>
> When I try to compile the ignite 2.4 source code with skipTest as false. I a
> getting class not found errors.
>
> [ERROR] warning(junit.framework.TestSuite$1)  Time elapsed: 0.001 s  <<<
> FAILURE!
> junit.framework.AssertionFailedError:
> Exception in constructor: testExchangeOnNodeJoin
> (java.lang.NoClassDefFoundError: Could not initialize class
> org.apache.ignite.testframework.config.GridTestProperties
>
> Command used: mvn clean install -Pall-java,all-scala,licenses
>
> How to compile with skipTest as false ?
>
>
> Regards,
> Vishwas
>
>
>
> --
> Sent from: http://apache-ignite-developers.2346864.n4.nabble.com/

signature.asc (499 bytes) Download Attachment