Great news, thank you for your efforts! Den fre 1 mars 2019 kl 22:58 skrev Eric Barboni <sk...@apache.org>:
> Hi, > Yes some dependencies need changes, modification done in the code > incubator+mavenutilities but you need to build for your usage to test if it > works for you. > Release is in progress but a few week will be required. > > Regards > Eric > > -----Message d'origine----- > De : Patrik Karlström <pat...@trixon.se> > Envoyé : vendredi 1 mars 2019 18:16 > À : dev@netbeans.incubator.apache.org > Objet : Re: [PLATFORM] nbm-maven-plugin:4.1:manifest failed. > IllegalArgumentException > > Ok, thanks. > > Den fre 1 mars 2019 kl 17:58 skrev Matthias Bläsing < > mblaes...@doppel-helix.eu>: > > > Hi Patrik, > > > > I think I saw a similar problem with recent JAXB versions. If I > > remember correctly, the problem happend when the plugin scanned the > > jar for classes. I assume, that it failed to parse class files build > > for JDK >= 9 (Placed in the META-INF directory). > > > > Maybe that helps > > > > Matthias > > > > Am Freitag, den 01.03.2019, 17:52 +0100 schrieb Patrik Karlström: > > > I'm getting nbm-maven-plugin:4.1:manifest failed. > > > IllegalArgumentException > > > when using the h2database beyond version 1.4.196 in a platform > > > application. > > > > > > Got this on 1.4.197 and I just tried the brand new 1.4.198 with the > > > same problem. > > > > > > Any ideas on what to do? > > > Perhaps sit and wait for the new nbm-plugins? :) > > > > > > <dependency> > > > <groupId>com.h2database</groupId> > > > <artifactId>h2</artifactId> > > > <version>1.4.198</version> > > > </dependency> > > > > > > Failed to execute goal org.codehaus.mojo:nbm-maven- > > > plugin:4.1:manifest > > > (default-manifest) on project core: 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 core: Execution default-manifest of goal > > > org.codehaus.mojo:nbm-maven-plugin:4.1:manifest failed. > > > at > > > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecuto > > > r > > > .java:212) > > > at > > > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecuto > > > r > > > .java:153) > > > at > > > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecuto > > > r > > > .java:145) > > > at > > > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProj > > > e > > > ct(LifecycleModuleBuilder.java:116) > > > at > > > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProj > > > e > > > ct(LifecycleModuleBuilder.java:80) > > > at > > > org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThr > > > e > > > adedBuilder.build(SingleThreadedBuilder.java:51) > > > at > > > org.apache.maven.lifecycle.internal.LifecycleStarter.execute(Lifecyc > > > l > > > eStarter.java:128) > > > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307) > > > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193) > > > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106) > > > at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863) > > > at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288) > > > at org.apache.maven.cli.MavenCli.main(MavenCli.java:199) > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. > > > java:62) > > > at > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce > > > s > > > sorImpl.java:43) > > > at java.lang.reflect.Method.invoke(Method.java:498) > > > at > > > org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Lau > > > n > > > cher.java:289) > > > at > > > org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.ja > > > v > > > a:229) > > > at > > > org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(L > > > a > > > uncher.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(Defaul > > > t > > > BuildPluginManager.java:145) > > > at > > > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecuto > > > r > > > .java:207) > > > ... 20 more > > > 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 > > > i > > > sitor.visitClass(DependencyClassFileVisitor.java:65) > > > at > > > org.apache.maven.shared.dependency.analyzer.ClassFileVisitorUtils.vi > > > s > > > itClass(ClassFileVisitorUtils.java:163) > > > at > > > org.apache.maven.shared.dependency.analyzer.ClassFileVisitorUtils.ac > > > c > > > eptJar(ClassFileVisitorUtils.java:107) > > > at > > > org.apache.maven.shared.dependency.analyzer.ClassFileVisitorUtils.ac > > > c > > > ept(ClassFileVisitorUtils.java:61) > > > at > > > org.apache.maven.shared.dependency.analyzer.asm.ASMDependencyAnalyze > > > r > > > .analyze(ASMDependencyAnalyzer.java:50) > > > at > > > org.codehaus.mojo.nbm.NetBeansManifestUpdateMojo.buildDependencyClas > > > s > > > es(NetBeansManifestUpdateMojo.java:920) > > > at > > > org.codehaus.mojo.nbm.NetBeansManifestUpdateMojo.buildProjectDepende > > > n > > > cyClasses(NetBeansManifestUpdateMojo.java:763) > > > at > > > org.codehaus.mojo.nbm.NetBeansManifestUpdateMojo.checkModuleClassPat > > > h > > > (NetBeansManifestUpdateMojo.java:667) > > > at > > > org.codehaus.mojo.nbm.NetBeansManifestUpdateMojo.execute(NetBeansMan > > > i > > > festUpdateMojo.java:530) > > > at > > > org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(Defaul > > > t > > > BuildPluginManager.java:134) > > > ... 21 more > > > > > > > > > /Patrik > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org > > For additional commands, e-mail: > > dev-h...@netbeans.incubator.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.incubator.apache.org > For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org > > For further information about the NetBeans mailing lists, visit: > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists > > > >