Bug 1193473
Summary: | Arquillian tests fail on java.lang.ClassCastException | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] JBoss BRMS Platform 6 | Reporter: | Tomas David <tdavid> | ||||
Component: | Quickstarts | Assignee: | Bill Rainford <brainfor> | ||||
Status: | CLOSED EOL | QA Contact: | Tomas David <tdavid> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 6.1.0 | ||||||
Target Milestone: | ER6 | ||||||
Target Release: | 6.1.0 | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2020-03-27 20:05:47 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
This seems to related to the Sonatype Aether vs Eclipse Aether changes between different maven versions. I will investigate further. PR sent by Tomas https://github.com/jboss-developer/jboss-brms-quickstarts/pull/18 Thanks, I will take a look. Sorry. Correct command is: mvn clean install -Parq-jbossas-remote -s [settingsLocation] -Dorg.apache.maven.user-settings=[settingsLocation] Fixed on 6.1.x (that is correct branch for the QS repo): https://github.com/jboss-developer/jboss-brms-quickstarts/commit/fd286db5e44e6ff0a99b6ae2c14a1a5e038742d4 Verified on BRMS 6.1.0.ER6. |
Created attachment 992649 [details] Exception Description of problem: When settings.xml file is located in other location than ~/.m2, arquillian tests fail on java.lang.ClassCastException. Version-Release number of selected component (if applicable): 6.1.0.ER5 How reproducible: - Steps to Reproduce: 1. Run command mvn clean install jboss-as:deploy -s [settingsLocation] -Dorg.apache.maven.user-settings=[settingsLocation] in helloworld-cep or stateful-ksession directory. Actual results: java.lang.ClassCastException: Cannot cast org.apache.maven.repository.internal.DefaultVersionResolver to org.sonatype.aether.impl.VersionResolver Expected results: Tests pass. Additional info: -