That would not work easily since packaging is not the same as type e.g.
packaging defined in the pom could be "provisio" for a jar, or "hpi" and there is a hpi as well as a jar file and so on. The only reference between packaging and type is the plugin that implements that .. and that is not known to Maven at runtime when downloading dependencies..
Manfred
ph...@darwino.com wrote on 06.04.2017 05:57:
> Yes but when you are referencing the dependency, you have to specify aar. The default value is currently always jar, while picking up the packaging type from the pom would be better in my opinion.
>
> On Tuesday, April 4, 2017 at 3:49:57 PM UTC-4, Malachi de Ćlfweald wrote:
>>
>>
>> I know I haven't been following lately, but...
>>
>>
>> Looking in my local $ANDROID_HOME/extras/android/m2repository/com/android/support/appcompat-v7/23.1.1/appcompat-v7-23.1.1.pom it does specify <packaging>aar</packaging> and there is no .jar version for it to get confused with... I wouldn't think you would have to manually specify the type when the only one available is specified in it's own pom...?
>>
>>
>> Malachi de Ćlfweald
>>
http://www.google.com/ <
http://www.google.com/profiles/malachid> profiles/malachid
>>
>>
>> On Tue, Apr 4, 2017 at 12:36 PM, Manfred Moser <
man...@mosabuam.com <%20target=> > wrote:
>>> Add an exclusion of the wrong dependency to the ibm dependency and then add the right one in as a separate dependency.
>>>
>>> Manfred
>>>
>>>
>>> Philippe Riand wrote on 02.04.2017 07:08:
>>>
>>> > I'd like to consume the IBM Android mobile first API available here:
https://console.ng.bluemix. <
https://console.ng.bluemix.net/docs/services/mobilepush/c_android_enable.html#tag_based_notifications> net/docs/services/mobilepush/c_android_enable.html#tag_based_notifications
>>> > To unsubscribe from this group and stop receiving emails from it, send an email to maven-android-developers+ <%20target=>
unsub...@googlegroups.com <mailto:
maven-android- <%20target=>
developers+...@googlegroups.com> .
>>> > For more options, visit
https://groups.google.com/d/ <
https://groups.google.com/d/optout> optout <
https://groups.google.com/d/ <
https://groups.google.com/d/optout> optout> .
>>>
>>>
>>> --
>>> You received this message because you are subscribed to the Google Groups "Maven Android Developers" group.
>>> To unsubscribe from this group and stop receiving emails from it, send an email to maven-android-developers+ <%20target=>
unsub...@googlegroups.com.
>>> For more options, visit
https://groups.google.com/d/ <
https://groups.google.com/d/optout> optout.
>>>
>>>
> --
> You received this message because you are subscribed to the Google Groups "Maven Android Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
maven-android-deve...@googlegroups.com <mailto:
maven-android-deve...@googlegroups.com> .