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


# overrides file for org.heneveld.license-audit-maven-plugin
# expands/corrects detail needed for generating license notices

# used in UI
- id: jquery-core:1.7.2
  url: http://jquery.com/
  description: JS library for manipulating HTML and eventing
  name: jQuery JavaScript Library
  files: jquery.js
  version: 1.7.2
  organization: { name: "The jQuery Foundation", url: "http://jquery.org/" }
  license: MIT
  notice: |
    Copyright (c) John Resig (2005-2011)
    Includes code fragments from sizzle.js:
      Copyright (c) The Dojo Foundation
      Available at http://sizzlejs.com
      Used under the MIT license

- id: jquery-core:1.8.0
  url: http://jquery.com/
  description: JS library for manipulating HTML and eventing
  name: jQuery JavaScript Library
  files: jquery.js
  version: 1.8.0
  organization: { name: "The jQuery Foundation", url: "http://jquery.org/" }
  license: MIT
  # NB: sizzle copyright changed from Dojo Foundation in 1.7.2
  notice: |
    Copyright (c) The jQuery Foundation, Inc. and other contributors (2005-2012)
    Includes code fragments from sizzle.js:
      Copyright (c) The jQuery Foundation, Inc. and other contributors (2012)
      Available at http://sizzlejs.com
      Used under the MIT license
# used in docs (not reported)
- id: jquery-core:2.1.1
  url: http://jquery.com/
  description: JS library for manipulating HTML and eventing
  name: jQuery JavaScript Library
  files: jquery.js
  version: 2.1.1
  organization: { name: "The jQuery Foundation", url: "http://jquery.org/" }
  license: MIT
  # NB: sizzle copyright changed from Dojo Foundation in 1.7.2
  notice: |
    Copyright (c) The jQuery Foundation, Inc. and other contributors (2005-2012)
    Includes code fragments from sizzle.js:
      Copyright (c) The jQuery Foundation, Inc. and other contributors (2012)
      Available at http://sizzlejs.com
      Used under the MIT license

# not used anymore? swagger-ui includes what it needs, it seems.
- id: swagger:2.1.6
  name: Swagger JS
  files: swagger-client.js swagger.css
  version: 2.1.6
  url: https://github.com/swagger-api/swagger-js
  license: Apache-2.0
  notice: Copyright (c) SmartBear Software (2011-2015)

- id: swagger-ui:2.1.4
  files: swagger*.{js,css,html}
  name: Swagger UI
  version: 2.1.4
  url: https://github.com/swagger-api/swagger-ui
  license: Apache-2.0
  notice: Copyright (c) SmartBear Software (2011-2015)
  
- id: jquery.wiggle.min.js
  name: jQuery Wiggle
  version: swagger-ui:1.0.1
  notice: | 
    Copyright (c) WonderGroup and Jordan Thomas (2010)
    Previously online at http://labs.wondergroup.com/demos/mini-ui/index.html.
    The version included here is from the Swagger UI distribution.
  # above is link in copyright but it is no longer valid; url below is same person
  url: https://github.com/jordanthomas/jquery-wiggle
  license: MIT

- id: require.js
  name: RequireJS 
  files: require.js, text.js
  version: 2.0.6 
  url: http://requirejs.org/
  organization: { name: "The Dojo Foundation", url: "http://dojofoundation.org/" }
  notice: Copyright (c) The Dojo Foundation (2010-2012)
  license: MIT

- id: require.js/r.js
  # new ID because this is a different version to the above
  name: RequireJS (r.js maven plugin)
  files: r.js
  version: 2.1.6 
  url: http://github.com/jrburke/requirejs
  organization: { name: "The Dojo Foundation", url: "http://dojofoundation.org/" }
  notice: |
    Copyright (c) The Dojo Foundation (2009-2013)
     Includes code fragments for source-map and other functionality: 
       Copyright (c) The Mozilla Foundation and contributors (2011)
       Used under the BSD 2-Clause license.
     Includes code fragments for parse-js and other functionality: 
       Copyright (c) Mihai Bazon (2010, 2012)
       Used under the BSD 2-Clause license.
     Includes code fragments for uglifyjs/consolidator: 
       Copyright (c) Robert Gust-Bardon (2012)
       Used under the BSD 2-Clause license.
     Includes code fragments for the esprima parser: 
       Copyright (c):
         Ariya Hidayat (2011, 2012)
         Mathias Bynens (2012)
         Joost-Wim Boekesteijn (2012)
         Kris Kowal (2012)
         Yusuke Suzuki (2012)
         Arpad Borsos (2012)
       Used under the BSD 2-Clause license.
  license: MIT

- id: backbone.js
  version: 1.0.0
  url: http://backbonejs.org
  organization: { name: "DocumentCloud Inc.", url: "http://www.documentcloud.org/" }
  notice: Copyright (c) Jeremy Ashkenas, DocumentCloud Inc. (2010-2013)
  license: MIT

- id: backbone.js:1.1.2
  version: 1.1.2
  url: http://backbonejs.org
  organization: { name: "DocumentCloud Inc.", url: "http://www.documentcloud.org/" }
  notice: Copyright (c) Jeremy Ashkenas, DocumentCloud Inc. (2010-2014)
  license: MIT

- id: bootstrap.js
  version: 2.0.4
  url: http://twitter.github.com/bootstrap/javascript.html#transitions
  notice: Copyright (c) Twitter, Inc. (2012)
  license: Apache-2.0

- id: codemirror.js
  files: codemirror.{js,css}, show-hint.{js,css}, placeholder.js, anyword-hint.js, yaml.js
  version: 5.11.1
  url: http://codemirror.net/
  notice: CodeMirror (c) Marijn Haverbeke and others
  license: MIT

- id: jquery.easy-autocomplete.js
  version: 1.3.3
  url: https://github.com/pawelczak/EasyAutocomplete
  notice: Copyright (c) Łukasz Pawełczak (2015)
  license: MIT

# used in docs (not needed for licensing) 
- id: bootstrap.js:3.1.1
  version: 3.1.1
  url: http://getbootstrap.com/
  notice: Copyright (c) Twitter, Inc. (2011-2014)
  license: MIT
  
- id: underscore.js
  name: Underscore JS
  version: 1.4.4
  files: underscore*.{js,map}
  url: http://underscorejs.org
  organization: { name: "DocumentCloud Inc.", url: "http://www.documentcloud.org/" }
  notice: Copyright (c) Jeremy Ashkenas, DocumentCloud Inc. (2009-2013)
  license: MIT

# used in CLI (and in docs)
- id: underscore.js:1.7.0
  name: Underscore JS
  version: 1.7.0
  files: underscore*.{js,map}
  url: http://underscorejs.org
  organization: { name: "DocumentCloud Inc.", url: "http://www.documentcloud.org/" }
  notice: "Copyright (c) Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors (2009-2014)"
  license: MIT

- id: async.js
  version: 0.1.1
  url: https://github.com/p15martin/google-maps-hello-world/blob/master/js/libs/async.js
  # ORIGINALLY https://github.com/millermedeiros/requirejs-plugins
  organization: { name: "Miller Medeiros", url: "https://github.com/millermedeiros/" }
  description: RequireJS plugin for async dependency load like JSONP and Google Maps
  notice: Copyright (c) Miller Medeiros (2011)
  license: MIT 

- id: handlebars.js
  files: handlebars*.js
  version: 1.0-rc1
  url: https://github.com/wycats/handlebars.js 
  organization: { name: "Yehuda Katz", url: "https://github.com/wycats/" }
  notice: Copyright (c) Yehuda Katz (2012)
  license: MIT

- id: handlebars.js:2.0.0
  files: handlebars*.js
  version: 2.0.0
  url: https://github.com/wycats/handlebars.js
  organization: { name: "Yehuda Katz", url: "https://github.com/wycats/" }
  notice: Copyright (c) Yehuda Katz (2014)
  license: MIT

- id: jquery.ba-bbq.js
  name: "jQuery BBQ: Back Button & Query Library"
  files: jquery.ba-bbq*.js
  version: 1.2.1
  url: http://benalman.com/projects/jquery-bbq-plugin/
  organization: { name: "\"Cowboy\" Ben Alman", url: "http://benalman.com/" }
  notice: Copyright (c) "Cowboy" Ben Alman (2010)"
  license: MIT

- id: jquery.ba-bbq.js-hashchange
  name: "jQuery hashchange event"
  files: jquery.ba-bbq*.js
  version: 1.2
  url: http://benalman.com/projects/jquery-hashchange-plugin/
  organization: { name: "\"Cowboy\" Ben Alman", url: "http://benalman.com/" }
  notice: Copyright (c) "Cowboy" Ben Alman (2010)"
  license: MIT

- id: moment.js
  version: 2.1.0
  url: http://momentjs.com
  organization: { name: "Tim Wood", url: "http://momentjs.com" }
  notice: Copyright (c) Tim Wood, Iskren Chernev, Moment.js contributors (2011-2014)
  license: MIT

- id: ZeroClipboard
  files: ZeroClipboard.*
  version: 1.3.1
  url: http://zeroclipboard.org/
  organization: { name: "ZeroClipboard contributors", url: "https://github.com/zeroclipboard" }
  notice: Copyright (c) Jon Rohan, James M. Greene (2014)
  license: MIT

- id: jquery.dataTables
  files: jquery.dataTables.{js,css}
  name: DataTables Table plug-in for jQuery
  version: 1.9.4
  url: http://www.datatables.net/
  organization: { name: "SpryMedia Ltd", url: "http://sprymedia.co.uk/" }
  notice: Copyright (c) Allan Jardine (2008-2012)
  license: BSD-3-Clause

- id: js-uri
  files: URI.js
  version: 0.1
  url: http://code.google.com/p/js-uri/
  organization: { name: "js-uri contributors", url: "https://code.google.com/js-uri" }
  license: BSD-3-Clause
  # inferred
  notice: Copyright (c) js-uri contributors (2013)

- id: js-yaml.js
  version: 3.5.2
  organization: { name: "Vitaly Puzrin", url: "https://github.com/nodeca/" }
  url: https://github.com/nodeca/
  notice: Copyright (c) Vitaly Puzrin (2011-2015)
  license: MIT

- id: jquery.form.js
  name: jQuery Form Plugin
  version: "3.09"
  url: https://github.com/malsup/form
  # also http://malsup.com/jquery/form/
  organization: { name: "Mike Alsup", url: "http://malsup.com/" }
  notice: Copyright (c) M. Alsup (2006-2013)
  license: MIT

# used for CLI to build catalog
- id: typeahead.js
  name: Typeahead JS
  version: 0.10.5
  url: https://github.com/twitter/typeahead.js
  organization: { name: "Twitter, Inc", url: "http://twitter.com" }
  notice: Copyright (c) Twitter, Inc. and other contributors (2013-2014)
  license: MIT

# used for CLI to build catalog
- id: marked.js
  version: 0.3.1
  url: https://github.com/chjj/marked
  organization: { name: "Christopher Jeffrey", url: "https://github.com/chjj" }
  notice: Copyright (c) Christopher Jeffrey (2011-2014)
  license: MIT

# DOCS files
#
# we don't do a distributable docs build -- they are just online.
# (docs are excluded from the source build, and not bundled with the binary build.)
# so these are not used currently; but for completeness and in case we change our minds,
# here they are:

# * different versions of jquery, bootstrap, and underscore noted above,
# * media items github octicons and font-awesome fonts, not listed
# * plus the below:

- id: jquery.superfish.js
  files: superfish.js
  name: Superfish jQuery Menu Widget
  version: 1.4.8
  url: http://users.tpg.com.au/j_birch/plugins/superfish/
  notice: Copyright (c) Joel Birch (2008)
  license: MIT

- id: jquery.cookie.js
  name: jQuery Cookie Plugin
  version: 1.3.1
  url: https://github.com/carhartl/jquery-cookie
  notice: Copyright (c) Klaus Hartl (2013)
  license: MIT

- id: font-awesome-fonts
  name: Font Awesome (fonts)
  version: 4.5.0
  url: http://fontawesome.io/
  files: "font-awesome/fonts/* cluster.svg"
  notice: Copyright (c) Dave Gandy (2016)
  license:
  - url: "http://scripts.sil.org/OFL"
    name: SIL OFL 1.1

- id: font-awesome-code
  name: Font Awesome (code)
  version: 4.5.0
  url: http://fontawesome.io/
  files: "font-awesome/{css,scss,less}/*"
  notice: Copyright (c) Dave Gandy (2016)
  license: MIT

- id: tango-project-icons
  name: Tango Project Icons
  url: https://commons.wikimedia.org/wiki/File:Network-server.svg
  notice: Released into the public domain by the people from the Tango! project (The Tango! Desktop Project), via Wikimedia Commons
  license:
  - name: Public Domain

- id: noun-project-icons
  name: The Noun Project (icons)
  url: https://thenounproject.com/
  notice: Includes icons by Evan Shuster, Sarah Joy, Jack Zwanenburg
  files: "service-restarter.png, autoscaler.png, and others"
  license:
  - url: https://creativecommons.org/licenses/by/3.0/us/legalcode
    name: Creative Commons Public License, Attribution 3.0


