Re: New warnings poping up when compiling NB Platform with Maven 3.9
On 26.09.23 11:58, Neil C Smith wrote: On Tue, 26 Sept 2023 at 10:44, Jean-Marc Borer wrote: We are upgrading from Maven 3.8 to 3.9 for our NB platform apps. I now have those new warnings poping up (we compile with java 8 source): They're probably not new, just hidden by default before! A bunch of default plugin versions (including the compiler plugin) changed from 3.8.x to 3.9.x. Can't find the upstream reference quickly, but see https://github.com/apache/netbeans/pull/5679 those warnings come from annotations / annotation processors: https://github.com/apache/netbeans/pull/5843 while annoying, they should be harmless (for now). Although it would be nice to get rid of them. -mbien Best wishes, Neil - To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org For additional commands, e-mail: dev-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists - To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org For additional commands, e-mail: dev-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: New warnings poping up when compiling NB Platform with Maven 3.9
Great. Thank you On Tue, Sep 26, 2023 at 9:59 AM Neil C Smith wrote: > On Tue, 26 Sept 2023 at 10:44, Jean-Marc Borer wrote: > > We are upgrading from Maven 3.8 to 3.9 for our NB platform apps. I now > have > > those new warnings poping up (we compile with java 8 source): > > They're probably not new, just hidden by default before! A bunch of > default plugin versions (including the compiler plugin) changed from > 3.8.x to 3.9.x. > > Can't find the upstream reference quickly, but see > https://github.com/apache/netbeans/pull/5679 > > Best wishes, > > Neil > > - > To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org > For additional commands, e-mail: dev-h...@netbeans.apache.org > > For further information about the NetBeans mailing lists, visit: > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists > > > >
Re: New warnings poping up when compiling NB Platform with Maven 3.9
On Tue, 26 Sept 2023 at 10:44, Jean-Marc Borer wrote: > We are upgrading from Maven 3.8 to 3.9 for our NB platform apps. I now have > those new warnings poping up (we compile with java 8 source): They're probably not new, just hidden by default before! A bunch of default plugin versions (including the compiler plugin) changed from 3.8.x to 3.9.x. Can't find the upstream reference quickly, but see https://github.com/apache/netbeans/pull/5679 Best wishes, Neil - To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org For additional commands, e-mail: dev-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: New warnings poping up when compiling NB Platform with Maven 3.9
To complement the question: --- compiler:3.11.0:compile (default-compile) @ message-client --- Changes detected - recompiling the module! :dependency Compiling 7 source files with javac [debug target 1.8] to target\classes Supported source version 'RELEASE_7' from annotation processor 'org.netbeans.modules.openide.util.ServiceProviderProcessor' less than -source '1.8' Supported source version 'RELEASE_7' from annotation processor 'org.netbeans.modules.openide.util.NamedServiceProcessor' less than -source '1.8' Supported source version 'RELEASE_6' from annotation processor 'org.netbeans.modules.openide.util.NbBundleProcessor' less than -source '1.8' ch/skyguide/nimbus/console/messageclient/MessageClientTopComponent.java:[40,1] Undocumented format parameter {0} ch/skyguide/nimbus/console/messageclient/MessageClientTopComponent.java:[40,1] Undocumented format parameter {1} The code: [image: image.png] On Tue, Sep 26, 2023 at 9:44 AM Jean-Marc Borer wrote: > Hi guys, > > We are upgrading from Maven 3.8 to 3.9 for our NB platform apps. I now > have those new warnings poping up (we compile with java 8 source): > > Changes detected - recompiling the module! :dependency > Compiling 7 source files with javac [debug target 1.8] to target\classes > Supported source version 'RELEASE_7' from annotation processor > 'org.netbeans.modules.openide.util.ServiceProviderProcessor' less than > -source '1.8' > Supported source version 'RELEASE_7' from annotation processor > 'org.netbeans.modules.openide.util.NamedServiceProcessor' less than -source > '1.8' > Supported source version 'RELEASE_6' from annotation processor > 'org.netbeans.modules.openide.util.NbBundleProcessor' less than -source > '1.8' > ch/skyguide/nimbus/console/messageclient/MessageClientTopComponent.java:[40,1] > Undocumented format parameter {0} > ch/skyguide/nimbus/console/messageclient/MessageClientTopComponent.java:[40,1] > Undocumented format parameter {1} > > I search for additional explanation, but I didn't find anything. Anyone an > idea what this means and how it can be fixed? > > I am asking here, because I fear it has something to do in NB, but I don't > know where yet. > > Thx in advance for you help. > > Cheers, > > JM >
New warnings poping up when compiling NB Platform with Maven 3.9
Hi guys, We are upgrading from Maven 3.8 to 3.9 for our NB platform apps. I now have those new warnings poping up (we compile with java 8 source): Changes detected - recompiling the module! :dependency Compiling 7 source files with javac [debug target 1.8] to target\classes Supported source version 'RELEASE_7' from annotation processor 'org.netbeans.modules.openide.util.ServiceProviderProcessor' less than -source '1.8' Supported source version 'RELEASE_7' from annotation processor 'org.netbeans.modules.openide.util.NamedServiceProcessor' less than -source '1.8' Supported source version 'RELEASE_6' from annotation processor 'org.netbeans.modules.openide.util.NbBundleProcessor' less than -source '1.8' ch/skyguide/nimbus/console/messageclient/MessageClientTopComponent.java:[40,1] Undocumented format parameter {0} ch/skyguide/nimbus/console/messageclient/MessageClientTopComponent.java:[40,1] Undocumented format parameter {1} I search for additional explanation, but I didn't find anything. Anyone an idea what this means and how it can be fixed? I am asking here, because I fear it has something to do in NB, but I don't know where yet. Thx in advance for you help. Cheers, JM