update gitignore and maven config for spring

This commit is contained in:
2025-10-01 08:55:28 +02:00
parent f2cbd64ccd
commit 5d09d3c6e0
2 changed files with 67 additions and 28 deletions

24
.gitignore vendored
View File

@@ -1,19 +1,10 @@
HELP.md
target/ target/
!.mvn/wrapper/maven-wrapper.jar .mvn/wrapper/maven-wrapper.jar
!**/src/main/**/target/ !**/src/main/**/target/
!**/src/test/**/target/ !**/src/test/**/target/
.kotlin
### IntelliJ IDEA ### ### STS ###
.idea/modules.xml
.idea/jarRepositories.xml
.idea/compiler.xml
.idea/libraries/
*.iws
*.iml
*.ipr
### Eclipse ###
.apt_generated .apt_generated
.classpath .classpath
.factorypath .factorypath
@@ -22,6 +13,12 @@ target/
.springBeans .springBeans
.sts4-cache .sts4-cache
### IntelliJ IDEA ###
.idea
*.iws
*.iml
*.ipr
### NetBeans ### ### NetBeans ###
/nbproject/private/ /nbproject/private/
/nbbuild/ /nbbuild/
@@ -34,6 +31,3 @@ build/
### VS Code ### ### VS Code ###
.vscode/ .vscode/
### Mac OS ###
.DS_Store

71
pom.xml
View File

@@ -1,17 +1,62 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion>
<modelVersion>4.0.0</modelVersion> <parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>4.0.0-M3</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<groupId>de.pnreichmuth</groupId>
<artifactId>timekeep-backend</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>timekeep-backend</name>
<description>Demo project for Spring Boot</description>
<url/>
<licenses>
<license/>
</licenses>
<developers>
<developer/>
</developers>
<scm>
<connection/>
<developerConnection/>
<tag/>
<url/>
</scm>
<properties>
<java.version>25</java.version>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jdbc</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-websocket</artifactId>
</dependency>
<groupId>de.pnreichmuth</groupId> <dependency>
<artifactId>timekeep-backend</artifactId> <groupId>org.springframework.boot</groupId>
<version>1.0-SNAPSHOT</version> <artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<properties> <build>
<maven.compiler.source>25</maven.compiler.source> <plugins>
<maven.compiler.target>25</maven.compiler.target> <plugin>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <groupId>org.springframework.boot</groupId>
</properties> <artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project> </project>