[shrinkwrap-issues] [JBoss JIRA] (SHRINKRES-73) Improve error message for unsupported type of dependency

Karel Piwko (JIRA) issues at jboss.org
Fri Sep 26 08:08:05 EDT 2014


     [ https://issues.jboss.org/browse/SHRINKRES-73?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Karel Piwko closed SHRINKRES-73.
--------------------------------


> Improve error message for unsupported type of dependency
> --------------------------------------------------------
>
>                 Key: SHRINKRES-73
>                 URL: https://issues.jboss.org/browse/SHRINKRES-73
>             Project: ShrinkWrap Resolvers
>          Issue Type: Feature Request
>    Affects Versions: 2.0.0-alpha-4
>            Reporter: Karel Piwko
>             Fix For: 2.2.0-beta-1
>
>
> <dependency> declaration might contain a type which is not valid at given place, such as import.
> We should definitely make exception message better if that happens.
> {code}
> IllegalArgumentException : Packaging type import is not supported
> {code}
> As a side note, type can be virtually anything, I'm not sure if we can provide a typesafe enum here.



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the shrinkwrap-issues mailing list