Use version properties inside pom.xml
This commit is contained in:
@@ -12,6 +12,11 @@
|
||||
<maven.compiler.source>${java.version}</maven.compiler.source>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<main.class>{{ basePackage }}/{{ name | lower | capitalize }}Kt</main.class>
|
||||
<!-- versions -->
|
||||
{% for version in versions %}
|
||||
<{{version.name}}.version>{{version.value}}</{{version.name}}.version>
|
||||
{% endfor %}
|
||||
|
||||
</properties>
|
||||
|
||||
{% include "starter/pom/@dependencies" %}
|
||||
@@ -20,4 +25,4 @@
|
||||
|
||||
{% include "starter/pom/@plugins" %}
|
||||
|
||||
</project>
|
||||
</project>
|
||||
|
||||
Reference in New Issue
Block a user