It sounds to me like you should use bundle:deploy-file. That goal allows you to specify the URL to the deployed bundle.
On 9/25/10 1:29 AM, Enrico Schnepel wrote: > Thanks for your answer. > > I am rebundling to achive a higher goal ... I want to put a maven bundle > dependency into the obr. install-file uses a file system path. I have > only the maven dependency and I don't want to hard link into local maven > repository or download it first from a url. a task install-dependencies > would create the missing obr entry for the bundle without touching the > bundle itself. > > Thanks > > Enrico > > Am 24.09.2010 um 18:08 schrieb Justin Edelson: > >> If you have an OSGi bundle, why are you re-bundling it? >> >> I don't have first-hand knowledge of this, but AFAIK, >> bundle:install-file will use the MANIFEST.MF from the bundle being >> installed. In point of fact, I don't see how it could work otherwise. >> >> Justin >> >> On 9/24/10 12:24 AM, Enrico Schnepel wrote: >>> Does anyone have an idea? >>> >>> Thanks >>> >>> Enrico >>> >>> Am 18.09.2010 um 06:52 schrieb Enrico Schnepel: >>> >>>> Hello Felix(-users), >>>> >>>> I am currently using the maven bundle plugin to re-bundle an existing >>>> maven bundle in order to make it accessible in a obr repository. The >>>> problem I have... the exported package versions are not correctly >>>> exported to the manifest and repositoy.xml. There is no version >>>> mentioned for the package export but the import package uses versions. >>>> This results in not resolved dependencies. In addition to that ... I >>>> think it is not the right way to go. What I really want to do is a >>>> "install-dependencies" goal. It should work like the >>>> bundle:install-file goal but I want to simply specify the to be >>>> exported bundles as dependencies in the pom.xml. The goal should use >>>> the metadata already in the MANIFEST.MF including the im- and exported >>>> packages with versions etc. and should put them into the local >>>> repository. >>>> >>>> Or is there a way to do this I have overseen? >>>> >>>> Thanks >>>> >>>> Enrico >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: [email protected] >>>> For additional commands, e-mail: [email protected] >>>> >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [email protected] >>> For additional commands, e-mail: [email protected] >>> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

