Return True if a POM object has basic attributes needed to make this a POM.
(pom)
| 976 | |
| 977 | |
| 978 | def has_basic_pom_attributes(pom): |
| 979 | """ |
| 980 | Return True if a POM object has basic attributes needed to make this |
| 981 | a POM. |
| 982 | """ |
| 983 | basics = pom.model_version and pom.group_id and pom.artifact_id |
| 984 | if TRACE and not basics: |
| 985 | logger.debug( |
| 986 | 'has_basic_pom_attributes: not a POM, incomplete GAV: ' |
| 987 | '"{}":"{}":"{}"'.format(pom.model_version, pom.group_id, pom.artifact_id)) |
| 988 | return basics |
| 989 | |
| 990 | |
| 991 | def get_maven_pom(location=None, text=None): |
no test coverage detected