This is an automated email from the ASF dual-hosted git repository.

ppalaga pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git


The following commit(s) were added to refs/heads/master by this push:
     new 49cb943  Enable update-extension-doc-page mojo in newly scaffolded 
extensions #1232
49cb943 is described below

commit 49cb943b6772c177f06fd492d8189f9ef17b3832
Author: Peter Palaga <ppal...@redhat.com>
AuthorDate: Wed May 20 22:12:19 2020 +0200

    Enable update-extension-doc-page mojo in newly scaffolded extensions
    #1232
---
 extensions/activemq/runtime/pom.xml                |  9 +--------
 extensions/ahc/runtime/pom.xml                     |  9 +--------
 poms/build-parent/pom.xml                          |  5 +++++
 tooling/create-extension-templates/runtime-pom.xml | 11 +++++++++++
 4 files changed, 18 insertions(+), 16 deletions(-)

diff --git a/extensions/activemq/runtime/pom.xml 
b/extensions/activemq/runtime/pom.xml
index d0b3c59..242b63e 100644
--- a/extensions/activemq/runtime/pom.xml
+++ b/extensions/activemq/runtime/pom.xml
@@ -84,16 +84,9 @@
             <plugin>
                 <groupId>org.apache.camel.quarkus</groupId>
                 <artifactId>camel-quarkus-package-maven-plugin</artifactId>
-                <version>${project.version}</version>
-                <dependencies>
-                    <dependency>
-                        <groupId>org.apache.camel</groupId>
-                        <artifactId>camel-catalog</artifactId>
-                        <version>${camel.version}</version>
-                    </dependency>
-                </dependencies>
                 <executions>
                     <execution>
+                        <id>update-extension-doc-page</id>
                         <goals><goal>update-extension-doc-page</goal></goals>
                         <phase>process-resources</phase>
                     </execution>
diff --git a/extensions/ahc/runtime/pom.xml b/extensions/ahc/runtime/pom.xml
index 420afb0..cc9da61 100644
--- a/extensions/ahc/runtime/pom.xml
+++ b/extensions/ahc/runtime/pom.xml
@@ -70,16 +70,9 @@
             <plugin>
                 <groupId>org.apache.camel.quarkus</groupId>
                 <artifactId>camel-quarkus-package-maven-plugin</artifactId>
-                <version>${project.version}</version>
-                <dependencies>
-                    <dependency>
-                        <groupId>org.apache.camel</groupId>
-                        <artifactId>camel-catalog</artifactId>
-                        <version>${camel.version}</version>
-                    </dependency>
-                </dependencies>
                 <executions>
                     <execution>
+                        <id>update-extension-doc-page</id>
                         <goals><goal>update-extension-doc-page</goal></goals>
                         <phase>process-resources</phase>
                     </execution>
diff --git a/poms/build-parent/pom.xml b/poms/build-parent/pom.xml
index 6526a55..492c276 100644
--- a/poms/build-parent/pom.xml
+++ b/poms/build-parent/pom.xml
@@ -82,6 +82,11 @@
                     <version>${os-maven-plugin.version}</version>
                 </plugin>
                 <plugin>
+                    <groupId>org.apache.camel.quarkus</groupId>
+                    <artifactId>camel-quarkus-package-maven-plugin</artifactId>
+                    <version>${project.version}</version>
+                </plugin>
+                <plugin>
                     <groupId>org.apache.maven.plugins</groupId>
                     <artifactId>maven-javadoc-plugin</artifactId>
                     <configuration>
diff --git a/tooling/create-extension-templates/runtime-pom.xml 
b/tooling/create-extension-templates/runtime-pom.xml
index a6ec0ad..44d4776 100644
--- a/tooling/create-extension-templates/runtime-pom.xml
+++ b/tooling/create-extension-templates/runtime-pom.xml
@@ -63,6 +63,17 @@
     <build>
         <plugins>
             <plugin>
+                <groupId>org.apache.camel.quarkus</groupId>
+                <artifactId>camel-quarkus-package-maven-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>update-extension-doc-page</id>
+                        <goals><goal>update-extension-doc-page</goal></goals>
+                        <phase>process-resources</phase>
+                    </execution>
+                </executions>
+            </plugin>
+            <plugin>
                 <groupId>io.quarkus</groupId>
                 <artifactId>quarkus-bootstrap-maven-plugin</artifactId>
             </plugin>

Reply via email to