Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Work around for Maven persistently using JDK 1.5 by default

Jonah Graham wrote:
> In addition to the manifest, are the .classpath and
> .settings/org.eclipse.jdt.core.prefs also set to 1.8?

Note that whether that file is considered depends on your Tycho version.
As of 1.0.0, it is considered by default [1]. For older version,
<useProjectSettings> defaults to false, however.

What would be helpful is to have the section from the effective POM (mvn
help:effective-pom) that deals with the tycho-compiler-plugin, as there
are multiple settings (<useProjectSettings>, <useJDK>, <source>,
<target> [2]) that may be relevant here.

Hope this helps.

Andreas

[1] <https://wiki.eclipse.org/Tycho/Release_Notes/1.0.0#Compiler>
[2]
<https://www.eclipse.org/tycho/sitedocs/tycho-compiler-plugin/compile-mojo.html>

-- 
Codetrails GmbH
The knowledge transfer company

Robert-Bosch-Str. 7, 64293 Darmstadt
Phone: +49-6151-276-7092
Mobile: +49-170-811-3791
http://www.codetrails.com/

Managing Director: Dr. Marcel Bruch
Handelsregister: Darmstadt HRB 91940

Attachment: signature.asc
Description: OpenPGP digital signature


Back to the top