Skip to content

Commit 26135a6

Browse files
committed
fix: remove build artifacts from spring-boot template and improve gitignore
- Remove committed Maven build artifacts (target/ directory) - Add Java/Maven/Gradle patterns to root .gitignore - Add .gitignore to spring-boot template to prevent future artifacts - Tests now use --no-open flag to prevent browser opening
1 parent aea6d23 commit 26135a6

File tree

10 files changed

+33
-11
lines changed

10 files changed

+33
-11
lines changed

.gitignore

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,4 +147,18 @@ vite.config.ts.timestamp-*
147147
.DS_Store
148148
.vscode/*
149149
.idea/
150-
test-workspace/
150+
test-workspace/
151+
152+
# Java / Maven / Gradle build artifacts
153+
target/
154+
*.class
155+
*.jar
156+
!**/src/**/*.jar
157+
*.war
158+
*.ear
159+
build/
160+
.gradle/
161+
bin/
162+
.settings/
163+
.classpath
164+
.project

package-lock.json

Lines changed: 0 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

templates/spring-boot/.gitignore

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Maven build artifacts
2+
target/
3+
*.class
4+
*.jar
5+
*.war
6+
*.ear
7+
8+
# IDE files
9+
.idea/
10+
.vscode/
11+
.settings/
12+
.classpath
13+
.project
14+
*.iml
15+
16+
# OS files
17+
.DS_Store
18+
Thumbs.db

templates/spring-boot/target/classes/application.properties.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.
Binary file not shown.

templates/spring-boot/target/maven-archiver/pom.properties

Lines changed: 0 additions & 3 deletions
This file was deleted.

templates/spring-boot/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst

Whitespace-only changes.

templates/spring-boot/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst

Lines changed: 0 additions & 1 deletion
This file was deleted.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)