Initial commit
This commit is contained in:
commit
dc944583ac
8 changed files with 107 additions and 0 deletions
10
.editorconfig
Normal file
10
.editorconfig
Normal file
|
@ -0,0 +1,10 @@
|
|||
[*]
|
||||
charset = utf-8
|
||||
end_of_line = lf
|
||||
indent_style = space
|
||||
indent_size = 4
|
||||
insert_final_newline = true
|
||||
trim_trailing_whitespace = true
|
||||
|
||||
[{*.yaml,*.json}]
|
||||
indent_size = 2
|
1
.gitattributes
vendored
Normal file
1
.gitattributes
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
* text eol=lf
|
5
.gitignore
vendored
Normal file
5
.gitignore
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
target/
|
||||
|
||||
### IntelliJ IDEA ###
|
||||
.idea/
|
||||
*.iml
|
19
.woodpecker/maven.yaml
Normal file
19
.woodpecker/maven.yaml
Normal file
|
@ -0,0 +1,19 @@
|
|||
variables:
|
||||
&maven_image maven:3.9.6-eclipse-temurin-21-alpine
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
image: *maven_image
|
||||
commands:
|
||||
- mvn -B clean install -DskipTests -Dmaven.test.skip
|
||||
- name: test
|
||||
image: *maven_image
|
||||
commands:
|
||||
- mvn -B verify
|
||||
- name: deploy
|
||||
image: *maven_image
|
||||
commands:
|
||||
- mvn -B jar:jar deploy:deploy
|
||||
secrets: [ reposilite_user, reposilite_token ]
|
||||
when:
|
||||
branch: [ master ]
|
72
pom.xml
Normal file
72
pom.xml
Normal file
|
@ -0,0 +1,72 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
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>
|
||||
|
||||
<parent>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-parent</artifactId>
|
||||
<version>3.2.7</version>
|
||||
<relativePath />
|
||||
</parent>
|
||||
|
||||
<groupId>eu.ztsh</groupId>
|
||||
<artifactId>spring-boot-template</artifactId>
|
||||
<name>Spring Boot Standalone Template</name>
|
||||
<version>1.0.0-SNAPSHOT</version>
|
||||
|
||||
<properties>
|
||||
<!-- encoding -->
|
||||
<source.encoding>UTF-8</source.encoding>
|
||||
<project.build.sourceEncoding>${source.encoding}</project.build.sourceEncoding>
|
||||
<project.reporting.outputEncoding>${source.encoding}</project.reporting.outputEncoding>
|
||||
|
||||
<!-- JDK -->
|
||||
<java.version>21</java.version>
|
||||
<maven.compiler.source>${java.version}</maven.compiler.source>
|
||||
<maven.compiler.target>${java.version}</maven.compiler.target>
|
||||
|
||||
<!-- dependencies -->
|
||||
|
||||
<!-- plugins -->
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
<!-- Spring -->
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-web</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!-- Tests -->
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-test</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.junit.jupiter</groupId>
|
||||
<artifactId>junit-jupiter</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.assertj</groupId>
|
||||
<artifactId>assertj-core</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
0
src/main/java/.gitkeep
Normal file
0
src/main/java/.gitkeep
Normal file
0
src/main/resources/application.yaml
Normal file
0
src/main/resources/application.yaml
Normal file
0
src/test/java/.gitkeep
Normal file
0
src/test/java/.gitkeep
Normal file
Loading…
Add table
Add a link
Reference in a new issue