Re: Ad: Creating an ant-style distribution with Maven

2006-08-14 Thread Aleksei Valikov

Hi.


Have you tried the assembly plugin?


Oh, looks promising.

Thanks.

Bye.
/lexi

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Ad: Creating an ant-style distribution with Maven

2006-08-14 Thread Stefan Magnus Landrø
Have you tried the assembly plugin?


Aleksei Valikov <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


Creating an ant-style distribution with Maven

2006-08-14 Thread Aleksei Valikov

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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]