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

davsclaus pushed a commit to branch http-log-kubernetes
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git

commit 67b37cf477bbc5c3ce9a2151d72907cba11afaef
Author: Claus Ibsen <claus.ib...@gmail.com>
AuthorDate: Fri Apr 24 12:23:22 2020 +0200

    Work in progress
---
 .../ROOT/pages/list-of-camel-quarkus-extensions.adoc     |  2 +-
 examples/http-log/pom.xml                                | 16 ++++++++++++++--
 examples/http-log/settings.xml                           |  7 +++++++
 examples/http-log/src/main/docker/Dockerfile.multistage  | 10 +++++++++-
 4 files changed, 31 insertions(+), 4 deletions(-)

diff --git a/docs/modules/ROOT/pages/list-of-camel-quarkus-extensions.adoc 
b/docs/modules/ROOT/pages/list-of-camel-quarkus-extensions.adoc
index 3e0b790..36a32d3 100644
--- a/docs/modules/ROOT/pages/list-of-camel-quarkus-extensions.adoc
+++ b/docs/modules/ROOT/pages/list-of-camel-quarkus-extensions.adoc
@@ -91,7 +91,7 @@ Level | Since | Description
 
 | link:https://camel.apache.org/components/latest/aws2-sns-component.html[AWS 
2 Simple Notification System] (camel-quarkus-aws2-sns) +
 `aws2-sns:topicNameOrArn` | Native +
- Stable | 1.0.0-M7 | The aws2-sns component is used for sending messages to an 
Amazon Simple Notification Topic.
+ Stable | 1.0.0-M6 | The aws2-sns component is used for sending messages to an 
Amazon Simple Notification Topic.
 
 | link:https://camel.apache.org/components/latest/aws2-sqs-component.html[AWS 
2 Simple Queue Service] (camel-quarkus-aws2-sqs) +
 `aws2-sqs:queueNameOrArn` | Native +
diff --git a/examples/http-log/pom.xml b/examples/http-log/pom.xml
index d421fa0..46edd03 100644
--- a/examples/http-log/pom.xml
+++ b/examples/http-log/pom.xml
@@ -18,18 +18,20 @@
 
 -->
 <project xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd";>
-    <parent>
+<!--    <parent>
         <groupId>org.apache.camel.quarkus</groupId>
         <artifactId>camel-quarkus-build-parent</artifactId>
         <version>1.1.0-SNAPSHOT</version>
         <relativePath>../../poms/build-parent/pom.xml</relativePath>
-    </parent>
+    </parent>-->
 
     <modelVersion>4.0.0</modelVersion>
 
+    <groupId>org.apache.camel.quarkus</groupId>
     <artifactId>camel-quarkus-examples-http-log</artifactId>
     <name>Camel Quarkus :: Examples :: HTTP Log</name>
     <description>Camel Quarkus Example :: HTTP to Log</description>
+    <version>1.1.0-SNAPSHOT</version>
 
     <properties>
         <!-- mvnd, a.k.a. Maven Daemon: https://github.com/gnodet/mvnd -->
@@ -45,40 +47,49 @@
         <dependency>
             <groupId>io.quarkus</groupId>
             <artifactId>quarkus-resteasy</artifactId>
+            <version>1.4.0.CR1</version>
         </dependency>
         <dependency>
             <groupId>io.quarkus</groupId>
             <artifactId>quarkus-kubernetes</artifactId>
+            <version>1.4.0.CR1</version>
         </dependency>
         <dependency>
             <groupId>io.quarkus</groupId>
             <artifactId>quarkus-container-image-jib</artifactId>
+            <version>1.4.0.CR1</version>
         </dependency>
 
         <dependency>
             <groupId>io.quarkus</groupId>
             <artifactId>quarkus-smallrye-health</artifactId>
+            <version>1.4.0.CR1</version>
         </dependency>
         <dependency>
             <groupId>io.quarkus</groupId>
             <artifactId>quarkus-smallrye-metrics</artifactId>
+            <version>1.4.0.CR1</version>
         </dependency>
 
         <dependency>
             <groupId>org.apache.camel.quarkus</groupId>
             <artifactId>camel-quarkus-platform-http</artifactId>
+            <version>1.1.0-SNAPSHOT</version>
         </dependency>
         <dependency>
             <groupId>org.apache.camel.quarkus</groupId>
             <artifactId>camel-quarkus-log</artifactId>
+            <version>1.1.0-SNAPSHOT</version>
         </dependency>
         <dependency>
             <groupId>org.apache.camel.quarkus</groupId>
             <artifactId>camel-quarkus-microprofile-health</artifactId>
+            <version>1.1.0-SNAPSHOT</version>
         </dependency>
         <dependency>
             <groupId>org.apache.camel.quarkus</groupId>
             <artifactId>camel-quarkus-microprofile-metrics</artifactId>
+            <version>1.1.0-SNAPSHOT</version>
         </dependency>
     </dependencies>
 
@@ -87,6 +98,7 @@
             <plugin>
                 <groupId>io.quarkus</groupId>
                 <artifactId>quarkus-maven-plugin</artifactId>
+                <version>1.4.0.CR1</version>
                 <executions>
                     <execution>
                         <id>build</id>
diff --git a/examples/http-log/settings.xml b/examples/http-log/settings.xml
new file mode 100644
index 0000000..749d4e0
--- /dev/null
+++ b/examples/http-log/settings.xml
@@ -0,0 +1,7 @@
+<settings  xmlns="http://maven.apache.org/SETTINGS/1.0.0";
+           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+           xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
+                               
https://maven.apache.org/xsd/settings-1.0.0.xsd";>
+    <localRepository>/home/quarkus/.m2/repository</localRepository>
+    <interactiveMode>false</interactiveMode>
+</settings>
\ No newline at end of file
diff --git a/examples/http-log/src/main/docker/Dockerfile.multistage 
b/examples/http-log/src/main/docker/Dockerfile.multistage
index 1b83ff3..fd0d64e 100644
--- a/examples/http-log/src/main/docker/Dockerfile.multistage
+++ b/examples/http-log/src/main/docker/Dockerfile.multistage
@@ -1,11 +1,19 @@
 ## Stage 1 : build with maven builder image with native capabilities
 FROM quay.io/quarkus/centos-quarkus-maven:20.0.0-java11 AS build
+
+VOLUME ["/Users/davsclaus/.m2/repository/", "/home/quarkus/.m2/repository/"]
+COPY settings.xml /home/quarkus/.m2/
+
 COPY pom.xml /usr/src/app/
-RUN mvn -f /usr/src/app/pom.xml -B 
de.qaware.maven:go-offline-maven-plugin:1.2.5:resolve-dependencies
+### RUN mvn -f /usr/src/app/pom.xml -B 
de.qaware.maven:go-offline-maven-plugin:1.2.5:resolve-dependencies
 COPY src /usr/src/app/src
 USER root
 RUN chown -R quarkus /usr/src/app
 USER quarkus
+
+RUN cat /home/quarkus/.m2/settings.xml
+RUN ls /home/quarkus/.m2/repository/
+
 RUN mvn -f /usr/src/app/pom.xml -Pnative clean package
 
 ## Stage 2 : create the docker final image

Reply via email to