MCPcopy Create free account
hub / github.com/aboutcode-org/scancode-toolkit / resolve

Method resolve

src/packagedcode/maven.py:395–404  ·  view source on GitHub ↗

Resolve possible parent POM properties using the provided properties.

(self, **properties)

Source from the content-addressed store, hash-verified

393 # self.pom_data/self.pom_data = None
394
395 def resolve(self, **properties):
396 """
397 Resolve possible parent POM properties using the provided
398 properties.
399 """
400 if not properties:
401 return
402 self.group_id = MavenPom._replace_props(self.group_id, properties)
403 self.artifact_id = MavenPom._replace_props(self.artifact_id, properties)
404 self.version = MavenPom._replace_props(self.version, properties)
405
406 def to_dict(self):
407 """

Callers

nothing calls this directly

Calls 1

_replace_propsMethod · 0.80

Tested by

no test coverage detected