Maven Build: Ear with Extra Resources in a Zip Code

I have an ear project, some XSLT files, RNC schema files. I want the XSLT files, schemas, and documents to be external (for hot swapping), and I want to pack everything in a zip upon release. Lets name the project "foo". I have the following modules:

  • foo (parental)
  • foo-jar creates a jar file (with mbeans)
  • foo-war creates a war file
  • foo-ear creates an ear file, depends on jar and war

It all works, but here are my questions:

  • Where are XSLT files, schemas, and documentation stored? Separate module? inside the parent project?
  • How and where can I create an assembly that links the ear file and XSLT directories and schemas in zip?
+3
source share
1

, . .

0

Source: https://habr.com/ru/post/1777035/


All Articles