Skip to content

Commit 1b61e13

Browse files
committed
Implement centralized version management and release automation
- Add version property for consistent versioning across modules - Configure Maven release plugin for automated version management - Update integration tests to use centralized version property - Enable automated tagging and version bumping for releases
1 parent 0a35b99 commit 1b61e13

File tree

2 files changed

+21
-4
lines changed

2 files changed

+21
-4
lines changed

integration-tests/pom.xml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>io.github.wassertim</groupId>
88
<artifactId>dynamodb-toolkit-integration-tests</artifactId>
9-
<version>1.0.0-SNAPSHOT</version>
9+
<version>${dynamodb-toolkit.version}</version>
1010

1111
<name>DynamoDB Toolkit Integration Tests</name>
1212
<description>Integration tests for DynamoDB Toolkit library with real entities and annotation processing</description>
@@ -17,6 +17,9 @@
1717
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1818
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
1919

20+
<!-- Project version -->
21+
<dynamodb-toolkit.version>1.0.0-SNAPSHOT</dynamodb-toolkit.version>
22+
2023
<!-- Dependency versions -->
2124
<aws.sdk.version>2.29.39</aws.sdk.version>
2225
<jakarta.enterprise.version>4.1.0</jakarta.enterprise.version>
@@ -30,7 +33,7 @@
3033
<dependency>
3134
<groupId>io.github.wassertim</groupId>
3235
<artifactId>dynamodb-toolkit</artifactId>
33-
<version>1.0.0-SNAPSHOT</version>
36+
<version>${dynamodb-toolkit.version}</version>
3437
</dependency>
3538

3639
<!-- Core dependencies needed for test entities -->
@@ -85,7 +88,7 @@
8588
<path>
8689
<groupId>io.github.wassertim</groupId>
8790
<artifactId>dynamodb-toolkit</artifactId>
88-
<version>1.0.0-SNAPSHOT</version>
91+
<version>${dynamodb-toolkit.version}</version>
8992
</path>
9093
</annotationProcessorPaths>
9194
</configuration>

pom.xml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>io.github.wassertim</groupId>
88
<artifactId>dynamodb-toolkit</artifactId>
9-
<version>1.0.0-SNAPSHOT</version>
9+
<version>${dynamodb-toolkit.version}</version>
1010

1111
<name>DynamoDB Toolkit</name>
1212
<description>Comprehensive DynamoDB toolkit with annotation-driven mapping, automatic dependency resolution, and utilities</description>
@@ -17,6 +17,9 @@
1717
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1818
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
1919

20+
<!-- Project version -->
21+
<dynamodb-toolkit.version>1.0.0-SNAPSHOT</dynamodb-toolkit.version>
22+
2023
<!-- Dependency versions -->
2124
<aws.sdk.version>2.29.39</aws.sdk.version>
2225
<jakarta.enterprise.version>4.1.0</jakarta.enterprise.version>
@@ -87,6 +90,17 @@
8790
<artifactId>maven-surefire-plugin</artifactId>
8891
<version>3.5.3</version>
8992
</plugin>
93+
94+
<plugin>
95+
<groupId>org.apache.maven.plugins</groupId>
96+
<artifactId>maven-release-plugin</artifactId>
97+
<version>3.1.1</version>
98+
<configuration>
99+
<tagNameFormat>v@{project.version}</tagNameFormat>
100+
<autoVersionSubmodules>true</autoVersionSubmodules>
101+
<releaseProfiles>release</releaseProfiles>
102+
</configuration>
103+
</plugin>
90104
</plugins>
91105
</build>
92106
</project>

0 commit comments

Comments
 (0)