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.

Bug 193326 - Cannot run maven osgi bundle - args contains not properly formatted string -> [Help 1]
Summary: Cannot run maven osgi bundle - args contains not properly formatted string ->...
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Maven OSGi bundles (show other bugs)
Version: 7.0
Hardware: PC Windows 7
: P2 normal (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-13 11:26 UTC by Tomas Danek
Modified: 2011-02-02 06:18 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Danek 2010-12-13 11:26:16 UTC
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
Comment 1 Jesse Glick 2010-12-14 21:08:19 UTC
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.
Comment 2 gcristof 2011-01-11 22:39:03 UTC
I just encountered this same exact problem, but it works fine in NetBeans 6.9.1.
Comment 3 Jesse Glick 2011-02-01 18:24:27 UTC
core-main #a5ac94e077d5
Comment 4 Quality Engineering 2011-02-02 06:18:26 UTC
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]