When I define any <additionalArguments> in the <configuration> for nbm-maven-plugin, any debug parameters provided to mvn are not passed on to the NB application. From the log of an RCP app starting from a debug action in the IDE:
NetBeans: Executing '/Users/chas/dev/mvn/bin/mvn -Djpda.listen=true -Djpda.address=61488 -Dnetbeans.run.params=-J-Xdebug -J-Xrunjdwp:transport=dt_socket,suspend=n,server=n,address=61488 -Dnetbeans.execution=true install nbm:run-platform' ... ... ... [nbm:run] Executing: /bin/sh -c /Users/chas/dev/Sift/application/target/sift/bin/sift -J-Dnetbeans.logger.console=true -J-ea --branding sift -J-Drepl.start=Y -J-Dwarm.up.pdfxs=N Those last two args are what I define in <additionalArguments>; when I remove them, the debug parameters are properly passed on in the nbm:run execution. I presume that the <additionalArguments> should be added to the argument list (including debug params), and not replace what is being defined otherwise. Seems like a bug? - Chas -- View this message in context: http://old.nabble.com/nbm-maven-plugin%3A-debug-breaks-when-%3CadditionalArguments%3E-is-specified-tp26956244p26956244.html Sent from the mojo - user mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
