[arquillian-issues] [JBoss JIRA] (ARQ-2130) Unaccessible arquillian-was-remote-8.5

Vlastislav Ramik (JIRA) issues at jboss.org
Wed Jul 26 05:41:00 EDT 2017


    [ https://issues.jboss.org/browse/ARQ-2130?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13440368#comment-13440368 ] 

Vlastislav Ramik edited comment on ARQ-2130 at 7/26/17 5:40 AM:
----------------------------------------------------------------

[~gpoul] oh, I missed the info in the docs. Basically yes, the issue is about not being available from maven central or http://repository.jboss.org/nexus and it's uncomfortable to build it with every jenkins build.

Anyway, I was able to build it locally with given instructions. But now I have an issue with using it. Maven says: {noformat}[WARNING] The POM for org.jboss.arquillian.container:arquillian-was-remote-8.5:jar:1.0.0.Beta2 is invalid, 
transitive dependencies (if any) will not be available{noformat}

and then I get {noformat}
java.lang.RuntimeException: Could not create new instance of class org.jboss.arquillian.test.impl.EventTestRunnerAdaptor
Caused by: java.lang.reflect.InvocationTargetException
Caused by: java.lang.NoClassDefFoundError: Lcom/ibm/websphere/management/AdminClient;
Caused by: java.lang.ClassNotFoundException: com.ibm.websphere.management.AdminClient
{noformat}

Edit: the problem is that I have to set WAS85_HOME for the test build to have access to transitive dependencies, shoudn't be also documented?



was (Author: vramik):
[~gpoul] oh, I missed the info in the docs. Basically yes, the issue is about not being available from maven central or http://repository.jboss.org/nexus and it's uncomfortable to build it with every jenkins build.

Anyway, I was able to build it locally with given instructions. But now I have an issue with using it. Maven says: {noformat}[WARNING] The POM for org.jboss.arquillian.container:arquillian-was-remote-8.5:jar:1.0.0.Beta2 is invalid, 
transitive dependencies (if any) will not be available{noformat}

and then I get {noformat}
java.lang.RuntimeException: Could not create new instance of class org.jboss.arquillian.test.impl.EventTestRunnerAdaptor
Caused by: java.lang.reflect.InvocationTargetException
Caused by: java.lang.NoClassDefFoundError: Lcom/ibm/websphere/management/AdminClient;
Caused by: java.lang.ClassNotFoundException: com.ibm.websphere.management.AdminClient
{noformat}

I guess it might be related to dependencies with <scope>system</scope> :
* https://github.com/arquillian/arquillian-container-was/blob/master/was-remote-8.5/pom.xml#L105-L111
* https://github.com/arquillian/arquillian-container-was/blob/master/was-remote-8.5/pom.xml#L136-L150

I know it's OT, should I open anothe issue on that?


> Unaccessible arquillian-was-remote-8.5
> --------------------------------------
>
>                 Key: ARQ-2130
>                 URL: https://issues.jboss.org/browse/ARQ-2130
>             Project: Arquillian
>          Issue Type: Enhancement
>          Components: WebSphere Containers
>    Affects Versions: was_1.0.0.Beta2
>            Reporter: Vlastislav Ramik
>            Assignee: Gerhard Poul
>            Priority: Critical
>
> I'm not able to get 
> {noformat} 
> <groupId>org.jboss.arquillian.container</groupId>
> <artifactId>arquillian-was-remote-8.5</artifactId>
> <version>1.0.0.Beta2</version>
> {noformat}
> It seems that the module is not released: https://github.com/arquillian/arquillian-container-was/blob/master/pom.xml#L79-L88



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the arquillian-issues mailing list