Have you tried with the -X flag for mvn to get debug output?

Med vänlig hälsning

Johan Andrén [mailto:johan.and...@databyran.se]
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
> 
> 

Reply via email to