Skip to content

Commit

Permalink
Pom with plugins as part of gear (#397)
Browse files Browse the repository at this point in the history
  • Loading branch information
pavetok authored Mar 16, 2024
1 parent 50bf8cc commit 7e39ee0
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 40 deletions.
3 changes: 3 additions & 0 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ updates:
junit-platform:
patterns:
- "org.junit*"
fasterxml-jackson:
patterns:
- "com.fasterxml.jackson*"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
Expand Down
6 changes: 3 additions & 3 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,14 @@ ansible-playbook stacks.yaml
- Новая метрика качества кодовой базы (в т.ч. архитектурные тесты).
- Новый уровень качества по одной из существующих метрик.
- Заморозка версии инструмента в dev или ops окружении.
- Новая база данных. Сейчас только PostgreSQL.
- Новое dev или ops окружение.

=== Высокая сложность

- Новый инструмент сборки бинарников. Сейчас только Apache Maven.
- Новый инструмент управления образами. Сейчас только Docker Engine.
- Новый инструмент раскатки стеков. Сейчас только Docker Compose.
- Новый инструмент контейнеризации. Сейчас только Docker Engine.
- Новый инструмент наката стеков. Сейчас только Docker Compose.
- Новая реляционная база данных. Сейчас только PostgreSQL.
- Новая ость (ility) продукта (product) и/или снаряжения (gear).
- Новая обвязка построения дерева хешей. Сейчас связка Git и Ansible.

Expand Down
28 changes: 11 additions & 17 deletions lib/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,18 @@
<version>1.5.3</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<groupId>org.springframework</groupId>
<artifactId>spring-framework-bom</artifactId>
<version>6.1.4</version>
<scope>import</scope>
<type>pom</type>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson</groupId>
<artifactId>jackson-bom</artifactId>
<version>2.16.2</version>
<scope>import</scope>
<type>pom</type>
</dependency>
<dependency>
<groupId>jakarta.validation</groupId>
Expand Down Expand Up @@ -141,16 +150,6 @@
<scope>import</scope>
<type>pom</type>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot</artifactId>
Expand Down Expand Up @@ -181,11 +180,6 @@
<artifactId>mybatis-spring</artifactId>
<version>3.0.3</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-jdbc</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-jdbc</artifactId>
Expand Down
1 change: 1 addition & 0 deletions orchestrator/ansible/tasks/gear/capture.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
ansible.builtin.command:
cmd: git hash-object --stdin
stdin: |
{{ lookup('ansible.builtin.pipe', 'git rev-parse :pom.xml') }}
{{ lookup('ansible.builtin.pipe', 'git write-tree --prefix=tool') }}
{{ lookup('ansible.builtin.pipe', 'git write-tree --prefix=test') }}
{{ lookup('ansible.builtin.pipe', 'git write-tree --prefix=orchestrator') }}
Expand Down
1 change: 0 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
<revision>0.1.0-SNAPSHOT</revision>
<lombok.version>1.18.30</lombok.version>
<mapstruct.version>1.5.5.Final</mapstruct.version>
<spring.version>6.1.4</spring.version>
<jacoco.version>0.8.11</jacoco.version>
<skipTests>false</skipTests> <!--unit, integration and e2e tests-->
<skipUnits>${skipTests}</skipUnits> <!--unit tests only-->
Expand Down
27 changes: 8 additions & 19 deletions tool/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,11 @@
<version>1.5.3</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
<groupId>com.fasterxml.jackson</groupId>
<artifactId>jackson-bom</artifactId>
<version>2.16.2</version>
<scope>import</scope>
<type>pom</type>
</dependency>
<dependency>
<groupId>jakarta.servlet</groupId>
Expand All @@ -92,23 +94,10 @@
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webflux</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-test</artifactId>
<version>${spring.version}</version>
<artifactId>spring-framework-bom</artifactId>
<version>6.1.4</version>
<scope>import</scope>
<type>pom</type>
</dependency>
<dependency>
<groupId>org.awaitility</groupId>
Expand Down

0 comments on commit 7e39ee0

Please sign in to comment.