Integrated build not performing maven rule?
Answered
I'm building a war file in my project that I've defined a run/debug configuration to deploy to my jboss server upon running.
My maven build has this rule:
<finalName>${project.name}</finalName>
and it generates the war without the tacked on version stamp... I prefer this since I don't want the startup url to contain
http://localhost:8080/[base_war_file_name]-x.x/
but simply
http://localhost:8080/[base_war_file_name]/
how can I achieve this using the intellij build lifecycle since apparently it's not using maven as it continues to builds and deploys the artifact as [base_war_file_name]-x.x.war ?
Please sign in to leave a comment.
Works fine for me when I add finalName into a build section:
Please show your artifacts configuration page and pom.xml configuration. A sample project would help a lot to speed up troubleshooting. You can upload it to https://uploads.services.jetbrains.com or any file sharing service.
well, this isn't going to be an easy task, but let me see what I can do...
Hmmm, well this is odd. On my quest to generate a demonstrable repo, it is working as I would have expected. I'll keep an eye out for this behavior in the future and report back if it rears it's head again.
Sorry for the wasted bandwidth.