Maven: Calling ANT scripts before build

A

Axel Bock

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.
 
T

Thomas Fritsch

Axel said:
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top