PearInstallerTest fails when running from mvn install target - caused by class
loading issues in the PEAR verification code
---------------------------------------------------------------------------------------------------------------------------
Key: UIMA-411
URL: https://issues.apache.org/jira/browse/UIMA-411
Project: UIMA
Issue Type: Bug
Components: Core Java Framework
Affects Versions: 2.1
Reporter: Michael Baessler
Assigned To: Michael Baessler
Fix For: 2.2
The PearInstallerTest fails when running from maven install target. The cause
of the failure is a class loading issue in the PEAR verification code.
The PEAR verification code starts a new process for the verification with the
classpath either build from UIMA_HOME or build from java.class.path. When
running the tests with mvn install target, Maven has it's own class loading
framework (classworlds) so the classpath that is used for the pear verification
does only containg the jar files for the classworld class loading framework but
not the UIMA test and runtime classes.
To fix this issue the PEAR verification code must be modified/changed so that
the UIMA extension class loading is used to verify the installed components.
The same fix should be applied when testing the installed pear with the CVD GUI
that can be started from the PearInstaller GUI.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.