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.
Summary: | javac -parameters Option and "Compile on save" in Maven projects | ||
---|---|---|---|
Product: | projects | Reporter: | michael.simons |
Component: | Maven | Assignee: | Tomas Stupka <tstupka> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | manica, markiewb, msousa, tzezula |
Priority: | P3 | ||
Version: | 8.0.2 | ||
Hardware: | Macintosh (x86) | ||
OS: | Mac OS X | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | Maven projects demoing failure of including parameter names |
Description
michael.simons
2015-03-03 10:20:47 UTC
Is there any workaround for this? I don't see any place to provide compiler arguments in a maven project other than the pom. Is there any place to add the -parameters argument to CompileOnSave? Same problem here. Product Version: NetBeans IDE 8.1 (Build 201510222201) Java: 1.8.0_66; Java HotSpot(TM) 64-Bit Server VM 25.66-b18 Runtime: Java(TM) SE Runtime Environment 1.8.0_66-b18 System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb) Is there already a workaround or fix available? Any chance auf this being addressed anytime soon? Really annoying, especially with Spring Data JPA and query parameter resolution. Thanks. I guess the logic is hidden somewhere in org.netbeans.modules.maven.cos.CosChecker @milanka@netbeans.org: Do not change the version! The version field contains the NB version the issue has been found first. Please vote instead! Resetting changes. The java.source.base part: http://hg.netbeans.org/jet-main/rev/ba0af206837d Now maven project needs to implement: 1) CompilerOptionQuieryImplementation providing the options from pom's compiler-plugin 2) Add COQI merger into project's lookup LookupMergerSupport.createCompilerOptionsQueryMerger() > Now maven project needs to implement:
> 1) CompilerOptionQuieryImplementation providing the options from pom's compiler-plugin
> 2) Add COQI merger into project's lookup LookupMergerSupport.createCompilerOptionsQueryMerger()
thanks
fixed in jet-main #5b7e60e4eb38 please note that we do not plan to add this into the next 8.2 patch release as the necessary infrastructure in java.source (o.n.spi.java.queries.CompilerOptionsQueryImplementation) was introduced just recently into dev builds and is hard to backport Is there any workaround in the meantime? Any way to patch my netbeans instalation with the fix? when its planned the bugfix release for this issue? Integrated into 'main-silver', will be available in build *201611230001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/ba0af206837d User: Tomas Zezula <tzezula@netbeans.org> Log: #250858:javac -parameters Option and "Compile on save" in Maven projects |