# treasure-springboot2-example **Repository Path**: dingwen-gitee/treasure-example ## Basic Information - **Project Name**: treasure-springboot2-example - **Description**: Treasure spring boot 2 example - **Primary Language**: Java - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-11-04 - **Last Updated**: 2025-06-22 ## Categories & Tags **Categories**: Uncategorized **Tags**: treasure ## README # treasure springboot 2 example > `springboot 2.x` 示例项目,演示如何使用 `treasure` ## 启动脚本 ```shell ## 合并打包启动 java -Djasypt.encryptor.private-key-string=TODO -jar treasure-springboot2-example-1.0.0.jar ## 分包启动 java -Djasypt.encryptor.private-key-string=TODO -cp "app.jar:lib/*" top.dingwen.io.treasure.example.ExampleApplication ``` #### 打包脚本 ```shell ## 合并打包 mvn clean package -Dmaven.test.skip=true -Dassemble=true ## 拆包打包 mvn clean package -Dmaven.test.skip=true -Dunpack=true ```