Initial commit
This commit is contained in:
commit
311c8be77e
8 changed files with 68 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]
|
||||||
|
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-17-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 ]
|
33
pom.xml
Normal file
33
pom.xml
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
<?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.2</version>
|
||||||
|
</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 -->
|
||||||
|
<maven.compiler.source>${java.version}</maven.compiler.source>
|
||||||
|
<maven.compiler.target>${java.version}</maven.compiler.target>
|
||||||
|
|
||||||
|
<!-- dependencies -->
|
||||||
|
|
||||||
|
<!-- plugins -->
|
||||||
|
</properties>
|
||||||
|
|
||||||
|
</project>
|
0
src/main/java/.gitkeep
Normal file
0
src/main/java/.gitkeep
Normal file
0
src/main/resources/.gitkeep
Normal file
0
src/main/resources/.gitkeep
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