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