Weblogic 12c maven - proper IDEA configuration
Answered
Hi
I am pretty new intellij user. I am working with big Jave EE projects built with maven. I would like to achieve some level of productivity and have simple way to deploy applications to the server. How should I configure WLS in idea to achieve this? Exploaded ear or simple ear? Is it possible to have hot code swap enabled during debug when apps are build by maven? I am using IntelliJ IDEA Ultimate. Thanks in adavance.
Regards
Please sign in to leave a comment.
Hot deployment will work with IntelliJ IDEA exploded artifacts only, see https://www.jetbrains.com/idea/help/updating-applications-on-application-servers.html.
IDE should import and create the artifacts automatically from Maven. There are some known issues depending on your configuration. Some issues have the workarounds, check the comments.
Thank you for your response. Will it work for maven-built projects? Shouldn't I mvn install before deploying app in idea?
Maven compilation and artifact assembly would be much slower, using IntelliJ IDEA Build and Artifact is recommended for faster deployment of the changes.
You mean not using mvn install to build and use IDEA's way instead?
Yes.
I've faced another problem - how to explode modules inside EAR? I would like to have jar a war files exploded inside EAR directory.
See https://youtrack.jetbrains.com/issue/IDEA-141588.