[jboss-jira] [JBoss JIRA] (DROOLS-537) Use maven plugins (animal-sniffer?) to ensure that code and dependencies conform to the supported minimum version
Petr Široký (JIRA)
issues at jboss.org
Wed Apr 29 10:58:45 EDT 2015
[ https://issues.jboss.org/browse/DROOLS-537?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13063951#comment-13063951 ]
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)
More information about the jboss-jira
mailing list