worklog/.gitignore
zhangjf ae7fb43e39 feat: 添加 Maven Assembly 打包配置
- 添加 assembly.xml 定义标准部署目录结构
- 配置 pom.xml 使用 maven-assembly-plugin
- 打包输出到 deploy/worklog-api/ 目录
- 目录结构:bin/ lib/ conf/
- 更新 start.sh 脚本适配 lib/ 目录
- 添加 env.properties.example 和 service.properties.example 配置模板
- 更新 .gitignore 忽略打包输出目录
2026-02-24 17:44:59 +08:00

99 lines
1.7 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
# conf 目录下的实际配置文件(敏感信息)
# 开发阶段src/main/resources/conf/
# 部署阶段conf/(打包后)
src/main/resources/conf/env.properties
src/main/resources/conf/service.properties
# 数据库备份
*.sql.backup
db_backup/
# ==================== Assembly 打包输出 ====================
deploy/worklog-api/
# ==================== 上传文件 ====================
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