Skip to content

Commit

Permalink
- Add missing build.properties file to xyz-job-steps module
Browse files Browse the repository at this point in the history
- Ensure variables are replaced within build.properties files

Signed-off-by: Benjamin Rögner <[email protected]>
  • Loading branch information
roegi committed Feb 5, 2025
1 parent 144988a commit 775c8b2
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 0 deletions.
14 changes: 14 additions & 0 deletions xyz-jobs/xyz-job-service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,20 @@
<directory>src/main/resources</directory>
<filtering>false</filtering>
</resource>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
<includes>
<include>**/build.properties</include>
</includes>
</resource>
<resource>
<directory>src/main/resources</directory>
<filtering>false</filtering>
<excludes>
<exclude>**/build.properties</exclude>
</excludes>
</resource>
<resource>
<!-- Add scripts to jar -->
<directory>src/main/bash</directory>
Expand Down
14 changes: 14 additions & 0 deletions xyz-jobs/xyz-job-steps/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,20 @@
<directory>src/main/resources</directory>
<filtering>false</filtering>
</resource>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
<includes>
<include>**/build.properties</include>
</includes>
</resource>
<resource>
<directory>src/main/resources</directory>
<filtering>false</filtering>
<excludes>
<exclude>**/build.properties</exclude>
</excludes>
</resource>
<resource>
<!-- Add scripts to jar -->
<directory>src/main/bash</directory>
Expand Down
21 changes: 21 additions & 0 deletions xyz-jobs/xyz-job-steps/src/main/resources/build.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#
# Copyright (C) 2017-2024 HERE Europe B.V.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# SPDX-License-Identifier: Apache-2.0
# License-Filename: LICENSE
#

xyzhub.version=${project.version}
xyzhub.buildTime=${build.time}

0 comments on commit 775c8b2

Please sign in to comment.