I think you will need to use Java 1.7, along with toolchains.xml.

I need to update our release docs about this, but at any rate all it
requires is an installation of JDK7, with the following file content
(adjust paths to suit), placed in ~/.m2/toolchains.xml:

<?xml version="1.0" encoding="UTF8"?>
<toolchains>
    <toolchain>
        <type>jdk</type>
        <provides>
            <version>1.8</version>
            <vendor>oracle</vendor>
        </provides>
        <configuration>
            <jdkHome>/usr/lib64/jvm/jdk1.8.0_65</jdkHome>
            <!--
            <jdkHome>c:\Program Files\Java\jdk1.8.0_65</jdkHome>
            -->
        </configuration>
    </toolchain>
    <toolchain>
        <type>jdk</type>
        <provides>
            <version>1.7</version>
            <vendor>oracle</vendor>
        </provides>
        <configuration>
            <jdkHome>/usr/lib64/jvm/jdk1.7.0_79</jdkHome>
            <!--
            <jdkHome>c:\Program Files\Java\jdk1.7.0_79</jdkHome>
            -->
        </configuration>
    </toolchain>
</toolchains>


Thanks!
Dan



On 12 January 2016 at 18:46, Kevin Meyer <ke...@kmz.co.za> wrote:

> Umm, is this just because I'm forcing compilation with jdk 1.8? (I don't
> have 1.7 installed):
>
>
> [ERROR]
>
> /home/kevin/isis/release/1.11.1/isis-1.11.1/metamodel/src/main/java/org/apache/isis/core/metamodel/facets/object/value/vsp/ValueSemanticsProviderUtil.java:[48,72]
> error: incompatible types: bad type in conditional expression
> [ERROR]     Class<CAP#1> cannot be converted to Class<? extends
> ValueSemanticsProvider<?>>
>   where CAP#1 is a fresh type-variable:
>     CAP#1 extends Object from capture of ?
>
> /home/kevin/isis/release/1.11.1/isis-1.11.1/metamodel/src/main/java/org/apache/isis/core/metamodel/facets/object/parseable/ParserUtil.java:[46,70]
> error: incompatible types: bad type in conditional expression
>
>
>
>
> On Sun, January 10, 2016 16:43, Dan Haywood wrote:
> > I've cut a release for Apache Isis Core and the simpleapp archetype:
> >
> >
> > * Core 1.11.1
> > * SimpleApp Archetype 1.11.1
> >
> >
> > This bug release fix is primarily because Isis 1.11.0 was released with
> > dependencies on JDK8.  See ISIS-1296 for further details.
> >
> > The source code artefacts have been uploaded to staging repositories on
> > repository.apache.org:
> >
> >
> > *
> >
> http://repository.apache.org/content/repositories/orgapacheisis-1041/org/a
> > pache/isis/core/isis/1.11.1/isis-1.11.1-source-release.zip *
> >
> http://repository.apache.org/content/repositories/orgapacheisis-1041/org/a
> > pache/isis/archetype/simpleapp-archetype/1.11.1/simpleapp-archetype-1.11.
> > 1-source-release.zip
> >
> >
> > For each zip there is a corresponding signature file (append .asc to the
> > zip's url).
> >
> > In the source code repo the code has been tagged as isis-1.11.1-RC1 and
> > simpleapp-archetype-1.11.1-RC1; see
> > https://git-wip-us.apache.org/repos/asf?p=isis.git
> >
> >
> > For instructions on how to verify the release (build from binaries and/or
> >  use in Maven directly), see
> > http://isis.apache.org/guides/cgcom.html#_cgcom_verifying-releases
> >
> >
> > Please verify the release and cast your vote.  The vote will be open for
> > a minimum of 72 hours.
> >
> > [ ] +1
> > [ ]  0
> > [ ] -1
> >
> >
>
>
> --
> Kevin Meyer
> Ljubljana, Slovenia
>
>
>

Reply via email to