You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "lvxiaoyi@matrixelements.com" <lv...@matrixelements.com> on 2024/10/18 03:18:33 UTC
In java maven project, how to find the dependency's completed path if a jar is not found?
I opened a java mave project in IDEA, the IDEA prompt "Could not find artifact x.y....", the project has many depencencies, one of these dependencies imports the "x.y", that means the "x.y" is a sub-dependency, but how to know which dependency imports the "x.y"? Is there anyway to prompt the dependence completed path of the x.y?
I have tried IDEA plugin MavenHelper, but it seems that the plugin only can analyse the found dependencies.
Thanks.
lvxiaoyi@matrixelements.com
Re: In java maven project, how to find the dependency's completed path if a jar is not found?
Posted by Abel Salgado Romero <ab...@gmail.com>.
Sorry, I didn't realize this mail came from the mailing list. Still new.
On Fri, Oct 18, 2024 at 9:36 AM Abel Salgado Romero <ab...@gmail.com>
wrote:
> If in Maven, `mvn dependency:tree` (from the terminal) will show you all
> dependencies in a tree structure where you'll see who is importing x.y.
> If in Gradle, `gradle dependencies` will do the same.
> If none of the above, I have no idea.
>
> Is this an asciidoctor issue? Please open an issue in the GH repos if so.
>
> cheers,
>
> On Fri, Oct 18, 2024 at 5:20 AM lvxiaoyi@matrixelements.com <
> lvxiaoyi@matrixelements.com> wrote:
>
>> I opened a java mave project in IDEA, the IDEA prompt "Could not find
>> artifact x.y....", the project has many depencencies, one of these
>> dependencies imports the "x.y", that means the "x.y" is a sub-dependency,
>> but how to know which dependency imports the "x.y"? Is there anyway to
>> prompt the dependence completed path of the x.y?
>> I have tried IDEA plugin MavenHelper, but it seems that the plugin only
>> can analyse the found dependencies.
>> Thanks.
>>
>>
>>
>> lvxiaoyi@matrixelements.com
>>
>>
Re: Re: In java maven project, how to find the dependency's completed path if a jar is not found?
Posted by "lvxiaoyi@matrixelements.com" <lv...@matrixelements.com>.
`mvn dependency:tree` works, thank you Abel.
lvxiaoyi@matrixelements.com
From: Abel Salgado Romero
Date: 2024-10-18 15:36
To: Maven Users List
Subject: Re: In java maven project, how to find the dependency's completed path if a jar is not found?
If in Maven, `mvn dependency:tree` (from the terminal) will show you all
dependencies in a tree structure where you'll see who is importing x.y.
If in Gradle, `gradle dependencies` will do the same.
If none of the above, I have no idea.
Is this an asciidoctor issue? Please open an issue in the GH repos if so.
cheers,
On Fri, Oct 18, 2024 at 5:20 AM lvxiaoyi@matrixelements.com <
lvxiaoyi@matrixelements.com> wrote:
> I opened a java mave project in IDEA, the IDEA prompt "Could not find
> artifact x.y....", the project has many depencencies, one of these
> dependencies imports the "x.y", that means the "x.y" is a sub-dependency,
> but how to know which dependency imports the "x.y"? Is there anyway to
> prompt the dependence completed path of the x.y?
> I have tried IDEA plugin MavenHelper, but it seems that the plugin only
> can analyse the found dependencies.
> Thanks.
>
>
>
> lvxiaoyi@matrixelements.com
>
>
Re: In java maven project, how to find the dependency's completed path if a jar is not found?
Posted by Abel Salgado Romero <ab...@gmail.com>.
If in Maven, `mvn dependency:tree` (from the terminal) will show you all
dependencies in a tree structure where you'll see who is importing x.y.
If in Gradle, `gradle dependencies` will do the same.
If none of the above, I have no idea.
Is this an asciidoctor issue? Please open an issue in the GH repos if so.
cheers,
On Fri, Oct 18, 2024 at 5:20 AM lvxiaoyi@matrixelements.com <
lvxiaoyi@matrixelements.com> wrote:
> I opened a java mave project in IDEA, the IDEA prompt "Could not find
> artifact x.y....", the project has many depencencies, one of these
> dependencies imports the "x.y", that means the "x.y" is a sub-dependency,
> but how to know which dependency imports the "x.y"? Is there anyway to
> prompt the dependence completed path of the x.y?
> I have tried IDEA plugin MavenHelper, but it seems that the plugin only
> can analyse the found dependencies.
> Thanks.
>
>
>
> lvxiaoyi@matrixelements.com
>
>