This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 270633 - Allow to set Java Platform for Maven
Summary: Allow to set Java Platform for Maven
Status: NEW
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: Dev
Hardware: PC Other
: P3 normal (vote)
Assignee: Tomas Stupka
Keywords: JDK_9
Depends on:
Reported: 2017-05-13 14:00 UTC by terje7601
Modified: 2017-05-13 14:15 UTC (History)
0 users

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description terje7601 2017-05-13 14:00:09 UTC
I want to run NetBeans 9 on Java 9. But I want Maven to always run on Java 8 (by using Maven toolchains I can still compile Java 9 projects, even though Maven itself runs on Java 8). However, there is no global way to specify a Java Platform for Maven builds.

Product Version: NetBeans IDE Dev (Build 201705060001)
Updates: Updates available
Java: 9-ea; Java HotSpot(TM) 64-Bit Server VM 9-ea+169
Runtime: Java(TM) SE Runtime Environment 9-ea+169
System: Windows 10 version 10.0 running on amd64; Cp1252; en_US (nb)
Comment 1 terje7601 2017-05-13 14:15:05 UTC
Note that, in the "Effective" view of a pom.xml, I can't even change the Java Platform at all currently