but the build process still produces a war file by the name of ${rootProject.name}-${version}.war
I’m not sure how to override. I’m using a build.gradle file that was produced some time ago and I’m using gradle 2.3. I also read and tried passing a command line parameter:
question: How can I override the war archive name on the command line? I can set it in the build.gradle as mentioned above, but I find myself in a situation where for a particular build I have to override the name. I was using
-P war.archiveName=xxx.war
but it does not seem to take. How do i override a name on the build command line?