Hi,

is there a maven plugin that provides a in-depth check of the java class 
version in a generated artifact, e.g. a war file? 
Assume a deployment environment using jdk 1.4. Developers work on java 6. The 
deployment should fail, if any java class has a class version >48 (48 is the 
version for 1.4). For java code inside the projects that's easy by setting 
source and target to 1.4 in maven-compiler-plugin. But how to make sure that 
no dependency jar contains any class file >48?

It would be rather easy to implement a mojo for this job. I wonder if this 
feature already exists somewhere - I don't want to reinvent the wheel twice.

Regards,
Stefan

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

Reply via email to