5.5. Maven 设置
使用 Maven 参数的默认 Maven 设置
				MAVEN_ARGS 环境变量的默认值包含 -Dcom.redhat.xpaas.repo.redhatga 属性。此属性使用默认 jboss-settings.xml 文件中的 https://maven.repository.redhat.com/ga/ 存储库激活配置集,该文件位于 OpenShift 镜像的 S2I 中。
			
				当为 MAVEN_ARGS 环境变量指定自定义值时,如果没有指定自定义 source_dir/configuration/settings.xml 文件,则使用镜像中的默认 jboss-settings.xml。
			
要指定在默认的 jboss-settings.xml 中使用哪些 Maven 存储库,有两个属性:
- 
						-Dcom.redhat.xpaas.repo.redhatga属性使用 https://maven.repository.redhat.com/ga/ 软件仓库。
- 
						-Dcom.redhat.xpaas.repo.jbossorg属性使用 https://repository.jboss.org/nexus/content/groups/public/ 存储库。
提供自定义 Maven 设置
				要指定自定义 settings.xml 文件以及 Maven 参数,请创建 source_dir/configuration 目录,并将设置'.xml' 文件放在其中。
			
				示例路径应类似于: source_dir/configuration/settings.xml。
			
更新于 2024-05-10