This demo implements a "pluggable" Vaadin application with Spring Boot and Spring Plugin
git clone https://github.com/hectorlicea/vaadin-spring-plugin-demo.git
cd vaadin-spring-plugin-demo
mvn clean install
java -jar main/target/main.jar
Start you browser with http://localhost:8080
All data show with default plugin.
1. Stop the application
2. Create plugins folder. For example in /opt
mkdir /opt/plugins
3. Copy weather-plugin.jar
file to plugins folder.
cp weather-plugin/target/weather-plugin.jar /opt/plugins
4. Start main
application with the plugins folder name in loader.path
parameter
java -Dloader.path=/opt/plugins -jar main/target/main.jar
5. Start you browser with http://localhost:8080
weather data show with plugin