Yes, I have. There is only one exception from nbm-maven-plugin
[ERROR] Failed to execute goal
org.codehaus.mojo:nbm-maven-plugin:3.3:manifest (default-manifest) on
project netrad.client.gui.module.core: See above for failures in runtime
NetBeans dependencies verification. -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
execute goal org.codehaus.mojo:nbm-maven-plugin:3.3:manifest
(default-manifest) on project netrad.client.gui.module.core: See above
for failures in runtime NetBeans dependencies verification.
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:199)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:140)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:314)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:151)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:445)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:168)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:132)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.plugin.MojoFailureException: See above for
failures in runtime NetBeans dependencies verification.
at
org.codehaus.mojo.nbm.NetbeansManifestUpdateMojo.checkModuleClassPath(NetbeansManifestUpdateMojo.java:625)
at
org.codehaus.mojo.nbm.NetbeansManifestUpdateMojo.execute(NetbeansManifestUpdateMojo.java:447)
at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:107)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:195)
... 19 more
[ERROR]
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles
I still cannot see what is a source of the problem. Maybe some missing
dependencies in my pom.xml? But without information from nbm plugin I'm
not able to find it. Well, there are many lines in output but without
knowledge what plugin is doing internaly, it is hard to say what isn't
correct. I assume some line/s with "ERROR" if there is something wrong.
Only [ERROR] that I can see in output is Exception from plugin.
jakub
-----Original Message-----
From: Johan Andrén <[email protected]>
Reply-to: [email protected]
To: [email protected]
Subject: Re: [mojo-user] Problem with nbm-maven-plugin and maven 3.0
Date: Thu, 14 Oct 2010 10:50:45 +0200
Have you tried with the -X flag for mvn to get debug output?
Med vänlig hälsning
Johan Andrén [mailto:[email protected]]
Databyrån AB [http://www.databyran.se/]
Tel: +46(0) 8 50 65 64 00
Fax: +46(0) 8 50 65 64 30
Databyrån AB är certifierat enligt ISO 9001:2008
14 okt 2010 kl. 10.48 skrev Jakub Herkel:
> I have a problem with Maven 3.0 and nbm-maven-plugin 3.3. I cannot
> compile a module that I was able to compile with the previous version.
> Unfortunately, there isn't any human readable information from
> nbm-maven-plugin what is wrong. Also if I add -X to a command line, I
> can't see any problem. Only thing I can see is a warning about a
> missing jfreechart. Is it a source of problem?
>
> Is there any possibility how I can find out where the problem is?
>
> Output :
> [INFO]
> [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-versions)
> @netrad.client.gui.module.core ---
> [INFO]
> [INFO] --- maven-jaxb2-plugin:0.7.4:generate (default)
> @netrad.client.gui.module.core ---
> Cannot find CatalogManager.properties
> [INFO]
> [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources)
> @netrad.client.gui.module.core ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 38 resources
> [INFO] Copying 0 resource
> [INFO] Copying 1 resource
> [INFO]
> [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile)
> @netrad.client.gui.module.core ---
> [INFO] Compiling 35 source files
> to /home/jakub/projects/dev-netrad/client/gui/module-core/target/classes
> [INFO]
> [INFO] --- nbm-maven-plugin:3.3:manifest (default-manifest)
> @netrad.client.gui.module.core ---
> [INFO] NBM Plugin generates manifest
> Downloading:
> https://catseye.cpce.net/nexus/content/groups/public/net/cpce/netrad/netrad.client.nvc.swing/1.1.0-SNAPSHOT/maven-metadata.xml
> [WARNING] Missing POM for jfree:jfreechart:jar:1.0.13
> Downloading:
> https://catseye.cpce.net/nexus/content/groups/public/net/cpce/netrad/netrad.client.nvc.widget/1.1.0-SNAPSHOT/maven-metadata.xml
> Downloading:
> https://catseye.cpce.net/nexus/content/groups/public/net/cpce/netrad/netrad.common.object/1.1.0-SNAPSHOT/maven-metadata.xml
> Downloading:
> https://catseye.cpce.net/nexus/content/groups/public/net/cpce/netrad/netrad.common.object-api/1.1.0-SNAPSHOT/maven-metadata.xml
> Downloading:
> https://catseye.cpce.net/nexus/content/groups/public/net/cpce/netrad/netrad.common.data/1.1.0-SNAPSHOT/maven-metadata.xml
> Downloading:
> https://catseye.cpce.net/nexus/content/groups/public/net/cpce/netrad/netrad.common.opcua-client/1.1.0-SNAPSHOT/maven-metadata.xml
> [INFO] Adding on module's Class-Path:
> [INFO] org.bouncycastle:bcprov-jdk16:jar:1.45
> [INFO] org.apache.poi:poi:jar:3.6
> [INFO] commons-logging:commons-logging:jar:1.1
> [INFO] logkit:logkit:jar:1.0.1
> [INFO] avalon-framework:avalon-framework:jar:4.1.3
> [INFO] javax.servlet:servlet-api:jar:2.3
> [INFO] log4j:log4j:jar:1.2.13
> [INFO] net.cpce.netrad:netrad.client.nvc.swing:jar:1.1.0-SNAPSHOT
> [INFO] jfree:jfreechart:jar:1.0.13
> [INFO] jfree:jcommon:jar:1.0.16
> [INFO] net.cpce.netrad:netrad.client.nvc.widget:jar:1.1.0-SNAPSHOT
> [INFO] org.apache.xmlgraphics:batik-swing:jar:1.7
> [INFO] org.apache.xmlgraphics:batik-awt-util:jar:1.7
> [INFO] org.apache.xmlgraphics:batik-bridge:jar:1.7
> [INFO] org.apache.xmlgraphics:batik-anim:jar:1.7
> [INFO] org.apache.xmlgraphics:batik-parser:jar:1.7
> [INFO] org.apache.xmlgraphics:batik-script:jar:1.7
> [INFO] org.apache.xmlgraphics:batik-xml:jar:1.7
> [INFO] xalan:xalan:jar:2.6.0
> [INFO] org.apache.xmlgraphics:batik-css:jar:1.7
> [INFO] org.apache.xmlgraphics:batik-dom:jar:1.7
> [INFO] org.apache.xmlgraphics:batik-ext:jar:1.7
> [INFO] org.apache.xmlgraphics:batik-gui-util:jar:1.7
> [INFO] org.apache.xmlgraphics:batik-gvt:jar:1.7
> [INFO] org.apache.xmlgraphics:batik-svg-dom:jar:1.7
> [INFO] org.apache.xmlgraphics:batik-util:jar:1.7
> [INFO] xml-apis:xml-apis-ext:jar:1.3.04
> [INFO] net.cpce.netrad:netrad.common.object:jar:1.1.0-SNAPSHOT
> [INFO] net.cpce.netrad:netrad.common.object-api:jar:1.1.0-SNAPSHOT
> [INFO]
> net.cpce.netrad:netrad.common.opcua-client:jar:1.1.0-SNAPSHOT
> [INFO] com.prosysopc.ua:opc.ua.sdk-osgi:jar:1.1.0.975
> [INFO] org.opcfoundation.ua:opc.ua.stack-osgi:jar:1.01.307.2
> [INFO] org.opcfoundation.ua:opc.ua.stack:jar:1.01.307.2
> [INFO] com.prosysopc.ua:opc.ua.sdk:jar:1.1.0.975
> [INFO] net.cpce.netrad:netrad.common.data:jar:1.1.0-SNAPSHOT
> [INFO] org.swinglabs:swingx:jar:1.6.1
> [INFO] com.jhlabs:filters:jar:2.0.235
> [INFO] org.swinglabs:swing-worker:jar:1.1
> [INFO] org.slf4j:slf4j-api:jar:1.5.8
> [INFO] org.slf4j:slf4j-jdk14:jar:1.5.8
> [WARNING] There are transitive dependencies that were not included in
> the module's Class-Path because they were resolved as part of another
> NetBeans module.
> [WARNING] org.netbeans.api:org-netbeans-api-visual:jar
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 46.248s
> [INFO] Finished at: Thu Oct 14 09:14:22 CEST 2010
> [INFO] Final Memory: 21M/195M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.codehaus.mojo:nbm-maven-plugin:3.3:manifest (default-manifest) on
> project netrad.client.gui.module.core: See above for failures in
> runtime NetBeans dependencies verification. ->[Help1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with
> the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [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/MojoFailureException
>
>
>