Skip to content
Merged
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
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[submodule ".woped-hooks"]
path = .woped-hooks
url = git@github.com:woped/woped-git-hooks.git
branch = java-hooks-only
1 change: 1 addition & 0 deletions .woped-hooks
Submodule .woped-hooks added at 635c00
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ _It is recommended to use IntelliJ IDE._
3. Wait until all files have been loaded.
4. Run Application with the Start-Button or with `mvn spring-boot:run`

After cloning this repository, it's essential to [set up git hooks](https://github.com/woped/woped-git-hooks/blob/main/README.md#activating-git-hooks-after-cloning-a-repository) to ensure project standards.

# Testing

### Testing via Swagger UI
Expand Down
66 changes: 36 additions & 30 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -226,43 +226,49 @@
<plugin>
<groupId>com.diffplug.spotless</groupId>
<artifactId>spotless-maven-plugin</artifactId>
<version>2.43.0</version>
<version>2.44.4</version>
<configuration>
<formats>
<format>
<includes>
<include>*.md</include>
<include>.gitignore</include>
</includes>
<excludes>
<exclude>LICENSE.md</exclude>
<exclude>README.md</exclude>
</excludes>
<trimTrailingWhitespace/>
<endWithNewline/>
<indent>
<tabs>true</tabs>
<spacesPerTab>4</spacesPerTab>
</indent>
</format>
</formats>
<java>
<importOrder/>
<removeUnusedImports/>
<googleJavaFormat>
<version>1.17.0</version>
<style>GOOGLE</style>
<reflowLongStrings>true</reflowLongStrings>
<groupArtifact>com.google.googlejavaformat:google-java-format</groupArtifact>
</googleJavaFormat>
</java>
<formats>
<format>
<includes>
<include>*.md</include>
<include>.gitignore</include>
</includes>
<excludes>
<exclude>LICENSE.md</exclude>
<exclude>README.md</exclude>
</excludes>
<trimTrailingWhitespace />
<endWithNewline />
<indent>
<tabs>true</tabs>
<spacesPerTab>4</spacesPerTab>
</indent>
</format>
</formats>
<java>
<importOrder />
<removeUnusedImports />
<googleJavaFormat>
<version>1.27.0</version>
<style>GOOGLE</style>
<reflowLongStrings>true</reflowLongStrings>
<groupArtifact>com.google.googlejavaformat:google-java-format</groupArtifact>
</googleJavaFormat>
</java>
</configuration>
<executions>
<execution>
<id>spotless-check</id>
<phase>compile</phase>
<goals>
<goal>apply</goal>
<goal>check</goal>
</goals>
</execution>
<execution>
<goals>
<goal>check</goal>
<goal>apply</goal>
</goals>
</execution>
</executions>
Expand Down
Loading