This is bad. Similar to Gradle versions of "+" being copied into Maven poms.
If it is a Gradle Android plugin doing this then the plugin needs to be 
fixed.

Maven repos like Central should reject artifacts that provide malformed 
poms. To date they have relied upon everyone being good citizens but it 
seems like stricted enforcement is now required.

William


On Thursday, August 7, 2014 12:07:36 AM UTC+10, Vyacheslav Blinov wrote:
>
> You are referring to Gradle behaviour here. But according to maven rules 
> you should have type in your dependency declaration in pom (and pom is 
> maven specific file). Maybe there are more build/dependency management 
> systems that rely on type of dependency, but afaik at least maven users 
> are, unfortunately, in trouble here and have to use exclusions hack.
> I would say it is a bug in pom generation since pom-specific rules werent 
> preserved.
>
> 06 авг. 2014 г. 0:33 пользователь "Jake Wharton" <[email protected] 
> <javascript:>> написал:
> >
> > Type isn't needed. The pom for ABC is queried and the declared packaging 
> (aar) will be used.
> >
> >
> > On Tue, Aug 5, 2014 at 1:32 PM, Tomáš Procházka <[email protected] 
> <javascript:>> wrote:
> >>
> >> Sorry. I don't mean <scope> but <type>
> >>
> >> Dne úterý, 5. srpna 2014 22:23:36 UTC+2 Tomáš Procházka napsal(a):
> >>>
> >>> I have one gradle related question.
> >>>
> >>> This project 
> >>> https://github.com/ManuelPeinado/FadingActionBar
> >>> has one aar module  that depend on another one and on app compat 
> library.
> >>> But during deploying to the maven repository, gradle don't generate 
> <scope>aar</scope> to the dependency declaration.
> >>> So by maven definition it mean that dependency should be .jar not .aar.
> >>> It is bug of gradle itself or bug in your android plugin which define 
> aar?
> >>>
> >>> Problem is described also here:
> >>> https://github.com/ManuelPeinado/FadingActionBar/issues/70
> >>
> >> -- 
> >> You received this message because you are subscribed to the Google 
> Groups "adt-dev" group.
> >> To unsubscribe from this group and stop receiving emails from it, send 
> an email to [email protected] <javascript:>.
> >> For more options, visit https://groups.google.com/d/optout.
> >
> >
> > -- 
> > You received this message because you are subscribed to the Google 
> Groups "adt-dev" group.
> > To unsubscribe from this group and stop receiving emails from it, send 
> an email to [email protected] <javascript:>.
> > For more options, visit https://groups.google.com/d/optout.
>  

-- 
You received this message because you are subscribed to the Google Groups 
"adt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to