Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Tycho + Nexus + jar naming conventions.

Jeff, thank you for your answer!

So as far as I understand, if I'll use maven/tycho/nexus for building just eclipse plugins (and not combining them into p2 update site) - currently there is no solution to get bundle name (in nexus) with '_' as delimiter
AND
it is ok to use '-' delimited bundle names to be installed in "Software RCP" application.




On Mon, Dec 22, 2014 at 12:25 PM, Jeff MAURY <jeffmaury@xxxxxxxxxxxxx> wrote:
It is safe to keep the - use by Maven. The _ convention will be used when the artifact will be published to a P2 repo by Tycho.

Jeff

On Mon, Dec 22, 2014 at 8:00 AM, Alexander Nikitin <nikitin.alexander@xxxxxxxxx> wrote:
Hello tycho gurus!

While trying to automate Eclipse bundles build using Maven, Tycho and Nexus, I've found a problem that I can not solve.
The problem is in resulting bundle name. In OSGI Conventions (http://eclipse.org/equinox/p2/repository_packaging.html)
there is a recomendation to use <id>_<version>.jar, so '_' is a delimiter between id and version. But in nexus/maven builds
I get <id>-<version>.jar, so that '-' is a delimiter. I can fix final name using <finalName> node in pom.xml,
but still deploy phase to "nesus oss" results in <id>-<version>.jar name.

So the question is:
Is there any way to fix this behavior (deploy osgi bundle with underscore) or I can safely use '-' in bundle names?

Thanks in advanced

_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user



--
Jeff MAURY


"Legacy code" often differs from its suggested alternative by actually working and scaling.
 - Bjarne Stroustrup

http://www.jeffmaury.com
http://riadiscuss.jeffmaury.com
http://www.twitter.com/jeffmaury

_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user


Back to the top