m2eclipse-scala & scala-ide

148 views
Skip to first unread message

Matthew Farwell

unread,
Nov 9, 2011, 5:39:42 AM11/9/11
to scala-...@googlegroups.com
Salut,

This may be a stupid question, but why is there a separate m2eclipse-scala plugin? Why can't it be part of the scala-ide plugin?

Here is my thinking. If I'm currently using m2eclipse & scala-ide then I will very likely want to install m2eclipse-scala as well, so why not include it as part of the scala-ide?

It may be that it should really be part of m2eclipse itself, is this likely? Will it eventually be part of the m2eclipse distribution?

It may be possible to include the code for m2eclipse directly in the scala-ide, or distribute it as a separate plugin which can be installed at the same time as scala-ide. What do people think?

I'm just trying to make the passage for a mixed java/scala maven project easier.

David? What do you think about this?

Cordialement,

Matthew Farwell.

Martin Ellis

unread,
Nov 10, 2011, 7:23:56 PM11/10/11
to scala-...@googlegroups.com
On 9 November 2011 10:39, Matthew Farwell <mat...@farwell.co.uk> wrote:
> It may be possible to include the code for m2eclipse directly in the
> scala-ide, or distribute it as a separate plugin which can be installed at
> the same time as scala-ide. What do people think?

I think the best thing to do is to get m2eclipse-scala registered in
the discovery catalogue (is that what it's called?), so it works the
same way as other m2e connectors.

I recently sent the scala-tools admins an email (copying David B.)
asking if scala-tools could be used to host update sites for
scala-related m2e connectors (I wrote one for scalaxb), but 10 days
later, I haven't had any reply.

I'm happy to do the work to get the plugins into the discovery
catalogue *if* we can find somewhere sensible to host the m2e
connectors (by which I mean, somewhere that more than one person has
access to).

Martin

David Bernard

unread,
Nov 14, 2011, 7:56:13 AM11/14/11
to scala-...@googlegroups.com
Hi,

This may be a stupid question, but why is there a separate m2eclipse-scala plugin? Why can't it be part of the scala-ide plugin?

Because the original code (~ 10 lines) was made by Jason Van Zyl and copyrighted by Sonatype.
(2 years ago) When  I ask to host m2eclipse-scala on the same site as scala-ide. Jason, Miles and I agree to let sonatype host the update-site like for other m2e extensions. But it was never done.
I hosted update-site on my ISP, like for other update-sites.

There is a problem of "owner/hoster" of the plugin : sonatype or scalaIDE(s) or third-party.
To ease user's setup, since few month, I experiment use of composite update-site, if you look at m2e-scala update it propose access to m2e,...

Some other Issues :
* that scalaIDE propose severals update-site.
* m2eclipse distribution is now own by eclipse foundation

About using the "discovery catalogue", I didn't explore this solution (do you have some links ?).

I think oss.sonatype.org is a better place to ask for hosting update-sites for m2e connectors than scala-tools.org (mainly in maintenance mode).

/davidB

PS: sorry for late reply I doesn't check email every days.

Martin Ellis

unread,
Nov 14, 2011, 10:08:42 AM11/14/11
to scala-...@googlegroups.com
On 14 November 2011 12:56, David Bernard <david.be...@gmail.com> wrote:
>> This may be a stupid question, but why is there a separate m2eclipse-scala
>> plugin? Why can't it be part of the scala-ide plugin?
> Because the original code (~ 10 lines) was made by Jason Van Zyl and
> copyrighted by Sonatype.

I wonder if Sonatype are particularly attached to it. Perhaps ask them
to also licence those 10 lines under a BSD licence?


> About using the "discovery catalogue", I didn't explore this solution (do
> you have some links ?).

Just this, I think: http://wiki.eclipse.org/Submitting_M2E_marketplace_entries


> I think oss.sonatype.org is a better place to ask for hosting update-sites
> for m2e connectors than scala-tools.org (mainly in maintenance mode).

I asked Jason if they could do something like Sonatype's 'forge-sites':
http://repository.sonatype.org/content/repositories/forge-sites/

He said that oss.sonatype.org isn't the place, but that they might
open-source the plugin that they use on forge-sites... IRC log
included below.

<mart> Does Sonatype provide open-source hosting for p2 repos? So I
could deploy to somewhere with this kind of format?
https://repository.sonatype.org/content/repositories/forge-sites/
<mart> I'm working on an m2e connector I'd like to publish.
<jvanzyl> mart: nope
<jvanzyl> we create zips of p2 repos and deploy to normal nexus
<jvanzyl> and we have a zip plugin which explodes the zip on the fly
<jvanzyl> we also released a plugin that does a form of a hosted
p2 repo but it's not for the faint of heart
<mart> jvanzyl: You just unpack in the storage directory? Or there's a
better way to deploy to nexus?
<jvanzyl> we deploy to a url and we have a nexus plugin that
unpacks it to the storage directory, yes
<jvanzyl> i'd have to ask igor, but the plugin is nothing special
we could open source that if it's not
<jvanzyl> it just explodes a zip file

Martin

Reply all
Reply to author
Forward
0 new messages