OWL2VOWL icon indicating copy to clipboard operation
OWL2VOWL copied to clipboard

Build the jar is failing because of test failure

Open mehtanin opened this issue 4 years ago • 0 comments

When trying to build the jar file using "mvn package -P standalone-release" and "mvn package -Denv=standalone" it's failing because of test failures. Details:

`initializationError(de.uni_stuttgart.vis.vowl.owl2vowl.ConsoleMainTest) Time elapsed: 0.005 sec <<< ERROR! org.objenesis.ObjenesisException: java.lang.reflect.InvocationTargetException

Caused by: java.lang.reflect.InvocationTargetException

Caused by: java.lang.IllegalAccessError: class jdk.internal.reflect.ConstructorAccessorImpl loaded by org.powermock.core.classloader.MockClassLoader @658255aa cannot access jdk/internal/reflect superclass jdk.internal.reflect.MagicAccessorImpl

Results :

Tests in error: initializationError(de.uni_stuttgart.vis.vowl.owl2vowl.ConsoleMainTest): java.lang.reflect.InvocationTargetException

Tests run: 4, Failures: 0, Errors: 1, Skipped: 0

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project OWL2VOWL: There are test failures.`

mehtanin avatar Feb 02 '22 13:02 mehtanin