Generating pom without build tag puts sourceDirectory in wrong place

Description

Given a pom without a <build> tag, clj -Spom will put the <sourceDirectory> tag under <project>, not under <project><build>.

Given pom.xml:

clj -Spom (no deps.edn) generates:

The <sourceDirectory> tag there should be inside a <build>.

Environment

clj 1.10.1.536

Assignee

Unassigned

Reporter

Alex Miller

Labels

None

Approval

None

Patch

None

Priority

Major
Configure