guard microservice dependencies by template flag
This commit is contained in:
@@ -16,11 +16,14 @@
|
||||
<groupId>{{ .groupId }}</groupId>
|
||||
<artifactId>{{ .artifactId }}-service</artifactId>
|
||||
</dependency>
|
||||
|
||||
{{ if hasKey . "microserviceFrameworkType" }}
|
||||
<dependency>
|
||||
<groupId>{{ .groupId }}</groupId>
|
||||
<artifactId>{{ .parentArtifactId }}-remote-contract-interfaces</artifactId>
|
||||
<version>${revision}</version>
|
||||
</dependency>
|
||||
{{ end }}
|
||||
|
||||
</dependencies>
|
||||
|
||||
|
||||
@@ -50,6 +50,7 @@
|
||||
<artifactId>{{ .parentArtifactId }}-public-service</artifactId>
|
||||
<version>${revision}</version>
|
||||
</dependency>
|
||||
{{ if hasKey . "microserviceFrameworkType" }}
|
||||
<dependency>
|
||||
<groupId>{{ .groupId }}</groupId>
|
||||
<artifactId>{{ .parentArtifactId }}-remote-contract-types</artifactId>
|
||||
@@ -60,6 +61,7 @@
|
||||
<artifactId>{{ .parentArtifactId }}-client</artifactId>
|
||||
<version>${revision}</version>
|
||||
</dependency>
|
||||
{{ end }}
|
||||
<dependency>
|
||||
<groupId>{{ .groupId }}</groupId>
|
||||
<artifactId>{{ .parentArtifactId }}-common</artifactId>
|
||||
|
||||
Reference in New Issue
Block a user