maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Scholte" <>
Subject Re: Apache Maven JDeps Plugin
Date Mon, 16 Feb 2015 23:04:37 GMT
Hi Alan,

I've added a flag called failOnWarning (default:true), assuming that the  
usage of jdkinternals is considered a warning and not an error.
With the following configuration you'll be able to run jdeps multiple  
times within the same build.


This should match your requirements.


Op Mon, 16 Feb 2015 19:45:16 +0100 schreef Alan Bateman  

> On 16/02/2015 18:28, Robert Scholte wrote:
>> Hi Alan,
>> if you are referring to the -R / -recursive option of the jdeps tool,  
>> then yes you can.
>> See  
>> I think jdeps is first of all interesting for the classes of the  
>> current Java project, so I've set the default of this parameter to  
>> 'false'. However, if the majority thinks it is better to activate this  
>> by default, we will consider to change this value.
> I could imagine wanting to run it twice: once for the current project  
> where I want the build to fail if it makes direct use of JDK-internal  
> APIs, and a second time to run with -R and emit warnings if any of the  
> transitive dependences (that I don't control) are using JDK internal  
> APIs.
> -Alan

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message