Great! That works.
Thanx a lot!


ah... Maven will attempt to interpolate properties even before it reaches the bundleplugin, so you need to protect these property strings like this:

<_versionpolicy>[$(version;==;$(@)),$(version;=+;$(@)))</ _versionpolicy>

ie. using ( instead of { is enough to stop Maven - alternatively you could
put this instruction in a property file and include it by using
<_include>...
then Maven wouldn't see it at all (as Bnd does the include itself)


      at
java .lang .NumberFormatException.forInputString(NumberFormatException.java:48)
      at java.lang.Integer.parseInt(Integer.java:447)
      at java.lang.Integer.parseInt(Integer.java:497)
      at org.osgi.framework.Version.<init>(Version.java:127)
      at
org .osgi .impl.bundle.obr.resource.VersionRange.<init>(VersionRange.java:49)
      at
org .osgi .impl .bundle.obr.resource.ManifestEntry.addParameter(ManifestEntry.java: 92)
      at
org.osgi.impl.bundle.obr.resource.Manifest.getEntries(Manifest.java: 210)
      at
org.osgi.impl.bundle.obr.resource.Manifest.entry(Manifest.java:123)
      at
org.osgi.impl.bundle.obr.resource.Manifest.parse(Manifest.java:73)
      at
org.osgi.impl.bundle.obr.resource.Manifest.<init>(Manifest.java:42)
      at
org.osgi.impl.bundle.obr.resource.BundleInfo.<init>(BundleInfo.java: 63)
      at
org .apache .felix.obrplugin.ExtractBindexInfo.<init>(ExtractBindexInfo.java:76)
      at
org .apache.felix.obrplugin.ObrUpdate.updateRepository(ObrUpdate.java: 223)
      at
org .apache .felix .obrplugin.ObrInstall.updateLocalBundleMetadata(ObrInstall.java:183)
      at
org.apache.felix.obrplugin.ObrInstall.execute(ObrInstall.java:142)
      at
org .apache .maven .plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java: 451)
      at
org .apache .maven .lifecycle .DefaultLifecycleExecutor .executeGoals(DefaultLifecycleExecutor.java:558)
      at
org .apache .maven .lifecycle .DefaultLifecycleExecutor .executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
      at
org .apache .maven .lifecycle .DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java: 478)
      at
org .apache .maven .lifecycle .DefaultLifecycleExecutor .executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
      at
org .apache .maven .lifecycle .DefaultLifecycleExecutor .executeTaskSegments(DefaultLifecycleExecutor.java:291)
      at
org .apache .maven .lifecycle .DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java: 336)
      at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
      at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
      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.classworlds.Launcher.launchEnhanced(Launcher.java:315)
      at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
      at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
      at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[ERROR] unable to build Bindex informations
org.apache.maven.plugin.MojoExecutionException: Exception
      at
org .apache .felix.obrplugin.ExtractBindexInfo.<init>(ExtractBindexInfo.java:81)
      at
org .apache.felix.obrplugin.ObrUpdate.updateRepository(ObrUpdate.java: 223)
      at
org .apache .felix .obrplugin.ObrInstall.updateLocalBundleMetadata(ObrInstall.java:183)
      at
org.apache.felix.obrplugin.ObrInstall.execute(ObrInstall.java:142)
      at
org .apache .maven .plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java: 451)
      at
org .apache .maven .lifecycle .DefaultLifecycleExecutor .executeGoals(DefaultLifecycleExecutor.java:558)
      at
org .apache .maven .lifecycle .DefaultLifecycleExecutor .executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
      at
org .apache .maven .lifecycle .DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java: 478)
      at
org .apache .maven .lifecycle .DefaultLifecycleExecutor .executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
      at
org .apache .maven .lifecycle .DefaultLifecycleExecutor .executeTaskSegments(DefaultLifecycleExecutor.java:291)
      at
org .apache .maven .lifecycle .DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java: 336)
      at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
      at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
      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.classworlds.Launcher.launchEnhanced(Launcher.java:315)
      at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
      at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
      at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[WARNING] Exception while updating local OBR: BindexException
org.apache.maven.plugin.MojoExecutionException: BindexException
      at
org .apache.felix.obrplugin.ObrUpdate.updateRepository(ObrUpdate.java: 230)
      at
org .apache .felix .obrplugin.ObrInstall.updateLocalBundleMetadata(ObrInstall.java:183)
      at
org.apache.felix.obrplugin.ObrInstall.execute(ObrInstall.java:142)
      at
org .apache .maven .plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java: 451)
      at
org .apache .maven .lifecycle .DefaultLifecycleExecutor .executeGoals(DefaultLifecycleExecutor.java:558)
      at
org .apache .maven .lifecycle .DefaultLifecycleExecutor .executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
      at
org .apache .maven .lifecycle .DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java: 478)
      at
org .apache .maven .lifecycle .DefaultLifecycleExecutor .executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
      at
org .apache .maven .lifecycle .DefaultLifecycleExecutor .executeTaskSegments(DefaultLifecycleExecutor.java:291)
      at
org .apache .maven .lifecycle .DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java: 336)
      at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
      at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
      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.classworlds.Launcher.launchEnhanced(Launcher.java:315)
      at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
      at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
      at org.codehaus.classworlds.Launcher.main(Launcher.java:375)



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]




--
Cheers, Stuart


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to