Hi everyone,
Currently trying to package a small app in such a way that our ops team has a much easier time to deploy it. My requirements are that the projects gets compiled and zipped up.
I run the command "mvn -DmyProfile clean generate-sources package" from the command line and I have created a src.xml file that details where which file should go on top of declaring the use of zip format for the output.
As a result I get 2 files in my target folder, a jar and a zip file. The zip file is structured exactly how I need it, except my properties files didn't get injected with the right values from the POM. Instead all the {variables} are still there. The jar on the other hand seems to have all the right values injected, but the structure of the jar is not the one I need.
The kicker is this problem is occurring only since I've tried to add Java Service Wrapper to my project and needed to have the src.xml file to declare where all the new files should go in the project folder structure. Before that, the exact same command would work perfectly and even the jar structure was more consistent with the actual project structure in Eclipse.
Not blaming the Java Service Wrapper, just wondering if by trying to have everything working fot that piece, I didn't create a conflict with the MVN assembly.
Any help is much appreciated.
Thanks, Yann