Re: Get licenses of transitive dependencies

2016-04-23 Thread Karl Heinz Marbaise
Hi, you now that something like.. http://www.mojohaus.org/license-maven-plugin/index.html already exists ? On 4/23/16 5:04 AM, Michael Spiegel wrote: Hello everyone, Apologies if this is the wrong venue for this question. I'm trying to retrieve the licenses for all the transitive d

Re: Get licenses of transitive dependencies

2016-04-23 Thread Anton Tanasenko
Hi, MavenProject#getArtifacts() is returning a resolved list of all dependencies, each artifact will have only one specific version. Which scope is resolved - depends on the requiresDependencyResolution attribute of your @Mojo. Be aware, that not all of the projects provide licensing infromation i

Re: maven-compiler-plugin and plexus-compiler add support for JEP 118 "-parameters" option

2016-04-23 Thread Hervé BOUTEMY
Hi, Why don't you activate the profile based on maven.compiler.source property value? (I know that it only support exact match: this won't be flexible enough to support java 9 in the future, but we have time to improve things before java 9 is released) Toolchain is not something that core know

Get licenses of transitive dependencies

2016-04-23 Thread Michael Spiegel
Hello everyone, Apologies if this is the wrong venue for this question. I'm trying to retrieve the licenses for all the transitive dependencies for maven projects. I'm currently using the MavenProject#getArtifacts() API and then for each Artifact I am using the ProjectBuilder to build a Project fr