Hi all,

I'm thinking about improving the newly created
EnforceBytecodeVersion<http://svn.codehaus.org/mojo/trunk/mojo/extra-enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/EnforceBytecodeVersion.java>in
extra-enforcer-rules by automatically detecting the target JDK and
forbidding any higher version of bytecode used in the dependencies.
This would still be possible to force bytecode target, but the parameter
would become optional.

So, sorry if this is a dumb question, but I'd like to retrieve the maven
compiler target
version<http://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html#target>,
but I seem to remember I read somewhere that's a bad practice for a plugin
to read another one's config.

So :

   - Does this addon sound like a good thing to you, or am I missing
   something?
   - How should I proceed to do it the right way®  ?


Thanks a lot.

-- 
Baptiste

Reply via email to