Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[m2e-dev] Fwd: [m2e-wtp-dev] Pointers on including archetype in my plugin

This is a m2e core question so, let's move this thread to the m2e-dev ML.

There is a bug with catalogs embedded in plugins (see http://dev.eclipse.org/mhonarc/lists/m2e-dev/msg01070.htmlhttps://issues.sonatype.org/browse/MNGECLIPSE-2431) Matthew suggested using an exploded plugin but I don't know if it works.
I imagine the archetypes would live right next to the catalog and would then be picked up automatically, but at this point this is just a theory, until someone makes it work.

As for Greg's question about archetype versions, if you select all catalogs in the ui, the latest version of you plugin will be shown.You can pick different versions by unchecking "show the last version of the archetype only". Selecting your custom catalog should also only show the versions you initially referenced

Regards,

Fred Bricon


---------- Forwarded message ----------
From: Greg Amerson <gregory.amerson@xxxxxxxxxxx>
Date: Fri, Nov 2, 2012 at 6:16 AM
Subject: Re: [m2e-wtp-dev] Pointers on including archetype in my plugin
To: M2E-WTP Developers mailing list <m2e-wtp-dev@xxxxxxxxxxx>


+1, and a follow up question is lets say that I ship archetypes version 6.0.0, 6.1.0, with my plugin but a few days, weeks after my plugin ships 6.2.0 archetypes are available in public maven repo.  How does the m2e plugin extension point work in this case?  Does it always use the local packaged catalog or will it consult public repo as well?  

Thanks in advance.

On Fri, Nov 2, 2012 at 3:11 AM, Andrew Mak <makandre@xxxxxxxxxx> wrote:
Hi,

I'm writing some extension plugins to m2e and was wondering if there's a way to include my own archetype.  I came across the org.eclipse.m2e.archetypeCatalogs extension-point, which seems to let me include a catalog, but I haven't figured out how to actually associated and package an archetype in my plugin.  Could someone give me some pointers on this?  

Thanks in advance.

Andrew

_______________________________________________
m2e-wtp-dev mailing list
m2e-wtp-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/m2e-wtp-dev




--
Greg Amerson
Liferay, Inc.
---

16 November 2012 | Liferay Italy Symposium | liferay.com/italy2012



_______________________________________________
m2e-wtp-dev mailing list
m2e-wtp-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/m2e-wtp-dev




--
"Have you tried turning it off and on again" - The IT Crowd

Back to the top