blob: cf0cc05ff9dea7b8ea1a5a8d125def97c781d5f6 [file] [log] [blame]
################################################################################
##
## Licensed to the Apache Software Foundation (ASF) under one
## or more contributor license agreements. See the NOTICE file
## distributed with this work for additional information
## regarding copyright ownership. The ASF licenses this file
## to you under the Apache License, Version 2.0 (the
## "License"); you may not use this file except in compliance
## with the License. You may obtain a copy of the License at
##
## http://www.apache.org/licenses/LICENSE-2.0
##
## Unless required by applicable law or agreed to in writing,
## software distributed under the License is distributed on an
## "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
## KIND, either express or implied. See the License for the
## specific language governing permissions and limitations
## under the License.
##
#################################################################################
#if ( $work.isPrimaryCopyrightNotice() )
$work.getPrimaryCopyrightNotice()
#end
$work.PrimaryLicense.Text
#if ( ! $work.isPrimaryOnly() )
This distribution contains third party resources.
#end
#foreach( $directory in $work.Contents )
#if (! $work.isOnlyPrimary( $directory ) )
Within the $directory.Name directory
#if ( ! $directory.PublicDomain.isEmpty() )
placed in the public domain
#foreach ( $organisation in $directory.PublicDomain )
#if ( !$work.isPrimary( $organisation ))
by $organisation.Name #if ($organisation.URL) $organisation.URL #end
#foreach( $resource in $organisation.Resources)
$resource.Name
#end
#end
#end
#end
#foreach( $license in $directory.Licenses)
#if (! $work.isOnlyPrimary( $license) )
licensed under the $license.Name#if ($license.URL) $license.URL #end#if( $work.isPrimary( $license.License )) (as above)
#if ( $license.hasCopyrightNotice() )
$license.CopyrightNotice
#end#else (as follows)
$indent.indent(12,$license.CopyrightNotice) $indent.indent(12, $license.Text)
#end
#foreach( $organisation in $license.Organisations)
#if ( $helper.renderResources( $organisation , $license ) )
from $organisation.Name #if ($organisation.URL) $organisation.URL #end
#foreach( $resource in $organisation.Resources)
$resource.Name
#end
#end
#end
#end
#end
#end
#end