Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-users] m2e 1.1 and compatible egit connector availability

Cool, I'll take a look today.

On Jul 2, 2012, at 7:59 AM, Stevo Slavić wrote:

Just created a pull request for the cxf-codegen-plugin connector: https://github.com/sonatype/m2eclipse-extras/pull/12

Kind regards,
Stevo.

On Mon, Jul 2, 2012 at 10:12 AM, Stevo Slavić <sslavic@xxxxxxxxx> wrote:
@Igor To truly uninstall Subversive's Team Provider I have to uninstall Subversive completely since all others plugin features depend on it. Or do you want me to uninstall Subversive entirely and try "Check out Maven Projects from SCM"? Attached is my eclipse configuration.

@Jason When you say split out into individual build, I assume you mean making cxf-codegen-plugin connector a separate build from m2e-extras. I see ( https://github.com/sonatype/m2eclipse-extras/commit/a27cb4331c4001220e0ba00a481fdb0df39e4f86 ) you already started work on this, but branch is still part of m2e-extras repository. Will give it a try, check what's left to be done on splitting part, and juno/tycho/tesla adjustments. My experience with tycho, eclipse plugins and osgi is rather thin, but I'm willing to learn (tycho book will come handy). Last time I tried to tackle cxf-codegen-plugin connector I got stuck with site publishing part, and wasn't very pleased with the way I included plugin specific configuration API. Can you please point me to some connector which also has maven plugin as dependency to use plugin's configuration API?

Kind regards,
Stevo.


On Mon, Jul 2, 2012 at 4:16 AM, Jason van Zyl <jason@xxxxxxxx> wrote:
I am planning on splitting out the extras into individual builds so I'll get to it eventually but if you want to split it out and adapt it to Juno go for it. I'll add it to the build grid and publish it when you do.

jvz

On 2012-07-01, at 7:37 PM, Stevo Slavić <sslavic@xxxxxxxxx> wrote:

Uninstalled Polarion's m2e Subversive integration, installed this nightly Sonatype's m2eclipse-subversive connector build, checked out few projects as maven projects - so far it seems to work ok (with latest eclipse, m2e, subversive, and svnkit releases).

Wish cxf-codegen-plugin connector in that m2extras branch would get some attention too - hopefully not much is needed to get it working. Supporting cxf from 2.3+ would be great.

Kind regards,
Stevo.

On Sun, Jul 1, 2012 at 11:57 PM, Jason van Zyl <jason@xxxxxxxx> wrote:
Glad it worked for you.

Supporting non-standard layouts isn't high on my priority list. Not something I'll be looking at myself.

I also updated the build for the Subversive connector and deployed it. I haven't tested it but you're welcome to give it a whirl:


On Jul 1, 2012, at 5:33 PM, Stevo Slavić wrote:

Thanks for sharing!

It installs ok, but...

When importing existing maven projects from local git repository using this m2e egit connector (and when importing maven projects from remote svn repository using Polarion's Subversive m2e 1.1 compatible connector) where projects are multimodule projects and submodule directory names do not match their respective artifactId, parent/aggregator module gets imported well while submodules get copied over to directories with names equal to their artifactId, and then imported; old submodule directories get marked as deleted in svn.

I then have to logically remove eclipse projects for submodules, from parent/aggregator perspective revert changes and import existing maven projects - then it imports well.

Probably this is bug in m2e itself and not in scm connectors.

Maybe m2e should also bug users that have submodule directory names and their artifactId not aligned with warnings, and recommend and offer quick-fixes to align the names - maven plugins (like site and related ones) expect (or at least used to expect) this consistency, it's more intuitive, and helps avoid collisions when working on more (related) projects in single workspace. Nevertheless, it should work ok with configuration which is not aligned with convention.

Btw, maybe Sonatype developers would be interested in somewhat related topic (m2e scm connector for Subversive) at http://www.eclipse.org/forums/index.php/m/892888/#msg_892888

Kind regards,
Stevo.

On Sun, Jul 1, 2012 at 3:05 PM, Jason van Zyl <jason@xxxxxxxx> wrote:
To help you can test this build here:


On Jul 1, 2012, at 9:03 AM, Stevo Slavić wrote:

Hello m2e community,

m2e egit connector in the current m2e 1.1 catalogue is not compatible with recently released egit 2.0 (see [1])

What needs to be done to have a compatible version released? Is there any help needed?

Kind regards,
Stevo.


[1] m2e egit dependency conflict

Operation details
Cannot complete the install because of a conflicting dependency.
Software being installed: Maven SCM Handler for EGit 0.14.0.201110251725 (org.sonatype.m2e.egit.feature.feature.group 0.14.0.201110251725)
Software currently installed: Eclipse EGit 2.0.0.201206130900-r (org.eclipse.egit.feature.group 2.0.0.201206130900-r)
Only one of the following can be installed at once:
Git Team Provider UI 2.0.0.201206130900-r (org.eclipse.egit.ui 2.0.0.201206130900-r)
Git Team Provider UI (Incubation) 0.8.4 (org.eclipse.egit.ui 0.8.4)
Git Team Provider UI 1.1.0.201109151100-r (org.eclipse.egit.ui 1.1.0.201109151100-r)
Git Team Provider UI 1.3.0.201202151440-r (org.eclipse.egit.ui 1.3.0.201202151440-r)
Git Team Provider UI (Incubation) 0.11.1 (org.eclipse.egit.ui 0.11.1)
Git Team Provider UI (Incubation) 0.9.1 (org.eclipse.egit.ui 0.9.1)
Git Team Provider UI 1.0.0.201106090707-r (org.eclipse.egit.ui 1.0.0.201106090707-r)
Cannot satisfy dependency:
From: Eclipse EGit 2.0.0.201206130900-r (org.eclipse.egit.feature.group 2.0.0.201206130900-r)
To: org.eclipse.egit.ui [2.0.0.201206130900-r]
Cannot satisfy dependency:
From: Maven SCM Handler for EGit 0.14.0.201110251725 (org.sonatype.m2e.egit 0.14.0.201110251725)
To: bundle org.eclipse.egit.ui [1.0.0,2.0.0)
Cannot satisfy dependency:
From: Maven SCM Handler for EGit 0.14.0.201110251725 (org.sonatype.m2e.egit.feature.feature.group 0.14.0.201110251725)
To: org.sonatype.m2e.egit [0.14.0.201110251725]
_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users

Thanks,

Jason

----------------------------------------------------------
Jason van Zyl
Founder & CTO, Sonatype
Founder,  Apache Maven
http://twitter.com/jvanzyl
---------------------------------------------------------

happiness is like a butterfly: the more you chase it, the more it will
elude you, but if you turn your attention to other things, it will come
and sit softly on your shoulder ...

-- Thoreau 






_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users


_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users

Thanks,

Jason

----------------------------------------------------------
Jason van Zyl
Founder & CTO, Sonatype
Founder,  Apache Maven
http://twitter.com/jvanzyl
---------------------------------------------------------

believe nothing, no matter where you read it,
or who has said it,
not even if i have said it,
unless it agrees with your own reason
and your own common sense.

 -- Buddha






_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users


_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users

_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users



_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users

Thanks,

Jason

----------------------------------------------------------
Jason van Zyl
Founder & CTO, Sonatype
Founder,  Apache Maven
http://twitter.com/jvanzyl
---------------------------------------------------------

In short, man creates for himself a new religion of a rational
and technical order to justify his work and to be justified in it.

  -- Jacques Ellul, The Technological Society






Back to the top