third-party-file.ftl 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <#--
  2. Licensed to the Apache Software Foundation (ASF) under one or more
  3. contributor license agreements. See the NOTICE file distributed with
  4. this work for additional information regarding copyright ownership.
  5. The ASF licenses this file to You under the Apache License, Version 2.0
  6. (the "License"); you may not use this file except in compliance with
  7. the License. You may obtain a copy of the License at
  8. http://www.apache.org/licenses/LICENSE-2.0
  9. Unless required by applicable law or agreed to in writing, software
  10. distributed under the License is distributed on an "AS IS" BASIS,
  11. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. See the License for the specific language governing permissions and
  13. limitations under the License.
  14. -->
  15. <#function artifactFormat p>
  16. <#if p.name?index_of('Unnamed') &gt; -1>
  17. <#return p.artifactId + " (" + p.groupId + ":" + p.artifactId + ":" + p.version + " - " + (p.url!"no url defined") + ")">
  18. <#else>
  19. <#return p.name + " (" + p.groupId + ":" + p.artifactId + ":" + p.version + " - " + (p.url!"no url defined") + ")">
  20. </#if>
  21. </#function>
  22. <#if licenseMap?size == 0>
  23. The project has no dependencies.
  24. <#else>
  25. ===============================================================================
  26. APACHE LIVY SUBCOMPONENTS:
  27. The Apache Livy binary distribution includes a number of subcomponents
  28. with separate copyright notices and license terms. Your use of the
  29. code for the these subcomponents is subject to the terms and
  30. conditions of the following licenses.
  31. ===============================================================================
  32. We have listed all of these third party libraries and their licenses
  33. below. This file can be regenerated at any time by simply running:
  34. mvn clean package
  35. ---------------------------------------------------
  36. Third party Java libraries listed by License type.
  37. PLEASE NOTE: Some dependencies may be listed under multiple licenses if they
  38. are dual-licensed. This is especially true of anything listed as
  39. "GNU General Public Library" below.
  40. ---------------------------------------------------
  41. <#list licenseMap as e>
  42. <#assign license = e.getKey()/>
  43. <#assign projects = e.getValue()/>
  44. <#if projects?size &gt; 0>
  45. ${license}:
  46. <#list projects as project>
  47. * ${artifactFormat(project)}
  48. </#list>
  49. </#if>
  50. </#list>
  51. </#if>