This commit is contained in:
parent
c62d708088
commit
f7635e0302
2 changed files with 3 additions and 4 deletions
|
@ -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
|
||||
|
|
4
pom.xml
4
pom.xml
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue