This smells for me like some new rule for enforcer... ~t~
On Sun, Mar 22, 2009 at 12:20 AM, Stephen Connolly < [email protected]> wrote: > google is your friend "animal sniffer Kohsuke" > > Sent from my [rhymes with myPod] ;-) > > > On 21 Mar 2009, at 19:43, Stefan Armbruster <[email protected]> > wrote: > > 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] >> >> > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
