Deploy spring-boot application import `maplecloudy-osrt-maven-plugin` to pom.xml```plugin groupIdcom.maplecloudy.osrt/groupId artifactIdmaplecloudy-osrt-maven-plugin/artifactId version${lastest-version}/version executions execution goals goalrepackage/goal enable upload app goalinstall-osrt-app/goal /goals /execution /executions/plugin``` execute `mvn clean install` to generate `xxx-osrc-app.jar/war`if the token stored locally expired,need to input username and password to update. the login to osrc config file store aslocation: `~/.osrc`the config info store as:```json{ remote: https://www.osrc.com, username: osrc, accessToken: 3Uf3Lcdx45KmaZASPV_xxxxxxxxx, tokenType: Bearer, scope: { type: user, id: xxxx }}``` Deploy SPA to osrc Pages import `osrc-cli` by npm or yarn```bash npm i -g osrc-cli oryarn global add osrc-cli```input `osrc` to get help info```bash Usage: osrc [command]Options: -V, version output the version number -r,remote remote config osrc deploy target, this is for developer of osrc,defalut is https://www.osrc.com, -h, help display help for commandCommands: info print config info login login osrc deploy deploy built assets to osrc, default target is dist```- tips : *osrc-cli support node: ^12.20.0 || ^14.13.1 || =16.0.0*- workaround for other node version: *build the SPA project with your wanted node version, the switch to others node version for use osrc cli!* login```bashosrc login input username and password, got the token and store``` deploythe deploy dir defalut as 'dist', if your project build output as 'dist',you can ignore this para!```bash after the build finished specific the deploy dirosrc deploy -d distosrc deploy dirname dist``` print the osrc config info of current```bashosrc info``` the login to osrc config file store aslocation: `~/.osrc`the config info store as:```json{ remote: https://www.osrc.com, username: osrc, accessToken: 3Uf3Lcdx45KmaZASPV_xxxxxxxxx, tokenType: Bearer, scope: { type: user, id: xxxx }}```