Have Jenkins build the V2 stack with Java 6 ?

Etienne Dysli-Metref etienne.dysli-metref at switch.ch
Fri Jan 29 02:47:17 EST 2016


On 28/01/16 21:29, Brent Putman wrote:
> As we've previously discussed, the danger with us developing and
> testing builds with 7 or 8 is the possibility of accidentally using
> classes or features not present in the older version. Same issue with
> using 8 for deving/building v3, which formally requires only 7.

Have you tried using the Animal Sniffer Maven plugin [1]? It check your
code against an API signature to make sure it uses only the Java 7 API
even if you compile with 8? (setting source/target versions doesn't
check this)

  Etienne

[1] http://www.mojohaus.org/animal-sniffer/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://shibboleth.net/pipermail/dev/attachments/20160129/491560cf/attachment.sig>


More information about the dev mailing list