Maven: Calling ANT scripts before build  
Author Message
Axel Bock





PostPosted: 2006-5-10 17:28:00 Top

java-programmer, Maven: Calling ANT scripts before build Hi all,

I have this little problem in maven. I like to call an ANT script which
does some JAXB compiling before my compile goal is executed.

does anyone know how to achieve this? I have looked into the docs, and
I don't quite get it, I fear ... :-) .


Thanks in advance & greetings,
Axel.

 
Thomas Fritsch





PostPosted: 2006-5-10 19:27:00 Top

java-programmer >> Maven: Calling ANT scripts before build Axel Bock schrieb:
> I have this little problem in maven. I like to call an ANT script which
> does some JAXB compiling before my compile goal is executed.
>
> does anyone know how to achieve this? I have looked into the docs, and
> I don't quite get it, I fear ... :-) .

It might be something like this:
<preGoal name="compile">
<ant ...>
...
</ant>
</preGoal>

But it is only a guess, because I'm not fluent in all this gabby
maven/ant stuff.

--
"Thomas:Fritsch$ops:de".replace(':','.').replace('$','@')