Skip to content

Commit

Permalink
#85: use revision variable directly (#382)
Browse files Browse the repository at this point in the history
also removed macro whitespaces to avoid broken indentation in resulting pom
  • Loading branch information
hohwille authored Apr 20, 2021
1 parent 67e2d01 commit fbbdb73
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 12 deletions.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
-Drevision=$version
-Drevision=${version}
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>${groupId}</groupId>
<artifactId>${rootArtifactId}</artifactId>
<version>${app.version}</version>
<version>${revision}</version>
</parent>
<artifactId>${rootArtifactId}-batch</artifactId>
<packaging>jar</packaging>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>${groupId}</groupId>
<artifactId>${artifactId}</artifactId>
<version>${app.version}</version>
<version>${revision}</version>
</parent>
<artifactId>${earProjectName}</artifactId>
<name>${project.artifactId}</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>${groupId}</groupId>
<artifactId>${rootArtifactId}</artifactId>
<version>${app.version}</version>
<version>${revision}</version>
</parent>
<artifactId>${rootArtifactId}-api</artifactId>
<packaging>jar</packaging>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>${groupId}</groupId>
<artifactId>${rootArtifactId}</artifactId>
<version>${app.version}</version>
<version>${revision}</version>
</parent>
<artifactId>${rootArtifactId}-core</artifactId>
<packaging>jar</packaging>
Expand Down
11 changes: 5 additions & 6 deletions templates/server/src/main/resources/archetype-resources/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<artifactId>${artifactId}</artifactId>
<groupId>${groupId}</groupId>
<version>${app.version}</version>
<version>${revision}</version>
<packaging>pom</packaging>
<name>${project.artifactId}</name>
<description>Application based on the devon4j.</description>
Expand All @@ -19,18 +19,17 @@
<jackson.version>$[jackson.version]</jackson.version> <!-- Overriding Jackson for fixing vulnerabilities -->
<guava.version>$[guava.version]</guava.version>
<devonfw.test.excluded.groups>system</devonfw.test.excluded.groups>
<app.version>${revision}</app.version>
</properties>

<modules>
<module>api</module>
<module>core</module>
#if ($earProjectName != '.')
#if ($earProjectName != '.')
<module>${earProjectName}</module>
#end
#if ($batch == 'batch')
#end
#if ($batch == 'batch')
<module>batch</module>
#end
#end
<module>server</module>
</modules>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>${groupId}</groupId>
<artifactId>${rootArtifactId}</artifactId>
<version>${app.version}</version>
<version>${revision}</version>
</parent>
<artifactId>${rootArtifactId}-server</artifactId>
<packaging>war</packaging>
Expand Down

0 comments on commit fbbdb73

Please sign in to comment.