Skip to content

Commit

Permalink
Hardcode lib version
Browse files Browse the repository at this point in the history
  • Loading branch information
pavetok committed Sep 18, 2023
1 parent 0bb9e7e commit ea4dd8c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 24 deletions.
22 changes: 0 additions & 22 deletions .dx/binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,27 +3,6 @@
hosts: lib
run_once: true
tasks:
# - name: Capture status
# ansible.builtin.command:
# # todo: try to implement more lightweight check
# cmd: >
# mvn
# {% if binary_repo == 'local' %}
# --offline
# {% else %}
# --define remoteRepositories=github::::https://{{ binary_repo }}/smecalculus/bezmen
# {% endif %}
# dependency:get
# --define transitive=false
# --define artifact=smecalculus.bezmen:libs:{{ lib_version }}:pom
# chdir: "{{ playbook_dir }}/../libs"
# register: binary_status
# changed_when: binary_status.rc != 0
# failed_when: false
# - name: Status command
# ansible.builtin.debug:
# msg: "{{ binary_status.cmd|join(' ') }}"
# when: binary_status is changed
- name: Create binaries
ansible.builtin.command:
cmd: >
Expand Down Expand Up @@ -86,7 +65,6 @@
--projects {{ image_status.results|select('changed')|map(attribute='item.app')|join(',') }}
clean
package
--define revision={{ app_version }}
chdir: "{{ playbook_dir }}/../apps"
strip_empty_ends: false
changed_when: true
Expand Down
3 changes: 1 addition & 2 deletions apps/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

<properties>
<revision>0.1.0-SNAPSHOT</revision>
<lib.version>0.1.0-SNAPSHOT</lib.version>
<lombok.version>1.18.28</lombok.version>
<mapstruct.version>1.5.5.Final</mapstruct.version>
<skipTests>false</skipTests>
Expand Down Expand Up @@ -44,7 +43,7 @@
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>libs</artifactId>
<version>${lib.version}</version>
<version>0.1.0-SNAPSHOT</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down

0 comments on commit ea4dd8c

Please sign in to comment.