Martin
11/07/2024, 3:19 PMpom.license.url in addition to pom.license.name ?
We're considering removing the url from our poms because they duplicate information and make the pom validation somewhat harder: url can take many forms while license.name can point to a well defined SPDX id. Are we breaking someone's workflow by doing this?Vampire
11/07/2024, 3:22 PMcom.github.jk1.dependency-license-report plugin for example uses it in its report.Martin
11/07/2024, 3:22 PMVampire
11/07/2024, 3:22 PMMartin
11/07/2024, 3:23 PMmatch rules for normalizationDo you have a pointer for that?
Vampire
11/07/2024, 3:23 PMVampire
11/07/2024, 3:23 PMMartin
11/07/2024, 3:23 PMMartin
11/07/2024, 3:24 PMVampire
11/07/2024, 3:24 PMMartin
11/07/2024, 3:25 PMMartin
11/07/2024, 3:25 PMVampire
11/07/2024, 3:25 PMMartin
11/07/2024, 3:26 PMMartin
11/07/2024, 3:26 PMMartin
11/07/2024, 3:26 PMMartin
11/07/2024, 3:27 PMVampire
11/07/2024, 3:27 PMMartin
11/07/2024, 3:27 PMMartin
11/07/2024, 3:28 PMVampire
11/07/2024, 3:28 PMMartin
11/07/2024, 3:29 PMMartin
11/07/2024, 3:29 PMVampire
11/07/2024, 3:29 PMMartin
11/07/2024, 3:29 PMVampire
11/07/2024, 3:29 PMMartin
11/07/2024, 3:29 PMMartin
11/07/2024, 3:29 PMVampire
11/07/2024, 3:29 PMVampire
11/07/2024, 3:30 PMMartin
11/07/2024, 3:30 PMVampire
11/07/2024, 3:31 PMMartin
11/07/2024, 3:31 PMVampire
11/07/2024, 3:31 PMname is just a recommendation, so you can also not rely on thatVampire
11/07/2024, 3:32 PMUsing an SPDX identifier as the license name is recommended.
Martin
11/07/2024, 3:35 PMMartin
11/07/2024, 3:35 PMPhilip W
11/07/2024, 5:13 PMThe official url of the license text. It does not mention MUST or SHOULD. And it is optional… https://maven.apache.org/ref/3.9.9/maven-model/maven.html#class_licenseMartin
11/07/2024, 5:14 PMPhilip W
11/07/2024, 5:17 PMMartin
11/07/2024, 5:18 PMMartin
11/07/2024, 5:18 PMVampire
11/07/2024, 5:31 PMVampire
11/07/2024, 5:31 PMVampire
11/07/2024, 5:31 PMVampire
11/07/2024, 5:32 PMPhilip W
11/07/2024, 5:32 PMMartin
11/07/2024, 5:33 PMYou do express your intention to license your work under MIT and your! license is checked in in your repo (isn’t it?).That's my thinking too. The source of truth for the license text is the file itself alongside the code
Vampire
11/07/2024, 5:33 PMMartin
11/07/2024, 5:33 PMMartin
11/07/2024, 5:34 PMPhilip W
11/07/2024, 5:34 PMMartin
11/07/2024, 5:35 PMVampire
11/07/2024, 5:36 PMMartin
11/07/2024, 5:37 PMMartin
11/07/2024, 5:38 PMVampire
11/07/2024, 5:38 PMVampire
11/07/2024, 5:38 PMMartin
11/07/2024, 5:39 PMMartin
11/07/2024, 5:39 PMVampire
11/07/2024, 5:41 PMVampire
11/07/2024, 5:41 PMMartin
11/07/2024, 5:42 PMWell, add a link to the license file in your repo instead of the placeholdered one, problem solved tooNot really because tools get confused by that extra information
Vampire
11/07/2024, 5:42 PMVampire
11/07/2024, 5:42 PMMartin
11/07/2024, 5:42 PMVampire
11/07/2024, 5:43 PMMartin
11/07/2024, 5:43 PMyou might break consumers relying on the old oneYep, that's the tradeoff. How many am I breaking vs how many am I fixing
Martin
11/07/2024, 5:43 PMMartin
11/07/2024, 5:47 PMVampire
11/07/2024, 5:48 PMMartin
11/07/2024, 5:48 PMMartin
11/07/2024, 5:49 PMVampire
11/07/2024, 5:52 PMPhilip W
11/07/2024, 5:52 PMVampire
11/07/2024, 5:53 PMMartin
11/07/2024, 5:54 PMPhilip W
11/07/2024, 5:55 PMMartin
11/07/2024, 5:56 PMVampire
11/07/2024, 6:04 PMcurl request and end up with a personalized version like https://rem.mit-license.org/