0

I have tried below with same assembly descriptor with two executions in pom.xml.

The problem is both zip files are mixing since they are calling one after other the same file.

Is there any way we can achieve this without going for two different assembly descriptor files?

File One File Two

blurfus
  • 13,485
  • 8
  • 55
  • 61
Aravind
  • 93
  • 1
  • 3
  • 8
  • Added formatting to some filenames/code. Added pictures to question (not just links to them) to make question self-sufficient – blurfus Jul 14 '17 at 00:10

1 Answers1

0

If you're trying to create two different zip files from two different directories, you'll need two different assembly descriptors. Each descriptor describes which files go into the end result.

Kraylog
  • 7,383
  • 1
  • 24
  • 35
  • Okay, ty for response. But when we have to 2 files seperately. we need two executions right? Because i want to name with seperate zip files – Aravind Jul 13 '17 at 18:26
  • Yes, my mistake. Corrected. – Kraylog Jul 13 '17 at 18:57
  • Thankyou for clarification. I am marking this as success. – Aravind Jul 14 '17 at 14:34
  • i have put another post can u help? i dont know to communicate with you.......https://stackoverflow.com/questions/45108814/context-root-path-not-working-in-jboss-7-ear – Aravind Jul 14 '17 at 18:03