[jbosstools-issues] [JBoss JIRA] (JBIDE-21075) canonical form is required(project=arquillian-test) (NEON)

Lucia Jelinkova (JIRA) issues at jboss.org
Wed Nov 11 09:37:00 EST 2015


Lucia Jelinkova created JBIDE-21075:
---------------------------------------

             Summary: canonical form is required(project=arquillian-test) (NEON)
                 Key: JBIDE-21075
                 URL: https://issues.jboss.org/browse/JBIDE-21075
             Project: Tools (JBoss Tools)
          Issue Type: Enhancement
          Components: arquillian
            Reporter: Aslak Knutsen
            Assignee: Snjezana Peco
             Fix For: 4.3.1.Beta1


This code: 

{code}
@RunWith(Arquillian.class)
public class SimpleTestCase {

    @Deployment
    public static WebArchive test() {
        return ShrinkWrap.create(WebArchive.class)
                .addAsLibraries(Maven.resolver().resolve("").withoutTransitivity().asFile());
    }
    
    @Test
    public void shouldX() {}
}
{code}

produce the following warning:

{code}
null
org.jboss.tools.arquillian.core
Warning
Wed Sep 23 23:16:17 CEST 2015
canonical form is required(project=arquillian-test)
{code}

On top of my head I have no idea what that means. The warning contains no stack trace so hard to tell where it comes from.

With a little digging it's due to the resolve("") failing since the String input is not in the correct format. 

The warning is marked on the Method line, not on the line where the Resolver is called.

Would it be possible to re position this somehow? At least get a stack trace or something in the warning?



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jbosstools-issues mailing list