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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user