[
https://issues.jboss.org/browse/DROOLS-537?page=com.atlassian.jira.plugin...
]
Petr Široký commented on DROOLS-537:
------------------------------------
I checked that all the repos (master branch) can be successfully built with the
animal-sniffer plugin enabled. Tried with Oracle JDKs 6,7,8. Still need to measure the
impact on the build speed.
Use maven plugins (animal-sniffer?) to ensure that code and
dependencies conform to the supported minimum version
-----------------------------------------------------------------------------------------------------------------
Key: DROOLS-537
URL:
https://issues.jboss.org/browse/DROOLS-537
Project: Drools
Issue Type: Task
Affects Versions: 6.1.0.CR1
Reporter: Marco Rietveld
Assignee: Petr Široký
Every now and then, one of us uses syntax or a class from a higher version of Java than
what we use.
Or otherwise, one of us will use a dependency that's been compiled in Java X+1 while
the build is based on Java X.
Can we prevent discovering these mistakes too late by using the animal-sniffer plugin?
One of the more important points here is that using the animal-sniffer (or another plugin
that can be used for this) must *not* significantly delay or prolong the build!
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)