[
https://issues.apache.org/jira/browse/ZOOKEEPER-2373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Patrick Hunt updated ZOOKEEPER-2373:
------------------------------------
Attachment: ZOOKEEPER-2373.patch
This patch adds the license to the generated poms. I used the template that
ships with ivy 2.4.0 as the basis and added the license section.
Unfortunately it means we own the template now (we need to keep it up to date
if we upgrade ivy say).
I tested in 3.4/3.5/trunk by generating the release tar. I then tried
bq. mvn dependency:list
on the generated pom and it ran successfully - therefore I believe the
generated pom is being created correctly. My testing was not extensive but at
least I believe the license section itself is syntactically correct.
> Licenses section missing from pom file
> --------------------------------------
>
> Key: ZOOKEEPER-2373
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2373
> Project: ZooKeeper
> Issue Type: Improvement
> Reporter: Flavio Junqueira
> Assignee: Patrick Hunt
> Priority: Blocker
> Fix For: 3.4.9, 3.5.2, 3.6.0
>
> Attachments: ZOOKEEPER-2373.patch
>
>
> The pom file here:
> https://repo1.maven.org/maven2/org/apache/zookeeper/zookeeper/3.4.8/zookeeper-3.4.8.pom
> should have a section like this:
> {noformat}
> <licenses>
> <license>
> <name>The Apache Software License, Version 2.0</name>
> <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
>
> <distribution>repo</distribution>
> </license>
> </licenses>
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)