worklog/.gitignore
zhangjf d627b19976 feat: 优化打包配置,生成瘦JAR和分离依赖
- 禁用 spring-boot-maven-plugin 的 repackage
- 配置 maven-jar-plugin 指定主类
- assembly.xml 只输出 tar.gz 格式
- 应用 JAR (97KB) 只包含业务代码
- 依赖 JAR (87个) 单独打包到 lib 目录
- 更新 start.sh 使用 -cp 方式启动
- 更新 .gitignore 忽略打包输出
2026-02-24 18:09:04 +08:00

98 lines
1.6 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# ====================================================
# 工作日志服务平台 - Git 忽略配置
# ====================================================
# ==================== IDE ====================
# IntelliJ IDEA
.idea/
*.iml
*.iws
*.ipr
out/
# Eclipse
.classpath
.project
.settings/
bin/
# VSCode
.vscode/
# ==================== 构建产物 ====================
target/
build/
dist/
*.class
*.jar
*.war
*.ear
# ==================== 日志文件 ====================
logs/
*.log
/log/
# ==================== 临时文件 ====================
*.tmp
*.bak
*.swp
*~.nib
*.cache
# ==================== 配置文件(敏感信息)====================
# 配置文件包含敏感信息,不提交到仓库
application.yml
application-dev.yml
application-test.yml
application-prod.yml
bootstrap.yml
# 实际配置文件(敏感信息,仅模板提交)
src/main/resources/env.properties
src/main/resources/service.properties
# 数据库备份
*.sql.backup
db_backup/
# ==================== Assembly 打包输出 ====================
deploy/worklog-api/
deploy/worklog-api.tar.gz
# ==================== 上传文件 ====================
uploads/
files/
# ==================== 系统文件 ====================
.DS_Store
Thumbs.db
desktop.ini
# ==================== Node.js前端====================
node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
package-lock.json
yarn.lock
# ==================== Maven ====================
.mvn/
mvnw
mvnw.cmd
# ==================== Gradle ====================
.gradle/
gradle/
gradlew
gradlew.bat
# ==================== 其他 ====================
*.pid
*.seed
*.pid.lock
.env
.env.local
.env.*.local