On Jun 19, 2013, at 10:41 AM, Tristan Tarrant <ttarrant(a)redhat.com> wrote:
I think we should.
Netty uses the maven-enforcer-plugin to force compilation with a JDK 1.7,
animal-sniffer-maven-plugin to ensure that only classes available in previous versions are
used.
^ Is the plugin really called "animal-sniffer-maven-plugin"? LOL
That works for me as well. A lot of projects are moving towards building with JDK7 already
(Wildfly, Vert.x…etc), so if we move to build on JDK7 it makes my life easier.
I'll add a note to ISPN-3242 to remove the JAVA_HOME_7 ref from JCache.
Cheers,
Tristan
On 06/19/2013 11:34 AM, Galder Zamarreño wrote:
> I'd say yes... unless we force all developers to build with JDK7 making sure we
produce java 6 compiled classes...
>
> On Jun 19, 2013, at 10:21 AM, Dan Berindei <dan.berindei(a)gmail.com> wrote:
>
>> If I run the whole test suite with OpenJDK 1.7, do I still need to set the
JAVA_HOME_7 variable?
>>
>>
>> On Wed, Jun 19, 2013 at 11:47 AM, Galder Zamarreño <galder(a)redhat.com>
wrote:
>> Hi all,
>>
>> Starting with Infinispan 5.3.0.CR2, anyone who builds Infinispan requires an
environment variable called JAVA_HOME_7 to be set and point to a JDK7 installation. This
is required in order to run the JCache TCK, which requires Java 7, and runs automatically
as part of the Infinsipan build (when testing...).
>>
>> @Mircea, the TCK is not running on CI cos the environment variable is not set,
see [1] log snippet taken from [2]. Can you sort out this in the CI machine?
>>
>> The TCK run build failure was ignored cos test failures are ignored, and this
property is only used when running the TCK per se.
>>
>> Cheers,
>>
>> [1]
https://gist.github.com/galderz/39851953ca4d6b4af899
>> [2]
http://ci.infinispan.org/viewLog.html?buildId=2072&buildTypeId=bt2&am...
>> --
>> Galder Zamarreño
>> galder(a)redhat.com
>>
twitter.com/galderz
>>
>> Project Lead, Escalante
>>
http://escalante.io
>>
>> Engineer, Infinispan
>>
http://infinispan.org
>>
>>
>> _______________________________________________
>> infinispan-dev mailing list
>> infinispan-dev(a)lists.jboss.org
>>
https://lists.jboss.org/mailman/listinfo/infinispan-dev
>>
>> _______________________________________________
>> infinispan-dev mailing list
>> infinispan-dev(a)lists.jboss.org
>>
https://lists.jboss.org/mailman/listinfo/infinispan-dev
>
> --
> Galder Zamarreño
> galder(a)redhat.com
>
twitter.com/galderz
>
> Project Lead, Escalante
>
http://escalante.io
>
> Engineer, Infinispan
>
http://infinispan.org
>
>
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/infinispan-dev
>
>