Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/qutax/jpms-spring-example

An example for combining the JPMS and Spring
https://github.com/qutax/jpms-spring-example

java java-11 java-module jpms maven spring spring-boot

Last synced: 3 months ago
JSON representation

An example for combining the JPMS and Spring

Awesome Lists containing this project

README

        

# JPMS and Spring Example
This project is a combatibility test of the Java Platform Module System and the Spring Framework using Spring Boot.

## Building and Running

### With JPMS
```bash
mvn install
```
```bash
cd web
```
```bash
java --add-modules java.instrument --module-path=target/modules --module example.web/red.jackal.training.spring.jpms.web.WebApplication
```

### Without JPMS
```bash
mvn install
```
```bash
cd web
```
```bash
mvn package spring-boot:repackage
```
```bash
java -jar target/web-0.0.1.jar
```