-
Notifications
You must be signed in to change notification settings - Fork 21
Deployment
Tomáš Livora edited this page Mar 26, 2017
·
19 revisions
This document describes how to use IntelliJ IDEA to quickly deploy the application to WildFly application server during the development process. You will need Ultimate Edition since the features used here are not available in the Community Edition.
In order to be able to deploy the application by one click, you will first need to configure WildFly in your IDE:
- Prepare WildFly application server
- Open a command line
- Run
mvn clean install -DskipTests - Go to
engine/war/targetfolder - Copy
wildfly-10.1.0.Finalto some other location (preferably outside of the project)
- Enable JBoss Integration plugin
- Open IntelliJ IDEA
- Go to File -> Settings -> Plugins
- Find and check JBoss Integration
- Apply the changes and restart the IDE
- Add a new application server
- Go to File -> Settings -> Build, Execution, Deployment -> Application Servers
- Click on a green plus button (Add application server)
- Select the path to your copy of
wildfly-10.1.0.Finaldirectory - Save the changes
- Modify Run/Debug Configurations
- Go to Run -> Run/Debug Configurations
- Click on a green plus button
- Select JBoss Server -> Local
- Change the name to WildFly
- Choose the previously added application server
- Change the URL to
http://localhost:8080/lumeer-engine - On the Deployment tab add new artifact
engine-war:war - Save the settings