I work with WebServices on multiple glassfish servers, and the version ID is currently in the .war file itself, for example:
test-1.0.war
I would like to know if this is the right way, or what would be the right way (web.xml and pom.xml) to identify a project on the glassfish server?
The question arose because I'm using jenkins to automate my deploy and in deployment it removes the version of the .war file name like this:
teste.war