diff --git a/docs/administrator-documentation/moderne-platform/how-to-guides/agent-configuration/agent-config.md b/docs/administrator-documentation/moderne-platform/how-to-guides/agent-configuration/agent-config.md index 28d9ad3b..86ae9c1b 100644 --- a/docs/administrator-documentation/moderne-platform/how-to-guides/agent-configuration/agent-config.md +++ b/docs/administrator-documentation/moderne-platform/how-to-guides/agent-configuration/agent-config.md @@ -148,11 +148,20 @@ MODERNE_AGENT_GITHUB_0_ALLOWABLE_ORGANIZATIONS_1=openrewrite MODERNE_AGENT_GITHUB_0_OAUTH_INCLUDEPRIVATEREPOS=true # Set the environment variables for your artifactory +# N.B. Remove this part if you can use not the artifactory repository configuration (see step 5) MODERNE_AGENT_ARTIFACTORY_0_URL=https://myartifactory.example.com/artifactory/ MODERNE_AGENT_ARTIFACTORY_0_USERNAME=${ARTIFACTORY_USERNAME} MODERNE_AGENT_ARTIFACTORY_0_PASSWORD=${ARTIFACTORY_PASSWORD} MODERNE_AGENT_ARTIFACTORY_0_ASTQUERYFILTERS_0='"name":{"$match":"*-ast.jar"}' MODERNE_AGENT_ARTIFACTORY_0_ASTQUERYFILTERS_1='"repo":{"$eq":"example-maven"}' + +# Set the environment variables for your artifactory recipe access or your maven repository access +# Remove the `MODERNE_AGENT_MAVEN_0_ASTSOURCE line if you do not use the artifactory repository configuration +MODERNE_AGENT_MAVEN_0_URL=https://myartifactory.example.com/artifactory/libs-releases-local +MODERNE_AGENT_MAVEN_0_ASTSOURCE=false +MODERNE_AGENT_MAVEN_0_LOCALREPOSITORY=~/.moderne-maven +MODERNE_AGENT_MAVEN_0_USERNAME=${MAVEN_USERNAME} +MODERNE_AGENT_MAVEN_0_PASSWORD=${MAVEN_PASSWORD} ```