On 15 April 2013 03:38, Luke Daley <luke.da...@gradleware.com> wrote:

>
> On 12/04/2013, at 8:59 PM, Daz DeBoer <darrell.deb...@gradleware.com>
> wrote:
>
> > G'day
> > As reported in
> http://forums.gradle.org/gradle/topics/how_do_i_get_rid_of_packaging_deprecation_warnings_when_adding_a_dependency_on_a_war
> ,
> > there is not currently any way to resolve a 'war' module packaged for
> > a maven repository without getting the deprecation warning:
> >
> > "Relying on packaging to define the extension of the main artifact has
> > been deprecated and is scheduled to be removed in Gradle 2.0"
> >
> > Unfortunately, there's no way currently for a build consumer to avoid
> > this warning. The intent of
> >
> https://github.com/gradle/gradle/blob/master/design-docs/dependency-management-bug-fixes.md#correct-handling-of-packaging-and-dependency-type-declared-in-poms
> > is that we only show the deprecation warning when the "type:'war'"
> > attribute was not set on the dependency declaration.
> >
> > I think we got half way through the implementation of this story (by
> > fixing
> https://github.com/gradle/gradle/blob/master/design-docs/dependency-management-bug-fixes.md#correct-handling-of-packaging-and-dependency-type-declared-in-poms
> ),
> > which meant we added the deprecation warning but never added the way
> > to avoid it.
> >
> > I suggest that we remove the deprecation warning until we finish this
> > implementation.
>
> +1.
>

Yet another user report in the forums:
http://forums.gradle.org/gradle/topics/jhuxhorn_googlemail_com-zal6c?utm_content=topic_link&utm_medium=email&utm_source=new_topic

-- 
Darrell (Daz) DeBoer
Principal Engineer, Gradleware
http://www.gradleware.com
Join us at the Gradle Summit 2013, June 13th and 14th in Santa Clara, CA:
http://www.gradlesummit.com

Reply via email to