Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Resolution of packages containing "impl" in their names

Hello Andreas,
  As said all the other packages (which are resolved) are exported with the same version.
I believe it's a valid OSGi version, maybe unusual.

The library exporting the packages is OSGi-fied with maven-bundle-plugin.
By default this plugin assigns automatically versions from the version of the pom file:

2.0.3-SNAPSHOT (pom) -> 2.0.3.SNAPSHOT (MANIFEST)

I know it sounds strange but I'm pretty sure "impl" is treated specially (also by Eclipse - that's why I had to add the "x-internal" stuff)

Regards,
  Cristiano

On 21/12/2015 14:47, Andreas Sewe wrote:
Hello Cristiano,

  Thanks for the quick reply.
The OSGi-fied library exports many other packages with the same
".SNAPSHOT" suffix and these are successfully resolved by tycho.
Interesting. I thought these might cause trouble, as Tycho treats the
SNAPSHOT and qualifier suffixes differently. Do you really need the
".SNAPSHOT" in the Export/Import-Package headers or is "2.0.3" sufficient?

Anyway, I doubt that "impl" is hard-coded in Tycho. But then again, I am
just another Tycho user.

Andreas


--
Cristiano De Alti
Principal Software Engineer

direct:    +39 0433 485468

EUROTECH
Imagine.Build.Succeed.
HEADQUARTERS
EUROTECH S.p.A. – Via Fratelli Solari, 3/a | 33020 Amaro UD | Italy | Tel. +39. 0433 485411  | Fax +39. 0433 485499 |
Cap. Soc. 8.878.946,00 € I.V. | P.IVA / C.F.: IT 01791330309 | REA Udine 196115
www.eurotech.com
____________________________________

Il presente messaggio ed ogni suo allegato sono da intendersi inviati esclusivamente agli effettivi destinatari e potrebbero essere soggetti a restrizioni legali. Se avete ricevuto questo messaggio per errore vi invitiamo a darne immediata notifica al mittente e cancellarlo dal vostro sistema. Qualsiasi altro uso di questo messaggio da parte vostra e' strettamente proibito.
 
This e-mail, and any file attached to it, is meant only for the intended recipient of the transmission and may be a communication privileged by law. If you have received it in error, please notify the sender immediately and delete the original from your system. Any other use of this e-mail by you is strictly forbidden.
____________________________________
 
Per favore, pensate all’ambiente prima di stampare questa e-mail. Please consider the environment before printing this e-mail.

Back to the top