- Documentation
Code Pipeline
FAQs
Compilation FAQ
Slow fetching of dependencies in Maven projects
Compilation FAQ
Slow fetching of dependencies in Maven projects
Slow fetching of dependencies in Maven projects
tip
Support for adding a Maven Settings configuration file at the global level in Code Pipeline. This avoids repeated configuration in multiple pipeline tasks and improves the efficiency of pipeline creation and maintenance. For detailed operating instructions, refer to Add Maven Setting Global Configurations. - Add a configuration file in the project
- For example: add a configuration file named settings.xml. You can refer to the following configuration for its content.
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 https://maven.apache.org/xsd/settings-1.0.0.xsd">
<name>Public repository</name>
tip
If the configuration file already exists, append to or modify the current configuration file.
- Modify the content of the mvn command invocation to add the -s parameter.
mvn -s settings.xml package
Last updated: 2025.09.10 17:37:25