hboutemy commented on a change in pull request #297: MNG-6771 Fix license issues on binary distribution URL: https://github.com/apache/maven/pull/297#discussion_r340879889
########## File path: apache-maven/src/main/appended-resources/META-INF/LICENSE.vm ########## @@ -22,21 +22,18 @@ 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 ( $apacheLicenseNames = [ "Apache License, Version 2.0", "The Apache Software License, Version 2.0", - "ASLv2", "Apache Public License 2.0", "Apache 2.0" ] ) +#set ( $apacheMavenGroupIds = [ "org.apache.maven", "org.apache.maven.wagon", "org.apache.maven.resolver", + "org.apache.maven.shared" ] ) #set ( $MITLicenseNames = [ "MIT License", "MIT license", "The MIT License" ] ) #foreach ( $project in $projects ) #**##foreach ( $license in $project.licenses) -#* *##if ( !$apacheLicenseNames.contains( $license.name ) ) +#* *##set ( $groupId = $project.artifact.groupId ) +#* *##if ( !$apacheMavenGroupIds.contains( $groupId ) ) #* *##set ( $artId = $project.artifact.artifactId ) #* *##set ( $url = $license.url ) #* *##set ( $spdx = false ) #* *##set ( $includeLicense = true ) #* *### -#* *##if ( $project.artifact.artifactId == "jcl-over-slf4j" ) Review comment: we need to wait for a fixed release to remove the hack that overrides the license: the hack is not so big, we can live with it for now (notice the PR https://github.com/qos-ch/slf4j/pull/226 was merged in 2.0.0-alpha branch only) ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
