Hi, 
 Not sure what to do. 

 Peter what was your path of creating your project, you just use NetBeans
or  use a webpage somewhere as starting point ?

Maybe redirect from mojohaus website can be set now that we have website for
nbmplugin.
New website, as well as the old one are Generated by maven but as not
specific JIRA it would catch all changelog for NetBeans useless. 
There is also a relocation mechanism in maven to make clear the change of
groupid.

Maybe we should improve NetBeans itself to detect latest version of the
plugin.

Best Regards
Eric

-----Message d'origine-----
De : Peter Cheung <[email protected]> 
Envoyé : lundi 7 octobre 2019 15:48
À : [email protected]
Objet : Re: maven-compiler-plugin problem

Dear Gj
    Sorry i am too newbie, i don't know. Hope Eric can answer.
Thanks
>From Peter
________________________________
From: Geertjan Wielenga <[email protected]>
Sent: Monday, October 7, 2019 4:54 PM
To: [email protected] <[email protected]>
Subject: Re: maven-compiler-plugin problem

Where can we clearly document this on netbeans.apache.org?

Gj

On Mon, 7 Oct 2019 at 10:49, Eric Barboni <[email protected]> wrote:

> Hi,
>
> You should change the group,artifact,version to match the new plugin.
> Donation has been completed since a while, and a release occurs in june.
>
> <groupId>org.apache.netbeans.utilities</groupId>
> <artifactId>nbm-maven-plugin</artifactId>
> <version>4.2</version>
>
> Regards
> Eric
>
> -----Message d'origine-----
> De : Peter Cheung <[email protected]> Envoyé : dimanche 6 octobre 
> 2019 05:17 À : [email protected] Objet : Re: 
> maven-compiler-plugin problem
>
> Thank you very much Robert
>
> ________________________________
> From: Robert Scholte <[email protected]>
> Sent: Saturday, October 5, 2019 11:29 PM
> To: [email protected] <[email protected]>
> Subject: Re: maven-compiler-plugin problem
>
> Based on the message and the stacktrace it is actually a problem with 
> the
> org.codehaus.mojo:nbm-maven-plugin:4.1 plugin.
> It is using a version of ASM that doesn't understand the 
> bytecodeversion of Java 9.
>
> https://www.mojohaus.org/plugins.html# shows you the plugins has been 
> moved to http://bits.netbeans.org/mavenutilities/nbm-maven-plugin/
>
>  From here the documentation is a little bit tricky, but you can look 
> for the manifest goal.
> http://bits.netbeans.org/mavenutilities/nbm-maven-plugin/manifest-mojo
> .html
>
> Here you see that they changes the groupId to 
> org.apache.netbeans.utilities
>
> Hopefully version 4.2 will fix it, otherwise 
> https://github.com/apache/netbeans-mavenutils-nbm-maven-plugin
> describes how to report a bug/improvement.
>
> thanks,
> Robert
>
> On Sat, 05 Oct 2019 14:18:32 +0200, Peter Cheung 
> <[email protected]>
> wrote:
>
> > Hi
> >     I have a maven library which is used by a maven netbeans module 
> > project.
> >
> > This is ok:
> >
> >   <plugin>
> >    <artifactId>maven-compiler-plugin</artifactId>
> >    <version>3.8.1</version>
> >    <configuration>
> >     <source>1.8</source>
> >     <target>1.8</target>
> >    </configuration>
> >   </plugin>
> >
> > But if change to 1.9. It has exception when building the netbeans 
> > module
> >
> >   <plugin>
> >    <artifactId>maven-compiler-plugin</artifactId>
> >    <version>3.8.1</version>
> >    <configuration>
> >     <source>1.9</source>
> >     <target>1.9</target>
> >    </configuration>
> >   </plugin>
> >
> >
> > Error:
> >
> >
> > [INFO]
> > --------------------------------------------------------------------
> > --
> > --
> >
> > [INFO] BUILD FAILURE
> >
> > [INFO]
> > --------------------------------------------------------------------
> > --
> > --
> >
> > [INFO] Total time:  7.443 s
> >
> > [INFO] Finished at: 2019-10-05T20:18:06+08:00
> >
> > [INFO]
> > --------------------------------------------------------------------
> > --
> > --
> >
> > [ERROR] Failed to execute goal
> > org.codehaus.mojo:nbm-maven-plugin:4.1:manifest (default-manifest) 
> > on project netbeans-antlr: Execution default-manifest of goal 
> > org.codehaus.mojo:nbm-maven-plugin:4.1:manifest failed.:
> > IllegalArgumentException -> [Help 1]
> >
> > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to 
> > execute goal org.codehaus.mojo:nbm-maven-plugin:4.1:manifest
> > (default-manifest) on project netbeans-antlr: Execution 
> > default-manifest of goal 
> > org.codehaus.mojo:nbm-maven-plugin:4.1:manifest
> failed.
> >
> >     at org.apache.maven.lifecycle.internal.MojoExecutor.execute
> > (MojoExecutor.java:215)
> >
> >     at org.apache.maven.lifecycle.internal.MojoExecutor.execute
> > (MojoExecutor.java:156)
> >
> >     at org.apache.maven.lifecycle.internal.MojoExecutor.execute
> > (MojoExecutor.java:148)
> >
> >     at
> > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProj
> > ec
> > t
> > (LifecycleModuleBuilder.java:117)
> >
> >     at
> > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProj
> > ec
> > t
> > (LifecycleModuleBuilder.java:81)
> >
> >     at
> > org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThr
> > ea
> > dedBuilder.build
> > (SingleThreadedBuilder.java:56)
> >
> >     at org.apache.maven.lifecycle.internal.LifecycleStarter.execute
> > (LifecycleStarter.java:128)
> >
> >     at org.apache.maven.DefaultMaven.doExecute 
> > (DefaultMaven.java:305)
> >
> >     at org.apache.maven.DefaultMaven.doExecute 
> > (DefaultMaven.java:192)
> >
> >     at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
> >
> >     at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956)
> >
> >     at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
> >
> >     at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
> >
> >     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native
> > Method)
> >
> >     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke
> > (NativeMethodAccessorImpl.java:62)
> >
> >     at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke
> > (DelegatingMethodAccessorImpl.java:43)
> >
> >     at java.lang.reflect.Method.invoke (Method.java:567)
> >
> >     at
> > org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced
> > (Launcher.java:289)
> >
> >     at org.codehaus.plexus.classworlds.launcher.Launcher.launch
> > (Launcher.java:229)
> >
> >     at
> > org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode
> > (Launcher.java:415)
> >
> >     at org.codehaus.plexus.classworlds.launcher.Launcher.main
> > (Launcher.java:356)
> >
> > Caused by: org.apache.maven.plugin.PluginExecutionException: 
> > Execution default-manifest of goal 
> > org.codehaus.mojo:nbm-maven-plugin:4.1:manifest
> > failed.
> >
> >     at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo
> > (DefaultBuildPluginManager.java:148)
> >
> >     at org.apache.maven.lifecycle.internal.MojoExecutor.execute
> > (MojoExecutor.java:210)
> >
> >     at org.apache.maven.lifecycle.internal.MojoExecutor.execute
> > (MojoExecutor.java:156)
> >
> >     at org.apache.maven.lifecycle.internal.MojoExecutor.execute
> > (MojoExecutor.java:148)
> >
> >     at
> > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProj
> > ec
> > t
> > (LifecycleModuleBuilder.java:117)
> >
> >     at
> > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProj
> > ec
> > t
> > (LifecycleModuleBuilder.java:81)
> >
> >     at
> > org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThr
> > ea
> > dedBuilder.build
> > (SingleThreadedBuilder.java:56)
> >
> >     at org.apache.maven.lifecycle.internal.LifecycleStarter.execute
> > (LifecycleStarter.java:128)
> >
> >     at org.apache.maven.DefaultMaven.doExecute 
> > (DefaultMaven.java:305)
> >
> >     at org.apache.maven.DefaultMaven.doExecute 
> > (DefaultMaven.java:192)
> >
> >     at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
> >
> >     at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956)
> >
> >     at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
> >
> >     at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
> >
> >     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native
> > Method)
> >
> >     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke
> > (NativeMethodAccessorImpl.java:62)
> >
> >     at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke
> > (DelegatingMethodAccessorImpl.java:43)
> >
> >     at java.lang.reflect.Method.invoke (Method.java:567)
> >
> >     at
> > org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced
> > (Launcher.java:289)
> >
> >     at org.codehaus.plexus.classworlds.launcher.Launcher.launch
> > (Launcher.java:229)
> >
> >     at
> > org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode
> > (Launcher.java:415)
> >
> >     at org.codehaus.plexus.classworlds.launcher.Launcher.main
> > (Launcher.java:356)
> >
> > Caused by: java.lang.IllegalArgumentException
> >
> >     at org.objectweb.asm.ClassReader.<init> (Unknown Source)
> >
> >     at org.objectweb.asm.ClassReader.<init> (Unknown Source)
> >
> >     at org.objectweb.asm.ClassReader.<init> (Unknown Source)
> >
> >     at
> > org.apache.maven.shared.dependency.analyzer.asm.DependencyClassFileV
> > is
> > itor.visitClass
> > (DependencyClassFileVisitor.java:65)
> >
> >     at
> > org.apache.maven.shared.dependency.analyzer.ClassFileVisitorUtils.vi
> > si
> > tClass
> > (ClassFileVisitorUtils.java:163)
> >
> >     at
> > org.apache.maven.shared.dependency.analyzer.ClassFileVisitorUtils.ac
> > ce
> > ptJar
> > (ClassFileVisitorUtils.java:107)
> >
> >     at
> > org.apache.maven.shared.dependency.analyzer.ClassFileVisitorUtils.ac
> > ce
> > pt
> > (ClassFileVisitorUtils.java:61)
> >
> >     at
> > org.apache.maven.shared.dependency.analyzer.asm.ASMDependencyAnalyzer.
> > analyze
> > (ASMDependencyAnalyzer.java:50)
> >
> >     at
> > org.codehaus.mojo.nbm.NetBeansManifestUpdateMojo.buildDependencyClas
> > se
> > s
> > (NetBeansManifestUpdateMojo.java:920)
> >
> >     at
> > org.codehaus.mojo.nbm.NetBeansManifestUpdateMojo.buildProjectDepende
> > nc
> > yClasses
> > (NetBeansManifestUpdateMojo.java:763)
> >
> >     at
> > org.codehaus.mojo.nbm.NetBeansManifestUpdateMojo.checkModuleClassPat
> > h
> > (NetBeansManifestUpdateMojo.java:667)
> >
> >     at org.codehaus.mojo.nbm.NetBeansManifestUpdateMojo.execute
> > (NetBeansManifestUpdateMojo.java:530)
> >
> >     at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo
> > (DefaultBuildPluginManager.java:137)
> >
> >     at org.apache.maven.lifecycle.internal.MojoExecutor.execute
> > (MojoExecutor.java:210)
> >
> >     at org.apache.maven.lifecycle.internal.MojoExecutor.execute
> > (MojoExecutor.java:156)
> >
> >     at org.apache.maven.lifecycle.internal.MojoExecutor.execute
> > (MojoExecutor.java:148)
> >
> >     at
> > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProj
> > ec
> > t
> > (LifecycleModuleBuilder.java:117)
> >
> >     at
> > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProj
> > ec
> > t
> > (LifecycleModuleBuilder.java:81)
> >
> >     at
> > org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThr
> > ea
> > dedBuilder.build
> > (SingleThreadedBuilder.java:56)
> >
> >     at org.apache.maven.lifecycle.internal.LifecycleStarter.execute
> > (LifecycleStarter.java:128)
> >
> >     at org.apache.maven.DefaultMaven.doExecute 
> > (DefaultMaven.java:305)
> >
> >     at org.apache.maven.DefaultMaven.doExecute 
> > (DefaultMaven.java:192)
> >
> >     at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
> >
> >     at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956)
> >
> >     at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
> >
> >     at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
> >
> >     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native
> > Method)
> >
> >     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke
> > (NativeMethodAccessorImpl.java:62)
> >
> >     at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke
> > (DelegatingMethodAccessorImpl.java:43)
> >
> >     at java.lang.reflect.Method.invoke (Method.java:567)
> >
> >     at
> > org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced
> > (Launcher.java:289)
> >
> >     at org.codehaus.plexus.classworlds.launcher.Launcher.launch
> > (Launcher.java:229)
> >
> >     at
> > org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode
> > (Launcher.java:415)
> >
> >     at org.codehaus.plexus.classworlds.launcher.Launcher.main
> > (Launcher.java:356)
> >
> > [ERROR]
> >
> > [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/PluginExecutionExce
> > pt
> > ion
> >
> >
> > Thanks
> > From Peter
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Reply via email to