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

Activity

Show:
Alex Miller
April 8, 2020, 6:37 AM

Fixed in master for next release

Alex Miller
June 11, 2020, 7:44 PM

Released in tools.deps.alpha 0.8.695 and clj 1.10.1.536

Alex Miller
June 11, 2020, 7:47 PM

Sorry, that should have been clj 1.10.1.547

Fixed

Assignee

Unassigned

Reporter

Alex Miller

Labels

None

Approval

None

Patch

None

Priority

Major
Configure