[BUILD-1061] Adapt the license regular expression in order to be compatible with OpenRewrite-created licenses OOTB Created: 20/Apr/23  Updated: 21/Apr/23  Resolved: 21/Apr/23

Status: Closed
Project: Build
Component/s: Poms
Affects Version/s: None
Fix Version/s: POMs 54

Type: Task Priority: Neutral
Reporter: Maxime Michel Assignee: Maxime Michel
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
relation
Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Approved:
Yes

 Description   

In the scope of MGNLMGMT-1 we realised we should adapt the license regular expression in order for it accept an opening tag meant for a license rather than a Java doc comment. This opening line should be also valid:

/*
 * This file Copyright (c) 2010-2018 Magnolia International
 * Ltd.

Currently we only support the following:

/**
 * This file Copyright (c) 2010-2018 Magnolia International
 * Ltd.

Generated at Sun Feb 11 23:47:46 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.