[hibernate-dev] Importing OGM in Eclipse: workaround needed [AKA: the domino effect of fixing your own tools..]
Guillaume Smet
guillaume.smet at gmail.com
Wed Aug 10 02:12:03 EDT 2016
Hi Sanne,
First, sorry for not mentioning it as I run into this problem a few
weeks ago. I must admit that, as noone complained about it, I thought
I was the only one with the problem and it was already fixed in recent
Neon releases.
The fact is that using maven-jar-plugin 3.0.0 is not an option as it
has memory issues. Yoann got them at OW and we had a few Travis build
failures on OGM because of that when I first upgraded to 3.0.0.
If we want to patch OGM, we have to go back to maven-jar-plugin 2.6
instead of 3.
Maybe we could ask Fred if an update is planned soon and decide with
that in mind?
--
Guillaume
On Tue, Aug 9, 2016 at 11:51 PM, Sanne Grinovero <sanne at hibernate.org> wrote:
> Hi all,
> I was having critical issues with Eclipse / OGM after a recent rebase,
> which seemed was caused by:
> - https://hibernate.atlassian.net/browse/OGM-1102
>
> The new maven-jar-plugin is no longer compatible with latest m2e
> integration, Fred Bricon already published an m2e preview with a fix;
> if you have this problem use this updated site to update m2e:
> - https://otto.takari.io/content/sites/m2e.extras/m2eclipse-mavenarchiver/0.17.2/N/LATEST/
>
> But there's a punch line.. the compatibility was broken because
> plex-tools, a dependency of maven-jar-plugin, was upgraded .. who
> would ever do such a thing!!! what an idiot :D :
> - https://issues.apache.org/jira/browse/MJAR-205
>
> As an alternative to update m2e could apply this patch:
> - https://github.com/hibernate/hibernate-ogm/commit/36b37f76215e52b235ed362e6be0f7d40a4a12e9
>
> I'm tempted to throw my patch away and stick to the m2e preview.. let
> me know if you all prefer me to apply the workaround on OGM.. the
> benefit would be that Eclipse Neon would be able to import OGM out of
> the box, however I expect m2e will automatically update soon enough.
>
> At least I had an honest LOL..
>
> Cheers,
> Sanne
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev
More information about the hibernate-dev
mailing list