Настройка сборки drone
This commit is contained in:
parent
63bc66810c
commit
05b5cab9d3
23
drone.yml
Normal file
23
drone.yml
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
|
name: haiti-framework
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: package
|
||||||
|
image: maven:3.8.6-eclipse-temurin-17
|
||||||
|
commands:
|
||||||
|
- mvn -U clean package
|
||||||
|
volumes:
|
||||||
|
- name: m2
|
||||||
|
path: /root/.m2
|
||||||
|
|
||||||
|
trigger:
|
||||||
|
branch:
|
||||||
|
- master
|
||||||
|
# ref:
|
||||||
|
# - refs/tags/v.*.*.*
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
- name: m2
|
||||||
|
host:
|
||||||
|
path: $PATH_MAVEN_M2
|
@ -6,7 +6,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>dev.struchkov.haiti</groupId>
|
<groupId>dev.struchkov.haiti</groupId>
|
||||||
<artifactId>haiti-dependencies</artifactId>
|
<artifactId>haiti-dependencies</artifactId>
|
||||||
<version>2.1.0</version>
|
<version>2.2.0</version>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<artifactId>haiti-exception</artifactId>
|
<artifactId>haiti-exception</artifactId>
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>dev.struchkov.haiti</groupId>
|
<groupId>dev.struchkov.haiti</groupId>
|
||||||
<artifactId>haiti-dependencies</artifactId>
|
<artifactId>haiti-dependencies</artifactId>
|
||||||
<version>2.1.0</version>
|
<version>2.2.0</version>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<name>Haiti Utils</name>
|
<name>Haiti Utils</name>
|
||||||
|
@ -87,12 +87,12 @@ public final class Checker {
|
|||||||
return EMPTY.equals(s);
|
return EMPTY.equals(s);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static boolean checkNotFalse(Boolean b) {
|
public static boolean checkFalse(Boolean b) {
|
||||||
return b != null && b;
|
return b != null && !b;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static boolean checkNotTrue(Boolean b) {
|
public static boolean checkTrue(Boolean b) {
|
||||||
return b != null && !b;
|
return b != null && b;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static boolean checkLong(String s) {
|
public static boolean checkLong(String s) {
|
||||||
|
7
pom.xml
7
pom.xml
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
<groupId>dev.struchkov.haiti</groupId>
|
<groupId>dev.struchkov.haiti</groupId>
|
||||||
<artifactId>haiti-dependencies</artifactId>
|
<artifactId>haiti-dependencies</artifactId>
|
||||||
<version>2.1.0</version>
|
<version>2.2.0</version>
|
||||||
<packaging>pom</packaging>
|
<packaging>pom</packaging>
|
||||||
|
|
||||||
<name>Haiti Framework</name>
|
<name>Haiti Framework</name>
|
||||||
@ -35,7 +35,8 @@
|
|||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||||
|
|
||||||
<haiti.ver>2.1.0</haiti.ver>
|
<haiti.ver>2.2.0</haiti.ver>
|
||||||
|
<haiti.external.ver>2.1.0</haiti.external.ver>
|
||||||
<haiti.exception.ver>${haiti.ver}</haiti.exception.ver>
|
<haiti.exception.ver>${haiti.ver}</haiti.exception.ver>
|
||||||
<haiti.context.ver>${haiti.ver}</haiti.context.ver>
|
<haiti.context.ver>${haiti.ver}</haiti.context.ver>
|
||||||
<haiti.filter.api.ver>${haiti.ver}</haiti.filter.api.ver>
|
<haiti.filter.api.ver>${haiti.ver}</haiti.filter.api.ver>
|
||||||
@ -53,7 +54,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>dev.struchkov.haiti</groupId>
|
<groupId>dev.struchkov.haiti</groupId>
|
||||||
<artifactId>haiti-external-bom</artifactId>
|
<artifactId>haiti-external-bom</artifactId>
|
||||||
<version>${haiti.ver}</version>
|
<version>${haiti.external.ver}</version>
|
||||||
<type>pom</type>
|
<type>pom</type>
|
||||||
<scope>import</scope>
|
<scope>import</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
Loading…
Reference in New Issue
Block a user