Nick,
are you able to see what is doing Maven in those 30 minutes ?

you can  run with the "-X" flag to see Maven debug

also using jstack may be a good starting point if logs do not help.

Cheers
Enrico

Il giorno lun 3 mag 2021 alle ore 13:43 Nick Stolwijk
<nick.stolw...@gmail.com> ha scritto:
>
> Hi folks,
>
> I was curious about the new verbose functionality in the
> maven-dependency-plugin.[1] I cloned the repository and built a local
> snapshot of master.
>
> Even on a very simple project building the verbose dependency tree took 30
> minutes!
>
> I am using Maven 3.8.1 and Java 16.
>
> Is this a known issue? Is there something wrong with my local setup? Can I
> do something to analyse this?
>
> [INFO] Scanning for projects...
> [INFO]
> [INFO] ------------< com.example.bibliotheek.utilities:commons-lang
> >-------------
> [INFO] Building Bibliotheek - Commons-Lang 1.5.2-SNAPSHOT
> [INFO] -------------------------------[ bundle
> ]-------------------------------
> [INFO]
> [INFO] --- maven-dependency-plugin:3.1.4-SNAPSHOT:tree (default-cli) @
> commons-lang ---
> [INFO] com.example.bibliotheek.utilities:commons-lang:bundle:1.5.2-SNAPSHOT
> [INFO] +- org.apache.commons:commons-lang3:jar:3.12.0:compile
> [INFO] +- org.junit.jupiter:junit-jupiter-api:jar:5.7.1:test
> [INFO] +- org.assertj:assertj-core:jar:3.19.0:test
> [INFO] \- nl.jqno.equalsverifier:equalsverifier:jar:3.5.4:test
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time:  31:47 min
> [INFO] Finished at: 2021-05-03T12:51:06+02:00
> [INFO]
> ------------------------------------------------------------------------
>
> [1] https://issues.apache.org/jira/browse/MDEP-644
>
> With regards,
>
> Nick Stolwijk
>
> ~~~ Try to leave this world a little better than you found it and, when
> your turn comes to die, you can die happy in feeling that at any rate you
> have not wasted your time but have done your best ~~~
>
> Lord Baden-Powell

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to