You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Aleksei Valikov <va...@gmx.net> on 2006/08/14 14:41:57 UTC
Creating an ant-style distribution with Maven
Hi.
I have recently migrated one of my projects (Hyperjaxb2,
https://hyperjaxb2.dev.java.net/) onto Maven. I'm very satisfied with results
but have one open question.
Hyperjaxb2 is a code generation tool. You give your XML Schema in and get a JAR
with JAXB-generated classes plus Hibernate mappings to persiste these classes in
a relational database.
As one of the artifacts, I'd like to produce a "just add water" project
template, where users could simply copy the XML schema in some directory and
execute the build.
With Maven this can be implemented with a Maven plugin, which could create the
appropriate directory structure and build files. However I still have a lot of
Ant users which aren't ready to migrate to Maven. For these users I'd like to
produce something like a zip file with pre-created directory structure and build
files as well as all the required libraries.
So my question is - how could I produce such a Zip?
Thank you for your time.
Bye.
/lexi
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Ad: Creating an ant-style distribution with Maven
Posted by Aleksei Valikov <va...@gmx.net>.
Hi.
> Have you tried the assembly plugin?
Oh, looks promising.
Thanks.
Bye.
/lexi
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Ad: Creating an ant-style distribution with Maven
Posted by Stefan Magnus Landrø <st...@gjensidige.no>.
Have you tried the assembly plugin?
Aleksei Valikov <va...@gmx.net> skrev 14.08.2006 14:41:57:
> Hi.
>
> I have recently migrated one of my projects (Hyperjaxb2,
> https://hyperjaxb2.dev.java.net/) onto Maven. I'm very satisfied with
results
> but have one open question.
>
> Hyperjaxb2 is a code generation tool. You give your XML Schema in
> and get a JAR
> with JAXB-generated classes plus Hibernate mappings to persiste
> these classes in
> a relational database.
>
> As one of the artifacts, I'd like to produce a "just add water" project
> template, where users could simply copy the XML schema in some directory
and
> execute the build.
>
> With Maven this can be implemented with a Maven plugin, which could
> create the
> appropriate directory structure and build files. However I still
> have a lot of
> Ant users which aren't ready to migrate to Maven. For these users I'd
like to
> produce something like a zip file with pre-created directory
> structure and build
> files as well as all the required libraries.
>
> So my question is - how could I produce such a Zip?
>
> Thank you for your time.
>
> Bye.
> /lexi
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>