Discover modulename

Alan Bateman Alan.Bateman at oracle.com
Thu Aug 25 19:45:33 UTC 2016


On 25/08/2016 18:28, Robert Scholte wrote:

> Hi,
>
> JavaOne spoiler alert:
> I've been able to add this kind of information to the output of the 
> maven-dependency-plugin:
>
> [INFO] --- maven-dependency-plugin:3.0.0-SNAPSHOT:list (default-cli) @ 
> maven-dependency-plugin ---
> [INFO]
> [INFO] The following files have been resolved:
> [INFO]    com.google.code.findbugs:jsr305:jar:2.0.1:compile -- module 
> jsr305
> [INFO] 
> org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-6:compile -- 
> module wagon.provider.api
> [INFO]    org.apache.maven:maven-compat:jar:3.0:test -- module 
> maven.compat
> [INFO] org.apache.maven.doxia:doxia-decoration-model:jar:1.4:compile 
> -- module doxia.decoration.model
> [INFO]    org.apache.maven:maven-settings-builder:jar:3.0:compile -- 
> module maven.settings.builder
> [INFO]    org.sonatype.aether:aether-util:jar:1.7:compile -- module 
> aether.util
> [INFO]    org.apache.maven:maven-core:jar:3.0:compile -- module 
> maven.core
> etc.
>
> this way users have a relative simple way to get a complete overview 
> of all the modules used.
This looks good, a big step towards being able to check module 
dependences vs. those declared in the POM.

-Alan


More information about the jigsaw-dev mailing list