craft_parts.utils.maven package¶
Submodules¶
Module contents¶
Common Maven utilities.
- craft_parts.utils.maven.create_maven_settings(*, part_info)[source]¶
Create a Maven configuration file.
The settings file contains additional configuration for Maven, such as proxy parameters.
If it detects that no configuration is necessary, it will return None and do nothing.
- Parameters:
part_info (
PartInfo
) – The part info for the part invoking Maven.- Return type:
Path
|None
- Returns:
Returns a Path object to the settings file if one is created, otherwise None.