You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by lb...@apache.org on 2019/08/20 12:54:43 UTC
[camel-quarkus] 03/03: Adapt quarkus:create-extension config to the
new quarkus version and to the new layout of the POMs
This is an automated email from the ASF dual-hosted git repository.
lburgazzoli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
commit fbfb7f2260eb596fa5b6001e26235288cfdef1f3
Author: Peter Palaga <pp...@redhat.com>
AuthorDate: Mon Aug 19 18:20:56 2019 +0200
Adapt quarkus:create-extension config to the new quarkus version and to the new layout of the POMs
---
build/create-extension-templates/deployment-pom.xml | 12 ++++++++++++
build/create-extension-templates/parent-pom.xml | 2 +-
build/create-extension-templates/runtime-pom.xml | 12 ++++++++++++
extensions/pom.xml | 2 ++
4 files changed, 27 insertions(+), 1 deletion(-)
diff --git a/build/create-extension-templates/deployment-pom.xml b/build/create-extension-templates/deployment-pom.xml
index 188c181..7378902 100644
--- a/build/create-extension-templates/deployment-pom.xml
+++ b/build/create-extension-templates/deployment-pom.xml
@@ -13,6 +13,18 @@
<artifactId>[=artifactId]-deployment</artifactId>
<name>[=namePrefix][=nameBase][=nameSegmentDelimiter]Deployment</name>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.camel.quarkus</groupId>
+ <artifactId>camel-quarkus-bom-deployment</artifactId>
+ <version>[=r"$"]{project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.apache.camel.quarkus</groupId>
diff --git a/build/create-extension-templates/parent-pom.xml b/build/create-extension-templates/parent-pom.xml
index cc69517..ec143fc 100644
--- a/build/create-extension-templates/parent-pom.xml
+++ b/build/create-extension-templates/parent-pom.xml
@@ -7,7 +7,7 @@
<groupId>org.apache.camel.quarkus</groupId>
<artifactId>camel-quarkus-build-parent</artifactId>
<version>[=version]</version>
- <relativePath>../../build-parent/pom.xml</relativePath>
+ <relativePath>../../poms/build-parent/pom.xml</relativePath>
</parent>
<artifactId>[=artifactId]-parent</artifactId>
diff --git a/build/create-extension-templates/runtime-pom.xml b/build/create-extension-templates/runtime-pom.xml
index 5429606..e7d3f38 100644
--- a/build/create-extension-templates/runtime-pom.xml
+++ b/build/create-extension-templates/runtime-pom.xml
@@ -13,6 +13,18 @@
<artifactId>[=artifactId]</artifactId>
<name>[=namePrefix][=nameBase][=nameSegmentDelimiter]Runtime</name>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.camel.quarkus</groupId>
+ <artifactId>camel-quarkus-bom</artifactId>
+ <version>[=r"$"]{project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.apache.camel.quarkus</groupId>
diff --git a/extensions/pom.xml b/extensions/pom.xml
index 61c3865..bf425ec 100644
--- a/extensions/pom.xml
+++ b/extensions/pom.xml
@@ -73,6 +73,8 @@
<nameSegmentDelimiter xml:space="preserve"> :: </nameSegmentDelimiter>
<javaPackageInfix>component</javaPackageInfix>
<templatesUriBase>file:///${project.basedir}/../build/create-extension-templates</templatesUriBase>
+ <runtimeBomPath>../poms/bom/pom.xml</runtimeBomPath>
+ <deploymentBomPath>../poms/bom-deployment/pom.xml</deploymentBomPath>
</configuration>
</plugin>
<plugin>