generator-jxx-spring-boot-lib
v1.2.2
Published
Yeoman generator for JXX Spring Boot library projects
Maintainers
Readme
generator-jxx-spring-boot-lib
Yeoman generator for creating JXX Spring Boot library (plugin) projects.
Installation
npm install -g yo
npm install -g generator-jxx-spring-boot-libUsage
yo jxx-spring-boot-libThe generator will prompt you with the following questions:
| # | Question | Options |
|---|----------|---------|
| 1 | Select Java version | 11, 17, 21 |
| 2 | Enter project name | e.g., myPayment |
| 3 | Enter base package | e.g., uz.company |
| 4 | Select plugin dependencies | lombok, spring-web, spring-test |
Generated Project Structure
spring-boot-<project-name>/
├── pom.xml
└── src/
└── main/
├── java/
│ └── <base.package>/
│ ├── config/
│ │ ├── <AppName>Properties.java
│ │ └── <AppName>Configuration.java
│ └── service/
│ ├── <AppName>Service.java
│ └── impl/
│ ├── <AppName>ServiceImpl.java
│ └── Dummy<AppName>ServiceImpl.java
└── resources/
└── application.ymlDifferences by Java Version
| Java | Spring Boot | HTTP Client |
|------|-------------|----------------|
| 11 | 2.7.0 | RestTemplate |
| 17 | 3.3.0 | RestClient |
| 21 | 3.4.5 | RestClient |
simulate property
Configuration can be managed in application.yml or external config as follows:
<project-name>:
simulate: false
base-url: "localhost:8080"
connect-timeout: 15000
read-timeout: 15000
