[jbosstools-issues] [JBoss JIRA] (JBIDE-20795) canonical form is required(project=arquillian-test)
Aslak Knutsen (JIRA)
issues at jboss.org
Wed Sep 23 17:22:00 EDT 2015
Aslak Knutsen created JBIDE-20795:
-------------------------------------
Summary: canonical form is required(project=arquillian-test)
Key: JBIDE-20795
URL: https://issues.jboss.org/browse/JBIDE-20795
Project: Tools (JBoss Tools)
Issue Type: Enhancement
Components: arquillian
Reporter: Aslak Knutsen
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