ricardozanini commented on code in PR #710:
URL: 
https://github.com/apache/incubator-kie-kogito-docs/pull/710#discussion_r2004373600


##########
serverlessworkflow/modules/ROOT/pages/cloud/config-maven.adoc:
##########
@@ -0,0 +1,115 @@
+// Note: This section can grow over time to add more Maven-related 
configuration and guides
+= Adding a custom Maven Mirror to {product_name} images
+:compat-mode!:
+// Metadata:
+:description: Adding a custom maven mirror to images
+:keywords: maven, mirror, central, sonatype
+// links
+:maven_mirror_guide: 
https://maven.apache.org/guides/mini/guide-mirror-settings.html
+
+This document describes how to configure the internal Maven settings on 
{product_name} images so that the maven process can access a custom mirror 
registry.
+
+By default either the {product_name} Builder and Devmode images have all the 
required Java libraries to run. In some scenarios, such as adding a custom 
Quarkus Extension, the internal system will require to 
+access the Maven Central registry. 
+
+In case you are running under restricted network access, you may point the 
container to access an internal mirror instead. See more information about this 
procedure on the link:{maven_mirror_guide}[Guide to Mirror Settings] on the 
Maven documentation.
+
+== Configuring the Maven Mirror on the Operator
+
+=== Adding a Maven Mirror when building workflows
+
+You may edit either the `SonataFlowBuild` or `SonataFlowPlatform` custom 
resources and add the variable `MAVEN_MIRROR_URL`.
+
+.Maven Mirror configuration example on SonataFlowBuild
+[source,yaml,subs="attributes+"]
+----
+apiVersion: sonataflow.org/v1alpha08

Review Comment:
   Yes, there's this problem. The SFB should be kicked if changed, I opened an 
issue: https://github.com/apache/incubator-kie-tools/issues/3016
   
   But in this case, I missed an important annotation in the guide:
   
   ```yaml
   apiVersion: sonataflow.org/v1alpha08
   kind: SonataFlowBuild
   metadata:
     name: greeting
     annotations:
       sonataflow.org/restartBuild: true
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to