This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Product Version: NetBeans IDE Dev (Build 201012130001) Java: 1.6.0_16; Java HotSpot(TM) Client VM 14.2-b01 System: Windows 7 version 6.1 running on x86; Cp1252; en_US (nb) Userdir: C:\Users\tester\.netbeans\dev ---------------------------------------------- - created maven osgi bundle project - clean and build - run ... ... [bundle:bundle] [assembly:single] Reading assembly descriptor: C:\Users\tester\Documents\NetBeansProjects\mavenproject9/src/main/assembly/felix.xml The following patterns were never triggered in this artifact exclusion filter: o 'org.apache.felix:org.apache.felix.main' The following patterns were never triggered in this artifact inclusion filter: o 'org.apache.felix:org.apache.felix.main' Building zip: C:\Users\tester\Documents\NetBeansProjects\mavenproject9\target\mavenproject9-1.0-SNAPSHOT-all.zip [exec:exec] ------------------------------------------------------------------------ BUILD FAILURE ------------------------------------------------------------------------ Total time: 5.757s Finished at: Mon Dec 13 12:27:50 CET 2010 Final Memory: 6M/11M ------------------------------------------------------------------------ Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.1.1:exec (default-cli) on project mavenproject9: args contains not properly formatted string -> [Help 1] To see the full stack trace of the errors, re-run Maven with the -e switch. Re-run Maven using the -X switch to enable full debug logging. For more information about the errors and possible solutions, please read the following articles: [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
Consider the support for OSGi bundles to be barely in maintenance mode; our archetypes are a hack patched together with Ant and shell scripting. Bug #191737 should improve matters but this is not for 7.0. I would not try to use it as it is. See if changing 1.1.1 to 1.2 in nbactions.xml helps. Likely a Windows-specific problem.
I just encountered this same exact problem, but it works fine in NetBeans 6.9.1.
core-main #a5ac94e077d5
Integrated into 'main-golden', will be available in build *201102020000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/a5ac94e077d5 User: Jesse Glick <jglick@netbeans.org> Log: #193326: Cannot run maven osgi bundle - args contains not properly formatted string -> [Help 1]