build: maven parent
This commit is contained in:
parent
534556fe03
commit
ca33931871
2 changed files with 9 additions and 15 deletions
|
@ -16,7 +16,7 @@ steps:
|
|||
- name: deploy to public
|
||||
image: *maven_image
|
||||
commands:
|
||||
- mvn -B jar:jar deploy:deploy
|
||||
- mvn -B jar:jar deploy:deploy -P public
|
||||
secrets: [reposilite_user, reposilite_token]
|
||||
when:
|
||||
branch: [dev, master]
|
||||
|
|
22
pom.xml
22
pom.xml
|
@ -4,6 +4,12 @@
|
|||
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>eu.ztsh</groupId>
|
||||
<artifactId>parent</artifactId>
|
||||
<version>1.0.0</version>
|
||||
</parent>
|
||||
|
||||
<groupId>eu.ztsh.lib</groupId>
|
||||
<artifactId>time-parent</artifactId>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
|
@ -15,15 +21,10 @@
|
|||
</modules>
|
||||
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<scm.projectId>time</scm.projectId>
|
||||
<java.version>17</java.version>
|
||||
<maven.compiler.source>${java.version}</maven.compiler.source>
|
||||
<maven.compiler.target>${java.version}</maven.compiler.target>
|
||||
<jakarta-validation.version>3.0.2</jakarta-validation.version>
|
||||
<hazelcast.version>4.2.8</hazelcast.version>
|
||||
|
||||
<assertj.version>3.24.2</assertj.version>
|
||||
<junit-jupiter.version>5.9.3</junit-jupiter.version>
|
||||
<hazelcast.version>4.2.8</hazelcast.version>
|
||||
</properties>
|
||||
|
||||
<dependencyManagement>
|
||||
|
@ -34,11 +35,6 @@
|
|||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>jakarta.validation</groupId>
|
||||
<artifactId>jakarta.validation-api</artifactId>
|
||||
<version>${jakarta-validation.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.hazelcast</groupId>
|
||||
<artifactId>hazelcast-all</artifactId>
|
||||
|
@ -51,13 +47,11 @@
|
|||
<dependency>
|
||||
<groupId>org.assertj</groupId>
|
||||
<artifactId>assertj-core</artifactId>
|
||||
<version>${assertj.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.junit.jupiter</groupId>
|
||||
<artifactId>junit-jupiter</artifactId>
|
||||
<version>${junit-jupiter.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue