In the previous ticket #437 we discovered that there is one more format we need to account for in the pyproject.toml [tool.poetry]
to [project]
migration. Since we didn't have that scenario covered we removed the "authors" and "maintainers" from the migration. We need to finish the baton migration so that we can re-incorporate the remaining items for migration.
Steps to reproduce:
- run
mvn clean install -P bootstrap
- Check the
habushu-maven-plugin/target/test-classes/migration/poetry-v2/with-fields-in-tool-poetry.toml
file and observe where authors and maintainers are located
Expected result:
- Build passes without failure
- The authors and maintainers are under
[project]
and are in the format `[{name = "Some Name", email = "someone@example.con"}]
Actual result:
maintainers and authors are under [tool.poetry]
and are not in the correct format
Note: blank lines are important (make sure there is a blank line preceding the added code)
DoD:
- Update the scenario with according to the steps to reproduce
- the maven build passes
Test Steps:
- Pull latest changes
- Run the build
mvn clean install -P bootstrap
- Verify the build succeeds