I have a master POM file which defines common stuff such as common dependencies like junit and compiler settings.

The compiler settings are set to treat warning as error using maven-compiler-plugin and Werror as compiler argument. I have a new module which declares the master pom as parent pom, but has generated code which has lot of warnings. I would like to disable treating warnings as errors only for this module or if possible only for generated package or generated source directory.

I tried adding compiler plugin entry in module's pom file. But it looks like it overrides from parent. How do I disable warnings for this module only?

Regards,

Niranjan

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to