bOR_ <boris.sch...@gmail.com> writes:

> How in clojars do I attach a licence to the jar? I'm about to
> redistribute a BSD-licensed jarfile to clojars, but I'm not sure how I
> can make sure that the licence also gets redistributed. Are these
> things embedded in jar files by default?

I think it's quite common to put them in the jar.  So the clause from
the license is:

2. Redistributions in binary form must reproduce the above copyright
   notice, this list of conditions and the following disclaimer in the
   documentation and/or other materials provided with the distribution.

I'd say that putting it in the jar would satisfy "other materials
provided with the distribution".  Note you can also specify a license
section in the POM (though that wouldn't satisfy the license):

  <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>

At some point in the future I intend to have Clojars read that also
check for "COPYING" and "LICENSE" files in the uploaded jar and display
the license on the Clojars per-jar page.

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to