Yeah that was one of the options to generate the archetype from my working
source. However, I release my archetype quite often and is really not
convenient to generate it every time and replace all the package names, and
xmls and class names etc. So I was hoping to get a better solution.
2014-03-
Generate the archetype from your working source.
Sent from my iPhone
On 10/03/2014, at 8:06 AM, Petar Tahchiev wrote:
> Hello,
>
> thanks for your responses. Yes, unforutnately, I do need parameterized Java
> code (package names, classnames, also xml files, etc..). As I said it's
> pretty comp
Well, IMO an archetype is by definition something rarely used: you often
work on an existing project, but are unlikely to create a new one every day.
So, you may have a very specific use-case, and that is often the cause of
something not working the way one want on a specific situation.
I was talk
Hello,
thanks for your responses. Yes, unforutnately, I do need parameterized Java
code (package names, classnames, also xml files, etc..). As I said it's
pretty complicated project.
I looked at templating-maven-plugin but it seems that filtering the
standard src/main/java folder is not supported.
Just a quick thought, maybe using some hacky form of a development profile
using the templating-maven-plugin to filter those properties could help?
2014-03-09 20:47 GMT+01:00 Benson Margulies :
> Are you sure that you absolutely need parameterized Java code? There's
> really no good way to work
Are you sure that you absolutely need parameterized Java code? There's
really no good way to work with it. You could instead use the
maven-shade-plugin to customer-ize your results as part of their
build.
On Sun, Mar 9, 2014 at 3:36 PM, Petar Tahchiev wrote:
> Hey guys,
>
> here's an interesting
Hey guys,
here's an interesting question: how do you develop your maven archetypes? I
have a web-project that consists of lots of controllers and jsps, and I
have been developing this for a long time, and I want to keep developing
it. I also want to provide this project to my clients as an archety