You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Rami Ojares <ra...@archon.fi> on 2016/02/22 09:45:31 UTC
Why is MavenProject.getDependencyArtifacts() deprecated?
All I could find was this but to me it does not give any reason for
deprecating getDependencyArtifacts()
- Rami
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: Why is MavenProject.getDependencyArtifacts() deprecated?
Posted by Igor Fedorenko <ig...@ifedorenko.com>.
https://issues.apache.org/jira/browse/MNG-5818
Also, note that the method only returns direct project dependencies and
the result is only populated during build lifecycle execution. In most
cases you likely want getDependencies or getArtifact.
--
Regards,
Igor
On Mon, Feb 22, 2016, at 03:45 AM, Rami Ojares wrote:
> All I could find was this but to me it does not give any reason for
> deprecating getDependencyArtifacts()
>
> - Rami
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org