On 3/5/2009 7:58 PM, Igor Fedorenko wrote:
Max,

Are you trying to deploy CDT to a Maven repository?
Yes.
May I ask why?
Because I need to get my environment playing now.
And I decided to stay away from targetPlatforms as much as I can, and use the Maven repository as my single place of truth.

You see, my main concern is not that much the actual build process, but more how I manage all the various pieces which I need. Having to deal with another repository of targetPlatforms is what I can avoid by dumping everything into the Maven repository
and getting it out from there when I need it.

If this is for Tycho-managed build target platform and you can wait few weeks, we will likely have much more elegant solution...
Unfortunately I need to get that working now.
But of course I'm looking forward to the new solution.

Regards,
-Max


--
Regards,
Igor

Max Spring wrote:
Here's one more special case.

When mapping into Maven coordinates, how should I distinguish a feature Jar from a plugin Jar.
Both can have the same name. E.g. I got here

    features/org.eclipse.cdt_5.0.1.200902060733.jar
     plugins/org.eclipse.cdt_5.0.1.200902060733.jar

What's the most "standard-ish" way?

Plugin: artifactId = bundleId
Feature: artifactId = bundleId + "-feature"
?

Thanks!
-Max


On 3/5/2009 9:14 AM, Max Spring wrote:
Thanks for this clarification. artifactId == bundleId made the most sense to me as well.
-Max


On 3/4/2009 11:41 PM, Jason van Zyl wrote:

On 4-Mar-09, at 9:15 PM, Igor Fedorenko wrote:

I originally hoped that some clever naming scheme would allow resolution of Eclipse/OSGi dependencies from Maven repositories. Unfortunately, I could not come up with such a scheme and eventually convinced myself it was not possible (but I'd be happy to be proved wrong here).

I still believe artifactId == bundleId convention makes sense, but it is not enforced in Tycho.


+1

The convention of artifactId == bundleId is what I've agreed on with Peter Kriens and I'm sure we'll just decide this is the case at the OSGi tooling summit.

I would also use OSGi versions (i.e., major.minor.micro) and use -SNAPSHOT in manen and .qualifier in OSGi. Again, this is not enforced in Tycho.

Apart from than, I would just follow Maven best practices.

--
Regards,
Igor

Max Spring wrote:
Hi Igor,
would you have any pointer or insight into how to best map OSGi bundle / Eclipse plugin names into Maven coordinates?
I find a lot of confusing discussion.
I see this posting from Jason
http://mail-archives.apache.org/mod_mbox/maven-dev/200805.mbox/%[email protected]%3e which makes a lot of sense to me, but on the other hand I see
http://repo1.maven.org/eclipse/org/eclipse/ following
http://www.jroller.com/carlossg/entry/eclipse_jars_now_in_maven
I need to populate my internal group repository with Eclipse artifacts and I would like to follow the most "standard" naming as much as possible.
Regards,
-Max




---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email





---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to