Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions UserService/summerproject.demo/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/mvnw text eol=lf
*.cmd text eol=crlf
33 changes: 33 additions & 0 deletions UserService/summerproject.demo/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
HELP.md
target/
.mvn/wrapper/maven-wrapper.jar
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

Unignore Maven Wrapper jar to keep wrapper reproducible

At Line 3, .mvn/wrapper/maven-wrapper.jar is currently ignored. For Maven Wrapper projects, this file is usually committed so fresh clones can run wrapper commands reliably.

Proposed fix
-.mvn/wrapper/maven-wrapper.jar
+!.mvn/wrapper/maven-wrapper.jar
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
.mvn/wrapper/maven-wrapper.jar
!.mvn/wrapper/maven-wrapper.jar
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@UserService/summerproject.demo/.gitignore` at line 3, Remove the
`.mvn/wrapper/maven-wrapper.jar` entry from the .gitignore so the Maven Wrapper
JAR is tracked, then add and commit the actual maven-wrapper.jar to the
repository (ensure the file at .mvn/wrapper/maven-wrapper.jar is present in the
repo and included in the commit) to make wrapper usage reproducible.

!**/src/main/**/target/
!**/src/test/**/target/

### STS ###
.apt_generated
.classpath
.factorypath
.project
.settings
.springBeans
.sts4-cache

### IntelliJ IDEA ###
.idea
*.iws
*.iml
*.ipr

### NetBeans ###
/nbproject/private/
/nbbuild/
/dist/
/nbdist/
/.nb-gradle/
build/
!**/src/main/**/build/
!**/src/test/**/build/

### VS Code ###
.vscode/
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
wrapperVersion=3.3.4
distributionType=only-script
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.14/apache-maven-3.9.14-bin.zip
295 changes: 295 additions & 0 deletions UserService/summerproject.demo/mvnw

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading