Skip to content

Commit f15272b

Browse files
committed
Only import the Camel Bom if creating a Camel-based service
Ref issue #189
1 parent a7b91f3 commit f15272b

File tree

2 files changed

+4
-1
lines changed
  • archetypes
    • wanaku-provider-archetype/src/main/resources/archetype-resources
    • wanaku-tool-service-archetype/src/main/resources/archetype-resources

2 files changed

+4
-1
lines changed

archetypes/wanaku-provider-archetype/src/main/resources/archetype-resources/pom.xml

+2-1
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,15 @@
3838
<type>pom</type>
3939
<scope>import</scope>
4040
</dependency>
41-
41+
#if ( $wanaku-service-type == "camel")
4242
<dependency>
4343
<groupId>${quarkus.platform.group-id}</groupId>
4444
<artifactId>quarkus-camel-bom</artifactId>
4545
<version>${quarkus.platform.version}</version>
4646
<type>pom</type>
4747
<scope>import</scope>
4848
</dependency>
49+
#end
4950
</dependencies>
5051
</dependencyManagement>
5152

archetypes/wanaku-tool-service-archetype/src/main/resources/archetype-resources/pom.xml

+2
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,15 @@
3939
<scope>import</scope>
4040
</dependency>
4141

42+
#if ( $wanaku-service-type == "camel")
4243
<dependency>
4344
<groupId>${quarkus.platform.group-id}</groupId>
4445
<artifactId>quarkus-camel-bom</artifactId>
4546
<version>${quarkus.platform.version}</version>
4647
<type>pom</type>
4748
<scope>import</scope>
4849
</dependency>
50+
#end
4951
</dependencies>
5052
</dependencyManagement>
5153

0 commit comments

Comments
 (0)