From 7e01e8166112dc6e53ee6d5f51473d3885c1efc6 Mon Sep 17 00:00:00 2001 From: Sylwester Lachiewicz Date: Tue, 22 May 2018 07:51:01 +0200 Subject: [PATCH] MNG-6414 Add more Apache license headers to skip downloading license text --- .../src/main/appended-resources/META-INF/LICENSE.vm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apache-maven/src/main/appended-resources/META-INF/LICENSE.vm b/apache-maven/src/main/appended-resources/META-INF/LICENSE.vm index 390fa425304f..168f70a1444c 100644 --- a/apache-maven/src/main/appended-resources/META-INF/LICENSE.vm +++ b/apache-maven/src/main/appended-resources/META-INF/LICENSE.vm @@ -21,11 +21,11 @@ Apache Maven includes a number of components and libraries with separate copyright notices and license terms. Your use of those components are subject to the terms and conditions of the following licenses. -#set ( $apacheTxt = "The Apache Software License, Version 2.0" ) - +#set ( $apacheLicTexts = [ "Apache License, Version 2.0", "The Apache Software License, Version 2.0", + "ASLv2", "Apache Public License 2.0" ] ) #foreach ( $project in $projects ) #foreach ( $license in $project.licenses) -#if ( ! ($apacheTxt == $license.name) ) +#if ( !($apacheLicTexts.contains( $license.name)) ) #set ( $artId = $project.artifact.artifactId) #set ( $lf = $locator ) #set ( $url = $license.url )