Download MIT license as txt only instead of html

This commit is contained in:
GeorgH93 2023-06-17 21:02:42 +02:00
parent c85a8e965e
commit dd6d439dc1
No known key found for this signature in database
GPG Key ID: D1630D37F9E4B3C8
2 changed files with 7 additions and 1 deletions

View File

@ -287,6 +287,12 @@
<excludedScopes>test,provided,system</excludedScopes>
<generateBundle>true</generateBundle>
<licensesOutputFile>${project.build.directory}/generated-resources/licenses-THIRD-PARTY.xml</licensesOutputFile>
<licenseUrlReplacements>
<licenseUrlReplacement>
<regexp>https?://(www\.)?opensource\.org/licenses/mit-license\.php</regexp>
<replacement>https://ci.pcgamingfreaks.at/download/mit.txt</replacement>
</licenseUrlReplacement>
</licenseUrlReplacements>
</configuration>
<executions>
<execution>

View File

@ -7,7 +7,7 @@
<packaging>pom</packaging>
<properties>
<revision>2.4.20.3</revision>
<revision>2.4.20.4</revision>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>