Currently trying to pack a small application in such a way that our ops team has a much easier time to deploy it. My requirements are that the projects are compiled and archived.
I run the command "mvn -DmyProfile clean generate-sources package" from the command line, and I created a src.xml file that contains information about where the file should go on top of the declaration of using the zip format for output.
As a result, I get 2 files in my target folder, bank and zip file. The zip file is structured exactly the way I need it, except that my property files were not entered with the correct values from the POM. Instead, all the variables still exist. On the other hand, the bank seems to have entered all the correct values, but the structure of the bank is not the one I need.
This problem occurs only after I tried to add the Java Service Wrapper to my project, and I need the src.xml file to declare where all the new files should be in the project folder structure. Prior to that, the exact same team would work perfectly, and even the jar structure was more aligned with the actual project structure in Eclipse.
Do not blame the Java Service Wrapper device, just wondering if everything that works on this part is trying to create a conflict with the MVN assembly.
Any help is greatly appreciated.
Thanks Yann
source
share