Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
CityDoctor
CityDoctor2
Commits
edf34af4
Commit
edf34af4
authored
Nov 13, 2020
by
Matthias Betz
Browse files
Added git commit hash to version string
parent
dc81c5a4
Pipeline
#1277
failed with stage
in 1 minute and 30 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CityDoctorParent/CityDoctorModel/pom.xml
View file @
edf34af4
...
...
@@ -7,6 +7,11 @@
<artifactId>
CityDoctorParent
</artifactId>
<version>
3.7.0-SNAPSHOT
</version>
</parent>
<properties>
<versionString>
${project.artifactId}-${project.version}-${git.commit.id.abbrev}
</versionString>
</properties>
<artifactId>
CityDoctorModel
</artifactId>
<name>
CityDoctorModel
</name>
<dependencies>
...
...
@@ -61,5 +66,31 @@
<filtering>
true
</filtering>
</resource>
</resources>
<plugins>
<plugin>
<groupId>
pl.project13.maven
</groupId>
<artifactId>
git-commit-id-plugin
</artifactId>
<version>
4.0.3
</version>
<executions>
<execution>
<id>
get-the-git-infos
</id>
<goals>
<goal>
revision
</goal>
</goals>
</execution>
</executions>
<configuration>
<dotGitDirectory>
${project.basedir}/../../.git
</dotGitDirectory>
<prefix>
git
</prefix>
<verbose>
false
</verbose>
<generateGitPropertiesFile>
true
</generateGitPropertiesFile>
<generateGitPropertiesFilename>
${project.build.outputDirectory}/git.properties
</generateGitPropertiesFilename>
<gitDescribe>
<skip>
false
</skip>
<always>
false
</always>
</gitDescribe>
</configuration>
</plugin>
</plugins>
</build>
</project>
\ No newline at end of file
CityDoctorParent/CityDoctorModel/src/main/resources/CityDoctorLocalization.properties
View file @
edf34af4
CityDoctorValidation.Version
=
${
project.
version}
CityDoctorValidation.Version
=
${version
String
}
DistanceError.distanceFromPlane
=
distance from plane
AboutDialog.developedBy
=
Developed by
AboutDialog.contact
=
Contact
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment