Yield PackageData from a pom.properties file (which is typically side- by-side with its pom file.)
(cls, location, package_only=False)
| 310 | |
| 311 | @classmethod |
| 312 | def parse(cls, location, package_only=False): |
| 313 | """ |
| 314 | Yield PackageData from a pom.properties file (which is typically side- |
| 315 | by-side with its pom file.) |
| 316 | """ |
| 317 | with open(location) as props: |
| 318 | properties = javaproperties.load(props) or {} |
| 319 | if TRACE: |
| 320 | logger.debug(f'MavenPomPropertiesHandler.parse: properties: {properties!r}') |
| 321 | if properties: |
| 322 | yield from cls.parse_pom_properties(properties=properties, package_only=package_only) |
| 323 | |
| 324 | @classmethod |
| 325 | def parse_pom_properties(cls, properties, package_only=False): |
nothing calls this directly
no test coverage detected