This is an automated email from the ASF dual-hosted git repository. acosentino 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 3507543 chore(extension): add extension for camel-http-common new b493048 Merge pull request #144 from lburgazzoli/http-common 3507543 is described below commit 35075434992f268f7865cfebcb9854290827437c Author: lburgazzoli <lburgazz...@gmail.com> AuthorDate: Mon Aug 19 14:18:26 2019 +0200 chore(extension): add extension for camel-http-common --- bom/pom.xml | 10 ++++ build-parent/pom.xml | 6 +++ .../ROOT/pages/_partials/common-extensions.adoc | 1 + extensions/http-common/deployment/pom.xml | 43 +++++++++++++++++ extensions/http-common/pom.xml | 19 ++++++++ extensions/http-common/runtime/pom.xml | 55 ++++++++++++++++++++++ extensions/netty4-http/deployment/pom.xml | 4 ++ extensions/netty4-http/runtime/pom.xml | 4 ++ extensions/pom.xml | 1 + 9 files changed, 143 insertions(+) diff --git a/bom/pom.xml b/bom/pom.xml index a0ee4c0..aacbabb 100644 --- a/bom/pom.xml +++ b/bom/pom.xml @@ -152,6 +152,11 @@ </dependency> <dependency> <groupId>org.apache.camel</groupId> + <artifactId>camel-http-common</artifactId> + <version>${camel.version}</version> + </dependency> + <dependency> + <groupId>org.apache.camel</groupId> <artifactId>camel-infinispan</artifactId> <version>${camel.version}</version> <exclusions> @@ -247,6 +252,11 @@ </dependency> <dependency> <groupId>org.apache.camel.quarkus</groupId> + <artifactId>camel-quarkus-http-common</artifactId> + <version>${camel-quarkus.version}</version> + </dependency> + <dependency> + <groupId>org.apache.camel.quarkus</groupId> <artifactId>camel-quarkus-jetty-common</artifactId> <version>${camel-quarkus.version}</version> </dependency> diff --git a/build-parent/pom.xml b/build-parent/pom.xml index 290abd5..5f7f01f 100644 --- a/build-parent/pom.xml +++ b/build-parent/pom.xml @@ -73,6 +73,12 @@ <dependency> <groupId>org.apache.camel.quarkus</groupId> + <artifactId>camel-quarkus-http-common-deployment</artifactId> + <version>${project.version}</version> + </dependency> + + <dependency> + <groupId>org.apache.camel.quarkus</groupId> <artifactId>camel-quarkus-jetty-common-deployment</artifactId> <version>${project.version}</version> </dependency> diff --git a/docs/modules/ROOT/pages/_partials/common-extensions.adoc b/docs/modules/ROOT/pages/_partials/common-extensions.adoc index 0b261b1..72c7a79 100644 --- a/docs/modules/ROOT/pages/_partials/common-extensions.adoc +++ b/docs/modules/ROOT/pages/_partials/common-extensions.adoc @@ -1,6 +1,7 @@ // Generated by list-camel-quarkus-extensions.groovy * `camel-quarkus-core` * `camel-quarkus-core-cloud` +* `camel-quarkus-http-common` * `camel-quarkus-jetty-common` * `camel-quarkus-xml-common` * `camel-quarkus-xstream-common` diff --git a/extensions/http-common/deployment/pom.xml b/extensions/http-common/deployment/pom.xml new file mode 100644 index 0000000..9baaf73 --- /dev/null +++ b/extensions/http-common/deployment/pom.xml @@ -0,0 +1,43 @@ +<?xml version="1.0" encoding="UTF-8"?> +<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"> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.apache.camel.quarkus</groupId> + <artifactId>camel-quarkus-http-common-parent</artifactId> + <version>0.1.1-SNAPSHOT</version> + <relativePath>../pom.xml</relativePath> + </parent> + + <artifactId>camel-quarkus-http-common-deployment</artifactId> + <name>Camel Quarkus :: HTTP :: Common :: Deployment</name> + + <dependencies> + <dependency> + <groupId>org.apache.camel.quarkus</groupId> + <artifactId>camel-quarkus-core-deployment</artifactId> + </dependency> + <dependency> + <groupId>org.apache.camel.quarkus</groupId> + <artifactId>camel-quarkus-http-common</artifactId> + </dependency> + </dependencies> + + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <configuration> + <annotationProcessorPaths> + <path> + <groupId>io.quarkus</groupId> + <artifactId>quarkus-extension-processor</artifactId> + <version>${quarkus.version}</version> + </path> + </annotationProcessorPaths> + </configuration> + </plugin> + </plugins> + </build> + +</project> diff --git a/extensions/http-common/pom.xml b/extensions/http-common/pom.xml new file mode 100644 index 0000000..ee991b8 --- /dev/null +++ b/extensions/http-common/pom.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<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"> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.apache.camel.quarkus</groupId> + <artifactId>camel-quarkus-build-parent</artifactId> + <version>0.1.1-SNAPSHOT</version> + <relativePath>../../build-parent/pom.xml</relativePath> + </parent> + + <artifactId>camel-quarkus-http-common-parent</artifactId> + <name>Camel Quarkus :: HTTP :: Common</name> + <packaging>pom</packaging> + + <modules> + <module>deployment</module> + <module>runtime</module> + </modules> +</project> diff --git a/extensions/http-common/runtime/pom.xml b/extensions/http-common/runtime/pom.xml new file mode 100644 index 0000000..a06f2a7 --- /dev/null +++ b/extensions/http-common/runtime/pom.xml @@ -0,0 +1,55 @@ +<?xml version="1.0" encoding="UTF-8"?> +<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"> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.apache.camel.quarkus</groupId> + <artifactId>camel-quarkus-http-common-parent</artifactId> + <version>0.1.1-SNAPSHOT</version> + <relativePath>../pom.xml</relativePath> + </parent> + + <artifactId>camel-quarkus-http-common</artifactId> + <name>Camel Quarkus :: HTTP :: Common :: Runtime</name> + + <dependencies> + <dependency> + <groupId>org.apache.camel.quarkus</groupId> + <artifactId>camel-quarkus-core</artifactId> + </dependency> + + <!-- camel --> + <dependency> + <groupId>org.apache.camel</groupId> + <artifactId>camel-http-common</artifactId> + </dependency> + + <!-- required for http-common type converters--> + <dependency> + <groupId>org.jboss.spec.javax.servlet</groupId> + <artifactId>jboss-servlet-api_4.0_spec</artifactId> + </dependency> + + </dependencies> + + <build> + <plugins> + <plugin> + <groupId>io.quarkus</groupId> + <artifactId>quarkus-bootstrap-maven-plugin</artifactId> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <configuration> + <annotationProcessorPaths> + <path> + <groupId>io.quarkus</groupId> + <artifactId>quarkus-extension-processor</artifactId> + <version>${quarkus.version}</version> + </path> + </annotationProcessorPaths> + </configuration> + </plugin> + </plugins> + </build> +</project> diff --git a/extensions/netty4-http/deployment/pom.xml b/extensions/netty4-http/deployment/pom.xml index e23a5f1..cae4076 100644 --- a/extensions/netty4-http/deployment/pom.xml +++ b/extensions/netty4-http/deployment/pom.xml @@ -45,6 +45,10 @@ <groupId>org.apache.camel.quarkus</groupId> <artifactId>camel-quarkus-netty4-http</artifactId> </dependency> + <dependency> + <groupId>org.apache.camel.quarkus</groupId> + <artifactId>camel-quarkus-http-common-deployment</artifactId> + </dependency> </dependencies> <build> diff --git a/extensions/netty4-http/runtime/pom.xml b/extensions/netty4-http/runtime/pom.xml index f41f246..e7fe585 100644 --- a/extensions/netty4-http/runtime/pom.xml +++ b/extensions/netty4-http/runtime/pom.xml @@ -34,6 +34,10 @@ <artifactId>camel-quarkus-core</artifactId> </dependency> <dependency> + <groupId>org.apache.camel.quarkus</groupId> + <artifactId>camel-quarkus-http-common</artifactId> + </dependency> + <dependency> <groupId>io.quarkus</groupId> <artifactId>quarkus-netty</artifactId> </dependency> diff --git a/extensions/pom.xml b/extensions/pom.xml index 8b92487..61c3865 100644 --- a/extensions/pom.xml +++ b/extensions/pom.xml @@ -38,6 +38,7 @@ <module>xml-common</module> <module>core</module> <module>core-cloud</module> + <module>http-common</module> <!-- components --> <module>netty4-http</module>