You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Yu, Lily" <Li...@auspost.com.au> on 2006/03/01 07:46:34 UTC

How to use maven middlegen? Any sample code?

Hi,

I have got an existing ant script which runs middlegen, hbm2java stuff. 

Now our project decides to adopt maven and I am wondering how can I convert
my ant script to maven script. I was told that it's not a good idea to call
ant script from maven. Plus maven has a middlegen plug-in so I decide to use
it. 

Is anyone used maven middlegen plug in before? I just need some sample
script code. Also, where do you specify your classpath and environment
properties such as database connection parameters? 

Many thanks,
Lily



Australia Post is committed to providing our customers with excellent service. If we can assist you in any way please telephone 13 13 18 or visit our website www.auspost.com.au

The information contained in this e-mail communication may be proprietary, confidential or legally professionally privileged.  It is intended exclusively for the individual or entity to which it is addressed. You should only read, disclose, re-transmit, copy, distribute, act in reliance on or commercialise the information if you are authorised to do so. Australia Post does not represent, warrant or guarantee the integrity of this e-mail communication has been maintained nor that the communication is free of errors, virus or interference. 

If you are not the addressee or intended recipient please notify us by replying direct to the sender and then destroy any electronic or paper copy of this message. Any views expressed in this e-mail communication are taken to be those of the individual sender, except where the sender specifically attributes those views to Australia Post and is authorised to do so.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: How to use maven middlegen? Any sample code?

Posted by Wayne Fay <wa...@gmail.com>.
This list is exclusively for Maven development discussions.

Please subscribe to the Maven Users list and send your question to
that list (users@maven.apache.org).

Wayne


On 3/1/06, Yu, Lily <Li...@auspost.com.au> wrote:
>
> Hi,
>
> I have got an existing ant script which runs middlegen, hbm2java stuff.
>
> Now our project decides to adopt maven and I am wondering how can I convert
> my ant script to maven script. I was told that it's not a good idea to call
> ant script from maven. Plus maven has a middlegen plug-in so I decide to use
> it.
>
> Is anyone used maven middlegen plug in before? I just need some sample
> script code. Also, where do you specify your classpath and environment
> properties such as database connection parameters?
>
> Many thanks,
> Lily
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org