This is an automated email from the ASF dual-hosted git repository. jamesnetherton pushed a commit to branch camel-main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
commit 15b3fdf50fedb79a95d09ab735ec04e185d0956e Author: James Netherton <[email protected]> AuthorDate: Mon May 17 09:41:27 2021 +0100 Add Camel 3.10.0 staging repository --- .../reference/dataformats/avro-jackson.adoc | 1 + .../reference/dataformats/protobuf-jackson.adoc | 1 + ...portCustomTypeConverterBulkConverterLoader.java | 16 +++++++- .../converters/MyLoaderConverterLoader.java | 16 +++++++- pom.xml | 48 +++++++++++++++++++++- 5 files changed, 78 insertions(+), 4 deletions(-) diff --git a/docs/modules/ROOT/partials/reference/dataformats/avro-jackson.adoc b/docs/modules/ROOT/partials/reference/dataformats/avro-jackson.adoc new file mode 100644 index 0000000..a509c1d --- /dev/null +++ b/docs/modules/ROOT/partials/reference/dataformats/avro-jackson.adoc @@ -0,0 +1 @@ +// Empty partial for a Camel bit unsupported by Camel Quarkus to avoid warnings when this file is included from a Camel page diff --git a/docs/modules/ROOT/partials/reference/dataformats/protobuf-jackson.adoc b/docs/modules/ROOT/partials/reference/dataformats/protobuf-jackson.adoc new file mode 100644 index 0000000..a509c1d --- /dev/null +++ b/docs/modules/ROOT/partials/reference/dataformats/protobuf-jackson.adoc @@ -0,0 +1 @@ +// Empty partial for a Camel bit unsupported by Camel Quarkus to avoid warnings when this file is included from a Camel page diff --git a/integration-tests-support/custom-type-converter/runtime/src/generated/java/org/apache/camel/quarkus/it/support/typeconverter/converters/CamelQuarkusIntegrationTestsSupportCustomTypeConverterBulkConverterLoader.java b/integration-tests-support/custom-type-converter/runtime/src/generated/java/org/apache/camel/quarkus/it/support/typeconverter/converters/CamelQuarkusIntegrationTestsSupportCustomTypeConverterBulkConverterLoader.java index 0e9fea2..a1bd65a 100644 --- a/integration-tests-support/custom-type-converter/runtime/src/generated/java/org/apache/camel/quarkus/it/support/typeconverter/converters/CamelQuarkusIntegrationTestsSupportCustomTypeConverterBulkConverterLoader.java +++ b/integration-tests-support/custom-type-converter/runtime/src/generated/java/org/apache/camel/quarkus/it/support/typeconverter/converters/CamelQuarkusIntegrationTestsSupportCustomTypeConverterBulkConverterLoader.java @@ -1,6 +1,8 @@ /* Generated by camel build tools - do NOT edit this file! */ package org.apache.camel.quarkus.it.support.typeconverter.converters; +import org.apache.camel.CamelContext; +import org.apache.camel.CamelContextAware; import org.apache.camel.Exchange; import org.apache.camel.Ordered; import org.apache.camel.TypeConversionException; @@ -14,12 +16,24 @@ import org.apache.camel.spi.TypeConverterRegistry; * Generated by camel build tools - do NOT edit this file! */ @SuppressWarnings("unchecked") -public final class CamelQuarkusIntegrationTestsSupportCustomTypeConverterBulkConverterLoader implements TypeConverterLoader, BulkTypeConverters { +public final class CamelQuarkusIntegrationTestsSupportCustomTypeConverterBulkConverterLoader implements TypeConverterLoader, BulkTypeConverters, CamelContextAware { + + private CamelContext camelContext; public CamelQuarkusIntegrationTestsSupportCustomTypeConverterBulkConverterLoader() { } @Override + public void setCamelContext(CamelContext camelContext) { + this.camelContext = camelContext; + } + + @Override + public CamelContext getCamelContext() { + return camelContext; + } + + @Override public int size() { return 2; } diff --git a/integration-tests-support/custom-type-converter/runtime/src/generated/java/org/apache/camel/quarkus/it/support/typeconverter/converters/MyLoaderConverterLoader.java b/integration-tests-support/custom-type-converter/runtime/src/generated/java/org/apache/camel/quarkus/it/support/typeconverter/converters/MyLoaderConverterLoader.java index 9e7c515..f43b2a9 100644 --- a/integration-tests-support/custom-type-converter/runtime/src/generated/java/org/apache/camel/quarkus/it/support/typeconverter/converters/MyLoaderConverterLoader.java +++ b/integration-tests-support/custom-type-converter/runtime/src/generated/java/org/apache/camel/quarkus/it/support/typeconverter/converters/MyLoaderConverterLoader.java @@ -1,6 +1,8 @@ /* Generated by camel build tools - do NOT edit this file! */ package org.apache.camel.quarkus.it.support.typeconverter.converters; +import org.apache.camel.CamelContext; +import org.apache.camel.CamelContextAware; import org.apache.camel.Exchange; import org.apache.camel.TypeConversionException; import org.apache.camel.TypeConverterLoaderException; @@ -14,12 +16,24 @@ import org.apache.camel.util.DoubleMap; * Generated by camel build tools - do NOT edit this file! */ @SuppressWarnings("unchecked") -public final class MyLoaderConverterLoader implements TypeConverterLoader { +public final class MyLoaderConverterLoader implements TypeConverterLoader, CamelContextAware { + + private CamelContext camelContext; public MyLoaderConverterLoader() { } @Override + public void setCamelContext(CamelContext camelContext) { + this.camelContext = camelContext; + } + + @Override + public CamelContext getCamelContext() { + return camelContext; + } + + @Override public void load(TypeConverterRegistry registry) throws TypeConverterLoaderException { registerConverters(registry); } diff --git a/pom.xml b/pom.xml index d34d345..3c92f2b 100644 --- a/pom.xml +++ b/pom.xml @@ -23,7 +23,7 @@ <parent> <groupId>org.apache.camel</groupId> <artifactId>camel-dependencies</artifactId> - <version>3.10.0-SNAPSHOT</version> + <version>3.10.0</version> </parent> <groupId>org.apache.camel.quarkus</groupId> @@ -48,7 +48,7 @@ <bouncycastle.version>${bouncycastle-version}</bouncycastle.version><!-- keep in sync with Camel --> <camel.major.minor>3.10</camel.major.minor> <!-- run after each change: cd docs && mvndev validate --> - <camel.version>${camel.major.minor}.0-SNAPSHOT</camel.version> + <camel.version>${camel.major.minor}.0</camel.version> <camel.docs.components.xref>${camel.major.minor}.x@components</camel.docs.components.xref><!-- the version in Camel's docs/components/antora.yml --> <camel.docs.branch>camel-${camel.major.minor}.x</camel.docs.branch><!-- The stable branch on which our Antora docs depends --> @@ -257,6 +257,28 @@ <repositories> <repository> + <id>central</id> + <name>Maven Central Repo</name> + <url>https://repo.maven.apache.org/maven2</url> + <snapshots> + <enabled>false</enabled> + </snapshots> + <releases> + <enabled>true</enabled> + </releases> + </repository> + <repository> + <id>apache.staging.camel</id> + <url>https://repository.apache.org/content/repositories/orgapachecamel-1316</url> + <name>Apache Camel 3.10.0 Staging Repo</name> + <snapshots> + <enabled>false</enabled> + </snapshots> + <releases> + <enabled>true</enabled> + </releases> + </repository> + <repository> <id>apache.snapshots</id> <url>https://repository.apache.org/snapshots/</url> <name>Apache Snapshot Repo</name> @@ -270,6 +292,28 @@ </repositories> <pluginRepositories> <pluginRepository> + <id>central</id> + <name>Maven Central Repo</name> + <url>https://repo.maven.apache.org/maven2</url> + <snapshots> + <enabled>false</enabled> + </snapshots> + <releases> + <enabled>true</enabled> + </releases> + </pluginRepository> + <pluginRepository> + <id>apache.staging.camel</id> + <url>https://repository.apache.org/content/repositories/orgapachecamel-1316</url> + <name>Apache Camel 3.10.0 Staging Repo</name> + <snapshots> + <enabled>false</enabled> + </snapshots> + <releases> + <enabled>true</enabled> + </releases> + </pluginRepository> + <pluginRepository> <id>apache.snapshots</id> <url>https://repository.apache.org/snapshots/</url> <snapshots>
