(pom_path)
| 180 | |
| 181 | |
| 182 | def _copy_pom_with_annotation_processor(pom_path): |
| 183 | pom_dir = os.path.dirname(pom_path) |
| 184 | fd, temp_pom = tempfile.mkstemp( |
| 185 | prefix="pom-static-processor-", suffix=".xml", dir=pom_dir |
| 186 | ) |
| 187 | os.close(fd) |
| 188 | shutil.copyfile(pom_path, temp_pom) |
| 189 | _add_annotation_processor_path(temp_pom) |
| 190 | return temp_pom |
| 191 | |
| 192 | |
| 193 | def _remove_file(path): |
no test coverage detected