RE: Treat maven warnings as errors

2017-03-06 Thread Yaron Golan
Anyone? "No" is an answer as well, you know ... :) -Original Message- From: Yaron Golan [mailto:ygo...@interwise.com] Sent: Wednesday, March 01, 2017 12:05 PM To: users@maven.apache.org Subject: Treat maven warnings as errors Hi, Is there a way to treat the maven warnings as errors?

Re: vcmcvsssh.jar

2017-03-06 Thread Martin Gainty
a bit suprised when i meet "planned obsoloence" i commented out the code and all is well Martin __ From: Benson Margulies Sent: Monday, March 6, 2017 12:00 AM To: Maven Users List Subject:

Re: Enforcer requirePropertyDiverges not propagated to descendants?

2017-03-06 Thread Curtis Rueden
Hi, For what it's worth, I agree that the requirePropertyDiverges rule is difficult to use (and maybe buggy?). After playing with it some months ago, I concluded that it was not going to work for me. That's why I ended up writing my own rule. If you want to ensure that the description is set in

Re: Treat maven warnings as errors

2017-03-06 Thread Robert Scholte
https://issues.apache.org/jira/browse/MNG-6065 is what you are looking for. So the answer is: no, not yet. Robert On Mon, 06 Mar 2017 15:57:32 +0100, Yaron Golan wrote: Anyone? "No" is an answer as well, you know ... :) -Original Message- From: Yaron Golan

Re: Enforcer requirePropertyDiverges not propagated to descendants?

2017-03-06 Thread org . apache . maven . user
On 2017-03-06T10:58:30 -0600 Curtis Rueden wrote: > Hi, > > For what it's worth, I agree that the requirePropertyDiverges rule is > difficult to use (and maybe buggy?). After playing with it some months ago, > I concluded that it was not going to work for me. That's why I

[ANN] Exec Maven Plugin 1.6.0 Released

2017-03-06 Thread Robert Scholte
Hi, The Mojo team is pleased to announce the release of the Exec Maven Plugin version 1.6.0. The plugin provides 2 goals to help execute system and Java programs. http://www.mojohaus.org/exec-maven-plugin/ To get this update, simply specify the version in your project's plugin

[ANN] Mock Repository Manager 1.0.1 Released

2017-03-06 Thread Robert Scholte
Hi, The Mojo team is pleased to announce the release of the Mock Repository Manager version 1.0.1. The Mock Repository Manager suite of projects are used to provide mock or lightweight Maven Repository Managers for use during integration testing of Maven plugins.

Re: Formerly Aether, now Maven Artifact Resolver--documentation?

2017-03-06 Thread Laird Nelson
Ah! After some more bashing around in Github and Maven central searching, I found this: https://github.com/apache/maven/blob/master/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenRepositorySystemUtils.java This looks like the replacement for this:

Formerly Aether, now Maven Artifact Resolver--documentation?

2017-03-06 Thread Laird Nelson
Hello; I'd like to use the Maven Artifact Resolver project ( https://maven.apache.org/resolver/), which, as I understand it, is where the original Maven dependency resolution code finally ended up after a long detour through two different companies' attempts to break it off as the Aether project

Re: Formerly Aether, now Maven Artifact Resolver--documentation?

2017-03-06 Thread Christian Schulte
Am 03/07/17 um 00:06 schrieb Laird Nelson: > Ah! After some more bashing around in Github and Maven central searching, > I found this: > https://github.com/apache/maven/blob/master/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenRepositorySystemUtils.java > > This

Re: Formerly Aether, now Maven Artifact Resolver--documentation?

2017-03-06 Thread Laird Nelson
On Mon, Mar 6, 2017 at 2:20 PM Laird Nelson wrote: > The Javadocs for it say, among other things: > > "To acquire a complete repository system, clients need to add an artifact > descriptor reader, a version resolver, a version range resolver and > optionally some repository

Re: Treat maven warnings as errors

2017-03-06 Thread Daniel Schulz
Hi, Might this help you? https://maven.apache.org/plugins/maven-dependency-plugin/examples/failing-the-build-on-dependency-analysis-warnings.html http://stackoverflow.com/questions/9192613/how-do-i-get-a-java-maven-build-to-fail-for-compiler-warnings Kind regards, Daniel. > On 06.03.2017, at

Re: Treat maven warnings as errors

2017-03-06 Thread Gordon Cody
Hello Yaron You may find this an impossible task to accomplish. The standard maven plugins generally do a good job with their messages but some 3rd-party jars and plugins log WARNING messages, a few even log ERROR messages when the developer really should have used INFO or possibly logged nothing