How to generate post-build tasks for a Maven build
We need to perform 4 tasks after a successful JBE maven build:
copy 2 targets to s specified directory perform a maven dependency resolve list and a dependency tree. It would be very useful to do this as part of the Maven definition rather than set up a command line definition. |
One answer
My product was in a similar situation.
I wish I could tell you otherwise, but honestly your best bet is probably to switch to a command line definition & call Maven from a shell script. You just have so much more flexibility that way. Comments
Jerry Feldman
commented May 07 '14, 1:38 p.m.
That was my initial approach, but with a command-line do you get the build results back to RTC
Jeff Care
commented May 07 '14, 1:54 p.m.
I wrote a wrapper around the Ant tasks. I also asked the RTC team to add command line equivalents; can't remember the work item for that though.
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.