On 3/5/2009 6:57 PM, Jason van Zyl wrote:
On 5-Mar-09, at 6:37 PM, 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?
Why wouldn't you just call it
org.eclipse.cdt.plugin_XXX
and
org.eclipse.cdt.feature_XXX
?
Since I like to apply "artifactId = bundleId" as much as possible, I'll
go with
org.eclipse.cdt_XXX for the plugin
and
org.eclipse.cdt.feature_XXX for the feature.
-Max
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
Thanks,
Jason
----------------------------------------------------------
Jason van Zyl
Founder, Apache Maven
http://twitter.com/jvanzyl
----------------------------------------------------------
the course of true love never did run smooth ...
-- Shakespeare
---------------------------------------------------------------------
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
---------------------------------------------------------------------
To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
Thanks,
Jason
----------------------------------------------------------
Jason van Zyl
Founder, Apache Maven
----------------------------------------------------------
To do two things at once is to do neither.
-—Publilius Syrus, Roman slave, first century B.C.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
|