This is an automated email from the ASF dual-hosted git repository.
jamesnetherton pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
The following commit(s) were added to refs/heads/main by this push:
new c4cfd1d113 Remove xref component links from removed Stomp and AWS
X-Ray components
c4cfd1d113 is described below
commit c4cfd1d113a0c8d9fd61201a151908a1e319d589
Author: James Netherton <[email protected]>
AuthorDate: Thu Apr 30 08:41:31 2026 +0100
Remove xref component links from removed Stomp and AWS X-Ray components
---
.../ROOT/pages/contributor-guide/extension-documentation.adoc | 2 +-
docs/modules/ROOT/pages/reference/extensions/aws-xray.adoc | 4 ++--
docs/modules/ROOT/pages/reference/extensions/stomp.adoc | 4 ++--
extensions-jvm/pom.xml | 10 ++++++++++
.../apache/camel/quarkus/maven/UpdateExtensionDocPageMojo.java | 6 +++++-
5 files changed, 20 insertions(+), 6 deletions(-)
diff --git
a/docs/modules/ROOT/pages/contributor-guide/extension-documentation.adoc
b/docs/modules/ROOT/pages/contributor-guide/extension-documentation.adoc
index b83b01313a..51d1e90625 100644
--- a/docs/modules/ROOT/pages/contributor-guide/extension-documentation.adoc
+++ b/docs/modules/ROOT/pages/contributor-guide/extension-documentation.adoc
@@ -65,4 +65,4 @@ To override parts of the xref link, the following
`update-extension-doc-page` co
<3> The overridden component kind in the generated xref link (`component`,
`dataformat`, `language`, `other`).
<4> The overridden component generated xref link prefix. Useful for rare
circumstances where the component requires you to link to an unconventional
part of the Camel documentation (E.g. link `manual`).
+
-The component link can be removed entirely by setting `xrefPrefix` to an empty
value. This is useful when a component is removed from the Camel core and the
Camel Quarkus main branch references the `latest` Camel website docs version.
\ No newline at end of file
+The component link can be removed entirely by setting `xrefPrefix` to a value
of `remove`. This is useful when a component is removed from the Camel core and
the Camel Quarkus main branch references the `latest` Camel website docs
version.
\ No newline at end of file
diff --git a/docs/modules/ROOT/pages/reference/extensions/aws-xray.adoc
b/docs/modules/ROOT/pages/reference/extensions/aws-xray.adoc
index dc41f2783c..ed8d4f0bed 100644
--- a/docs/modules/ROOT/pages/reference/extensions/aws-xray.adoc
+++ b/docs/modules/ROOT/pages/reference/extensions/aws-xray.adoc
@@ -22,9 +22,9 @@ Distributed tracing using AWS XRay
[id="extensions-aws-xray-whats-inside"]
== What's inside
-* xref:{cq-camel-components}:others:aws-xray.adoc[AWS XRay]
+* AWS XRay
+
-Please refer to the above link for usage and configuration details.
[id="extensions-aws-xray-maven-coordinates"]
== Maven coordinates
diff --git a/docs/modules/ROOT/pages/reference/extensions/stomp.adoc
b/docs/modules/ROOT/pages/reference/extensions/stomp.adoc
index 50287ae4ee..b1e9c43c8f 100644
--- a/docs/modules/ROOT/pages/reference/extensions/stomp.adoc
+++ b/docs/modules/ROOT/pages/reference/extensions/stomp.adoc
@@ -22,9 +22,9 @@ Send and rececive messages to/from STOMP (Simple Text
Oriented Messaging Protoco
[id="extensions-stomp-whats-inside"]
== What's inside
-* xref:{cq-camel-components}::stomp-component.adoc[Stomp component], URI
syntax: `stomp:destination`
+* Stomp
+
-Please refer to the above link for usage and configuration details.
[id="extensions-stomp-maven-coordinates"]
== Maven coordinates
diff --git a/extensions-jvm/pom.xml b/extensions-jvm/pom.xml
index 2bde4ea247..b2ab323959 100644
--- a/extensions-jvm/pom.xml
+++ b/extensions-jvm/pom.xml
@@ -142,10 +142,20 @@
<phase>process-classes</phase>
<configuration>
<componentLinkOverrides>
+ <!-- TODO: Remove for Camel > 4.20.0
-->
+ <aws-xray>
+ <name>camel-aws-xray</name>
+ <xrefPrefix>remove</xrefPrefix>
+ </aws-xray>
<console>
<name>camel-console</name>
<xrefPrefix>xref:manual::</xrefPrefix>
</console>
+ <!-- TODO: Remove for Camel > 4.20.0
-->
+ <stomp>
+ <name>camel-stomp</name>
+ <xrefPrefix>remove</xrefPrefix>
+ </stomp>
</componentLinkOverrides>
</configuration>
</execution>
diff --git
a/tooling/maven-plugin/src/main/java/org/apache/camel/quarkus/maven/UpdateExtensionDocPageMojo.java
b/tooling/maven-plugin/src/main/java/org/apache/camel/quarkus/maven/UpdateExtensionDocPageMojo.java
index a24cb5dc31..08ceaf4faf 100644
---
a/tooling/maven-plugin/src/main/java/org/apache/camel/quarkus/maven/UpdateExtensionDocPageMojo.java
+++
b/tooling/maven-plugin/src/main/java/org/apache/camel/quarkus/maven/UpdateExtensionDocPageMojo.java
@@ -241,7 +241,11 @@ public class UpdateExtensionDocPageMojo extends
AbstractDocGeneratorMojo {
}
if (override.getXrefPrefix() != null) {
- xrefPrefix = override.getXrefPrefix();
+ if (override.getXrefPrefix().equals("remove")) {
+ xrefPrefix = "";
+ } else {
+ xrefPrefix = override.getXrefPrefix();
+ }
}
if (override.getKind() != null) {