Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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.

0 votes



One answer

Permanent link
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.

0 votes

Comments

That was my initial approach, but with a command-line do you get the build results back to RTC

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

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,015

Question asked: May 07 '14, 1:30 p.m.

Question was seen: 4,549 times

Last updated: May 07 '14, 1:54 p.m.

Confirmation Cancel Confirm