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 - name: install-local-repo
image: alpine:latest image: alpine:latest
commands: 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' - 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;
` -Dpackaging=jar -DgeneratePom=true;
volumes: volumes:
- name: m2 - name: m2

View file

@ -40,7 +40,7 @@
<properties> <properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <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> </properties>
<issueManagement> <issueManagement>
@ -65,7 +65,7 @@
</dependencies> </dependencies>
<build> <build>
<!-- <finalName>${project.artifactId}-${project.version}-${maven.build.timestamp}</finalName> --> <finalName>${project.artifactId}-${project.version}-${maven.build.timestamp}</finalName>
<plugins> <plugins>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>