This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-website.git
The following commit(s) were added to refs/heads/main by this push:
new 8b243567 CAMEL-19011: update release notes to point users to use
camel-bom / c… (#975)
8b243567 is described below
commit 8b24356729675a495652bc4a94150e3165829cb2
Author: Claus Ibsen <[email protected]>
AuthorDate: Mon Feb 6 13:39:09 2023 +0100
CAMEL-19011: update release notes to point users to use camel-bom / c…
(#975)
* CAMEL-19011: update release notes to point users to use camel-bom /
camel-spring-boot-bom
* CAMEL-19011: For SB then you also import SB bom
---
layouts/partials/releases/camel.html | 14 +++++++++-----
1 file changed, 9 insertions(+), 5 deletions(-)
diff --git a/layouts/partials/releases/camel.html
b/layouts/partials/releases/camel.html
index 0e2f3ebb..98aef48b 100644
--- a/layouts/partials/releases/camel.html
+++ b/layouts/partials/releases/camel.html
@@ -1,7 +1,6 @@
<h2 id="maven"><a class="anchor" href="#maven"></a>Getting the Binaries using
Maven</h2>
<p>To use this release in your <a href="https://maven.apache.org">Apache
Maven</a> <code>pom.xml</code>, import the Camel Bill of Materials (BOM) and
then include the <code>camel-core</code> and any other components needed
without specifying the version.</p>
<aside>
- <p><mark>Note:</mark> <code>camel-bom</code> is available from Camel 2.20.0
onward.</p>
<p>Replace the <code>COMPONENT</code> with the artifact outlined in the <a
href="/components/next/">component documentation</a></p>
</aside>
<pre><code>{{ htmlUnescape (printf `<dependencyManagement>
@@ -27,17 +26,22 @@
</dependency>
</dependencies>
` .Params.version) }}</code></pre>
-<p>To use this release in a Spring Boot application, use the
<code>camel-spring-boot-dependencies</code> Bill of Materials (BOM):
+<p>To use this release in a Spring Boot application, use Spring Boot
<code>spring-boot-dependencies</code> and Camel
<code>camel-spring-boot-bom</code> Bill of Materials (BOM):
<aside>
- <p><mark>Note:</mark> for Camel 3.0.0 and newer releases the
<code>groupId</code> for Camel Spring Boot support changed from
<code>org.apache.camel</code> to <code>org.apache.camel.springbooot</code>, so
be sure to check that the appropriate <code>groupId</code> is used for the
Camel version.</p>
- <p><mark>Note:</mark> for Camel 3.8.0 and newer releases there is another
BOM available with the <code>artifactId</code> of
<code>camel-spring-boot-bom</code> which you could instead make use of. For
details see <a
href="/camel-spring-boot/next/#_camel_spring_boot_bom_vs_camel_spring_boot_dependencies_bom">the
corresponding documentation.</a></p>
<p>Replace the <code>COMPONENT</code> with the artifact outlined in the <a
href="/components/next/">component documentation</a></p>
</aside>
<pre><code>{{ htmlUnescape (printf `<dependencyManagement>
<dependencies>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-dependencies</artifactId>
+ <version> SPRING BOOT VERSION HERE </version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
<dependency>
<groupId>org.apache.camel.springboot</groupId>
- <artifactId>camel-spring-boot-dependencies</artifactId>
+ <artifactId>camel-spring-boot-bom</artifactId>
<version>%s</version>
<type>pom</type>
<scope>import</scope>