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

Snjezana Peco (JIRA) issues at jboss.org
Fri Oct 9 12:41:00 EDT 2015


Snjezana Peco created JBIDE-20933:
-------------------------------------

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


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