You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Sebastian Gaßmann <s....@e-media.de> on 2010/02/09 12:06:40 UTC

stop at compiler warning?

Hello,

 

Is it possible to set an option in the maven compiler, so that the build process stops at a compiler warning?

 

greetings

 

Sebastian Gaßmann

 

Telefon: +49 (0) 89/4 51 14-128

E-Mail: s.gassmann@e-media.de <ma...@e-media.de> 

 

G+J Entertainment Media 
GmbH & Co. KG
Weihenstephaner Straße 7
81673 München
 
Sitz: München, Amtsgericht München HRA 67353
Komplementärin: G+J Entertainment Media Verwaltungs GmbH
Sitz: München, Amtsgericht München HRB 169582
Geschäftsführer: Peider Bach, Matthias Mahler

 

www.kino.de <http://www.kino.de/>  | www.kino.de/mobil | www.video.de <http://www.video.de/>  | www.mediabiz.de <http://www.mediabiz.de/> 

 


Re: stop at compiler warning?

Posted by Baptiste MATHUS <ml...@batmat.net>.
Having had a look at the maven compiler plugin page, I don't think so.

You could either file an entry in the jira for this plugin, or write a small
enforcer rule that would check is some warning was previously issued by the
maven-compiler-plugin. The second option might not be difficult to write.

See http://maven.apache.org/plugins/maven-enforcer-plugin/ for documentation
about the enforcer, and
http://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html for
the complete list of options for the compiler plugin.

Cheers.

2010/2/9 Sebastian Gaßmann <s....@e-media.de>

> Hello,
>
>
>
> Is it possible to set an option in the maven compiler, so that the build
> process stops at a compiler warning?
>
>
>
> greetings
>
>
>
> Sebastian Gaßmann
>
>
>
> Telefon: +49 (0) 89/4 51 14-128
>
> E-Mail: s.gassmann@e-media.de <ma...@e-media.de>
>
>
>
> G+J Entertainment Media
> GmbH & Co. KG
> Weihenstephaner Straße 7
> 81673 München
>
> Sitz: München, Amtsgericht München HRA 67353
> Komplementärin: G+J Entertainment Media Verwaltungs GmbH
> Sitz: München, Amtsgericht München HRB 169582
> Geschäftsführer: Peider Bach, Matthias Mahler
>
>
>
> www.kino.de <http://www.kino.de/>  | www.kino.de/mobil | www.video.de <
> http://www.video.de/>  | www.mediabiz.de <http://www.mediabiz.de/>
>
>
>
>


-- 
Baptiste <Batmat> MATHUS - http://batmat.net
Sauvez un arbre,
Mangez un castor !