fix yaml
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Dmitry Isaenko 2022-08-10 17:21:51 +03:00
parent c62d708088
commit f7635e0302
2 changed files with 3 additions and 4 deletions

View file

@ -24,8 +24,7 @@ steps:
- name: install-local-repo
image: alpine:latest
commands:
- mvn install:install-file -Dfile=./target/libKonogonka-*-jar-with-dependencies.jar -DgroupId=ru.redrise -DartifactId=libKonogonka -Dversion=`grep -m 1 '<version>' pom.xml| sed -e 's/\s*.\/\?version>//g'
` -Dpackaging=jar -DgeneratePom=true;
- mvn install:install-file -Dfile=./target/libKonogonka-*-jar-with-dependencies.jar -DgroupId=ru.redrise -DartifactId=libKonogonka -Dversion=`grep -m 1 '<version>' pom.xml| sed -e 's/\s*.\/\?version>//g'` -Dpackaging=jar -DgeneratePom=true;
volumes:
- name: m2

View file

@ -40,7 +40,7 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.build.timestamp.format>yyyyMMdd.HHmmss</maven.build.timestamp.format>
<maven.build.timestamp.format>yyyyMMdd.HH-mm-ss</maven.build.timestamp.format>
</properties>
<issueManagement>
@ -65,7 +65,7 @@
</dependencies>
<build>
<!-- <finalName>${project.artifactId}-${project.version}-${maven.build.timestamp}</finalName> -->
<finalName>${project.artifactId}-${project.version}-${maven.build.timestamp}</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>