maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephen Connolly <stephen.alan.conno...@gmail.com>
Subject Re: Checking the java class version in maven artifacts
Date Sat, 21 Mar 2009 23:20:02 GMT
google is your friend "animal sniffer Kohsuke"

Sent from my [rhymes with myPod] ;-)

On 21 Mar 2009, at 19:43, Stefan Armbruster <ml001@armbruster-it.de>  
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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message