]
Karel Piwko updated SHRINKRES-73:
---------------------------------
Fix Version/s: 2.2.0-alpha-3
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
Security Level: Public(Everyone can see)
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.