Re: archetype:create-from-project and excluding files from to-be-created archetype

2018-07-02 Thread jtonic
Hi,

I can't tell if the feature request has been implemented or not, but for me
the only way of achieving some sort of archetype generation customisation is
by using the *post generate processing groovy script*.
It's obvious this is not the straightforward way of ignoring some
folders/files during the generation of the archetype from the existing
project, but allows the archetype authors to avoid manual intervention after
the run of the mvn archetype:create-from-project.
Further information about the post generation processing groovy script can
be found at 
generate-from-project
 
 
and an example at
https://github.com/attivio/archetypes/blob/develop/attivio-archetype-client/src/main/resources/META-INF/archetype-post-generate.groovy

Considering groovy is an amazing language especially for this kind of jobs,
I would highly urge anyone developing maven archetype to get accustomed with
it.

Kind regards,




--
Sent from: http://maven.40175.n5.nabble.com/Maven-Users-f40176.html

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: archetype:create-from-project and excluding files from to-be-created archetype

2011-02-06 Thread Stevo Slavić
Most effective route Wayne mentions doesn't have any effectiveness
guarantees - ticket with by-the-book patch could be unresolved and
unnoticed or without any feedback for ages just as any non-maintainer
created ticket. On the bright side of things, with Apache v2 licensed
projects if you're armed with a patch you can always fork or at least
create your own custom release.

Regards,
Stevo.

On Wed, Dec 1, 2010 at 5:29 PM, Wayne Fay wayne...@gmail.com wrote:
  I have the same needs. I'd like to exclude the .project when creating my
 archetype.
 Is it possible ?

 The most effective route to getting this kind of issue resolved is to
 just do it yourself and donate the code back to the project via Jira.
 Otherwise the issue will simply sit for another year until someone
 else wants it and does it for you.

 Wayne

 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: archetype:create-from-project and excluding files from to-be-created archetype

2010-12-01 Thread abousso...@gmail.com

Hi

  I have the same needs. I'd like to exclude the .project when creating my
archetype.
Is it possible ?
thanks
-- 
View this message in context: 
http://maven.40175.n5.nabble.com/archetype-create-from-project-and-excluding-files-from-to-be-created-archetype-tp124602p3287376.html
Sent from the Maven - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: archetype:create-from-project and excluding files from to-be-created archetype

2010-12-01 Thread Wayne Fay
  I have the same needs. I'd like to exclude the .project when creating my
 archetype.
 Is it possible ?

The most effective route to getting this kind of issue resolved is to
just do it yourself and donate the code back to the project via Jira.
Otherwise the issue will simply sit for another year until someone
else wants it and does it for you.

Wayne

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



archetype:create-from-project and excluding files from to-be-created archetype

2009-10-01 Thread Stevo Slavić
Hello maven users,

Is there a way to configure archetype:create-from-project execution to
exclude ((eclipse) IDE specific) files and directories (like .project,
.classpath, .settings, .svn) when creating an archetype? If I understood
well, current options only allow specifying which files get (resource)
filtered via archetypeFilteredExtensions configuration parameter.

Regards,
Stevo.


Re: archetype:create-from-project and excluding files from to-be-created archetype

2009-10-01 Thread Stevo Slavić
Created issue http://jira.codehaus.org/browse/ARCHETYPE-258 for this.

Regards,
Stevo.

On Thu, Oct 1, 2009 at 1:29 PM, Stevo Slavić ssla...@gmail.com wrote:

 Hello maven users,

 Is there a way to configure archetype:create-from-project execution to
 exclude ((eclipse) IDE specific) files and directories (like .project,
 .classpath, .settings, .svn) when creating an archetype? If I understood
 well, current options only allow specifying which files get (resource)
 filtered via archetypeFilteredExtensions configuration parameter.

 Regards,
 Stevo.