diff options
| author | Paul Buetow <paul@buetow.org> | 2025-06-20 20:07:20 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-06-20 20:07:20 +0300 |
| commit | 32882ca8582a102b9357e8d7f2c313d52c568977 (patch) | |
| tree | aa0449c9c4c0d92a019d44caa84f9a24c8510098 /pom.xml | |
| parent | 530d671353dfcfee74cdd16660105ffefa0784e9 (diff) | |
Implement dynamic version injection from pom.xml
- Create version.properties resource file with Maven placeholders
- Enable Maven resource filtering for version.properties
- Add VSVersionInfo utility class to read version at runtime
- Update VSDefaultPrefs to use dynamic version instead of hardcoded
- Version now shows "Distributed Systems Simulator 1.0.1-SNAPSHOT"
- Includes build timestamp for better traceability
The version in the title bar is now automatically updated from the
pom.xml version during the build process.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
Diffstat (limited to 'pom.xml')
| -rw-r--r-- | pom.xml | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -26,6 +26,17 @@ <resources> <resource> <directory>src/main/resources</directory> + <filtering>true</filtering> + <includes> + <include>version.properties</include> + </includes> + </resource> + <resource> + <directory>src/main/resources</directory> + <filtering>false</filtering> + <excludes> + <exclude>version.properties</exclude> + </excludes> </resource> </resources> <plugins> |
