The bit that confuses me is that I am getting a compilation failure with
JDK 1.8.

I'll try install a jdk 1.7 and see if that works, but it just feels odd
that the code won't compile with jdk 1.8.



On Tue, January 12, 2016 20:34, Dan Haywood wrote:
> Yes... at least from the mvn command line.  It still can be built fine
> from within IntelliJ.
>
> Why do this?
>
>
> Previously we had <source>1.7</source> and <target>1.7</target> flags for
>  the compiler plugin, but this didn't seem to prohibit the accidental use
> of the JDK 1.8 APIs.
>
> So I think it's the only safe way to ensure backward compatibility ...
> and it is the way recommended by Maven.
>
> -- D
>
>
>
>
>
>
>
> On 12 January 2016 at 19:31, Jeroen van der Wal <jer...@stromboli.it>
> wrote:
>
>
>> I posted first ;-)
>>
>>
>> Are you suggesting that building Isis from source would require
>> installing 1.7 JDK?
>>
>>
>> On 12 January 2016 at 20:30, Dan Haywood <d...@haywood-associates.co.uk>
>>  wrote:
>>
>>
>>> Hi Jeroen,
>>>
>>>
>>> Did you post your mail after my reply to Kevin? ... I described the
>>> setup there.
>>>
>>> thx Dan
>>>
>>>
>>>
>>> On 12 January 2016 at 19:26, Jeroen van der Wal <jer...@stromboli.it>
>>>  wrote:
>>>
>>>
>>>> At my machine the toolchains plugin is complaining:
>>>>
>>>>
>>>> [ERROR] Failed to execute goal
>>>> org.apache.maven.plugins:maven-toolchains-plugin:1.1:toolchain
>>>>
>> (default)
>>
>>> on
>>>> project isis: Cannot find matching toolchain definitions for the
>>> following
>>>> toolchain types: [ERROR] jdk [ vendor='oracle' version='1.7' ]
>>>> [ERROR] Please make sure you define the required toolchains in your
>>>> ~/.m2/toolchains.xml file.
>>>> [ERROR] -> [Help 1]
>>>> [ERROR]
>>>> [ERROR] To see the full stack trace of the errors, re-run Maven with
>>>>
>> the
>>> -e
>>>
>>>> switch. [ERROR] Re-run Maven using the -X switch to enable full
>>>> debug logging. [ERROR]
>>>> [ERROR] For more information about the errors and possible
>>>> solutions, please read the following articles: [ERROR] [Help 1]
>>>> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureExceptio
>>>> n
>>>>
>>>> I'll do some further research on this.
>>>>
>>>>
>>>>
>>>> On 12 January 2016 at 19: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/ValueSemanticsProvi
>> derUtil.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/or
>> g/a
>>>>>> pache/isis/core/isis/1.11.1/isis-1.11.1-source-release.zip *
>>>>>>
>>>>>
>>>>
>>>
>> http://repository.apache.org/content/repositories/orgapacheisis-1041/or
>> g/a
>>>>>>
>>>>
>> pache/isis/archetype/simpleapp-archetype/1.11.1/simpleapp-archetype-1.1
>> 1.
>>
>>>>>> 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-relea
>>>>>> ses
>>>>>>
>>>>>>
>>>>>> 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
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>
>


-- 
Kevin Meyer
Ljubljana, Slovenia


Reply via email to