[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
Mon Apr 27 05:09:53 EDT 2015
[ https://issues.jboss.org/browse/DROOLS-537?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13062730#comment-13062730 ]
Petr Široký commented on DROOLS-537:
------------------------------------
I am going to take a look at this. I will test how much the animal-sniffer prolongs the build to see if we can enable it with every build, or just e.g. with -Dfull (or even only on demand in case the build time would be much longer).
> 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