The three possible ways to set context root for a web application is
a. via Deployment plan
b. Weblogic Deployment descriptor
c. From Weblogic Admin console
If you have ruled out on all the above options, go ahead and log a SR with the sample reproducer for Support to test the behavior and assist you on the same.
Else let me know if you need more information on the above options...
I found this below document which has step by step instructions on setting context root in deployment plan.
Hope it helps!!
Thanks for the reference. I do know that you can modify context root via EAR plugin. And in fact I do do that in one application.
However, in this scenario I was trying to use ojdeploy maven plugin (introduced in 12.1.3 I believe).
Invoking ojdeploy produces an EAR and I cannot control the process with Maven (deployment profile or deployment plan only).