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

0
7 comments

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.

0
Avatar
Permanently deleted user

Thank you for your response. Will it work for maven-built projects? Shouldn't I mvn install before deploying app in idea?

0

Maven compilation and artifact assembly would be much slower, using IntelliJ IDEA Build and Artifact is recommended for faster deployment of the changes.

0
Avatar
Permanently deleted user

You mean not using mvn install to build and use IDEA's way instead?

0
Avatar
Permanently deleted user

I've faced another problem - how to explode modules inside EAR? I would like to have jar a war files exploded inside EAR directory.

0

Please sign in to leave a comment.