Re: Archetype - filter out archetype plugin

2015-08-17 Thread Jordan Zimmerman
I’m not using packaging “maven-archetype”. It doesn’t seem to work with multi-module projects. I’m merely adding the archetype plugin to my example project and building the archetype on package phase. -Jordan On August 17, 2015 at 12:45:39 AM, Hervé BOUTEMY (herve.bout...@free.fr) wrote:

Re: Archetype - filter out archetype plugin

2015-08-17 Thread Thomas Broyer
On Mon, Aug 17, 2015 at 2:15 PM Jordan Zimmerman jor...@jordanzimmerman.com wrote: I’m not using packaging “maven-archetype”. It doesn’t seem to work with multi-module projects. Works pretty-well for me: https://github.com/tbroyer/gwt-maven-archetypes/

Re: Archetype - filter out archetype plugin

2015-08-17 Thread Jordan Zimmerman
I want the whole project as an archetype - from the parent down. You can’t make the parent pom’s packaging maven-archetype. Right? -Jordan On August 17, 2015 at 7:24:54 AM, Thomas Broyer (t.bro...@gmail.com) wrote: On Mon, Aug 17, 2015 at 2:15 PM Jordan Zimmerman jor...@jordanzimmerman.com

Re: Archetype - filter out archetype plugin

2015-08-17 Thread Jordan Zimmerman
I see - these are already generated archetypes. Let me be more clear: I have an example project that has the archetype plugin set to “create-from-project” and then install the archetype.              plugin                 artifactIdmaven-archetype-plugin/artifactId                

Re: Archetype - filter out archetype plugin

2015-08-17 Thread Thomas Broyer
On Mon, Aug 17, 2015 at 2:27 PM Jordan Zimmerman jor...@jordanzimmerman.com wrote: I want the whole project as an archetype - from the parent down. You can’t make the parent pom’s packaging maven-archetype. Right? Each module of gwt-maven-archetypes is an archetype *for a multimodule

Re: Archetype - filter out archetype plugin

2015-08-17 Thread Petar Tahchiev
). However we don't have a way to filter out parts of the pom though. You can file a JIRA issue, but I don't think it's a top-priority issue - the resulting pom would still work as it's not breaking anything. -- Message transmit -- Sujet : Re: Archetype - filter out archetype

Archetype - filter out archetype plugin

2015-08-16 Thread Jordan Zimmerman
Hi, I have an example project that also serves as source for an archetype. So, the pom has:     build         plugins             plugin                 artifactIdmaven-archetype-plugin/artifactId ….             /plugin          /plugins      /build Of course, this means that

Re: Archetype - filter out archetype plugin

2015-08-16 Thread Hervé BOUTEMY
Hi, This is unusual: how do you build it once as a project and once as an archetype? Because, in general, the build as archetype is done by definig maven- archetype packaging [1], which makes the project unusable as direct project Regards, Hervé [1]