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

Karel Piwko (JIRA) issues at jboss.org
Sat Sep 20 15:13:02 EDT 2014


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

Karel Piwko resolved SHRINKRES-73.
----------------------------------
    Resolution: Out of Date


Packaging type is no longer enum since https://github.com/shrinkwrap/resolver/commit/ee71e55cee525c6985c973542df9e44f5dc176b6, closing this issue as out of date.

> 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-alpha-3
>
>
> <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