From 0b38e89e29c8cf419b05dfe7e476efc01372a68b Mon Sep 17 00:00:00 2001 From: Pavel Marek Date: Fri, 2 Feb 2024 19:00:50 +0100 Subject: [PATCH 01/31] Add withDebug commands to some projects --- build.sbt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build.sbt b/build.sbt index 0bc337c5e49e..741e28261754 100644 --- a/build.sbt +++ b/build.sbt @@ -2433,6 +2433,10 @@ lazy val editions = project lazy val downloader = (project in file("lib/scala/downloader")) .settings( frgaalJavaCompilerSetting, + // Fork the tests to make sure that the withDebug command works (we can + // attach debugger to the subprocess) + (Test / fork) := true, + commands += WithDebugCommand.withDebug, version := "0.1", libraryDependencies ++= circe ++ Seq( "com.typesafe.scala-logging" %% "scala-logging" % scalaLoggingVersion, @@ -2494,6 +2498,7 @@ lazy val `library-manager-test` = project .settings( frgaalJavaCompilerSetting, Test / fork := true, + commands += WithDebugCommand.withDebug, Test / javaOptions ++= testLogProviderOptions, Test / test := (Test / test).tag(simpleLibraryServerTag).value, libraryDependencies ++= Seq( From 9f8832f7ba9ca972aee1f2fc265ff0aeb17f7d25 Mon Sep 17 00:00:00 2001 From: Pavel Marek Date: Fri, 2 Feb 2024 19:01:32 +0100 Subject: [PATCH 02/31] Add MultipartBodyPublisher --- .../http/MultipartBodyPublisher.java | 55 +++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 lib/scala/downloader/src/main/java/org/enso/downloader/http/MultipartBodyPublisher.java diff --git a/lib/scala/downloader/src/main/java/org/enso/downloader/http/MultipartBodyPublisher.java b/lib/scala/downloader/src/main/java/org/enso/downloader/http/MultipartBodyPublisher.java new file mode 100644 index 000000000000..b71f0776ef6c --- /dev/null +++ b/lib/scala/downloader/src/main/java/org/enso/downloader/http/MultipartBodyPublisher.java @@ -0,0 +1,55 @@ +package org.enso.downloader.http; + +import java.io.IOException; +import java.math.BigInteger; +import java.net.http.HttpRequest; +import java.nio.charset.StandardCharsets; +import java.nio.file.Files; +import java.nio.file.Path; +import java.util.ArrayList; +import java.util.List; +import java.util.Map; +import java.util.Random; + +/** + * This utility class adds support for {@code multipart/form-data} content-type as there is no + * such support in {@code java.net.http} JDK. + * + * Copied from SO. + */ +public class MultipartBodyPublisher { + private static final String BOUNDARY = new BigInteger(256, new Random()).toString(); + + public static HttpRequest.BodyPublisher ofMimeMultipartData(Map data) throws IOException { + // Result request body + List byteArrays = new ArrayList<>(); + + // Separator with boundary + byte[] separator = ("--" + BOUNDARY + "\r\nContent-Disposition: form-data; name=").getBytes( + StandardCharsets.UTF_8); + + for (Map.Entry entry : data.entrySet()) { + + // Opening boundary + byteArrays.add(separator); + + // If value is type of Path (file) append content type with file name and file binaries, otherwise simply append key=value + if (entry.getValue() instanceof Path path) { + String mimeType = Files.probeContentType(path); + byteArrays.add(("\"" + entry.getKey() + "\"; filename=\"" + path.getFileName() + + "\"\r\nContent-Type: " + mimeType + "\r\n\r\n").getBytes(StandardCharsets.UTF_8)); + byteArrays.add(Files.readAllBytes(path)); + byteArrays.add("\r\n".getBytes(StandardCharsets.UTF_8)); + } else { + byteArrays.add(("\"" + entry.getKey() + "\"\r\n\r\n" + entry.getValue() + "\r\n") + .getBytes(StandardCharsets.UTF_8)); + } + } + + // Closing boundary + byteArrays.add(("--" + BOUNDARY + "--").getBytes(StandardCharsets.UTF_8)); + + // Serializing as byte array + return HttpRequest.BodyPublishers.ofByteArrays(byteArrays); + } +} From 0c9719bcfb2de737eb80d0b34131defecf7a3090 Mon Sep 17 00:00:00 2001 From: Pavel Marek Date: Fri, 2 Feb 2024 19:01:53 +0100 Subject: [PATCH 03/31] URIBuilder uses java.net.URI --- .../org/enso/downloader/http/URIBuilder.scala | 44 ++++++++++++------- 1 file changed, 28 insertions(+), 16 deletions(-) diff --git a/lib/scala/downloader/src/main/scala/org/enso/downloader/http/URIBuilder.scala b/lib/scala/downloader/src/main/scala/org/enso/downloader/http/URIBuilder.scala index 82f7d1a95a22..4d287fff404a 100644 --- a/lib/scala/downloader/src/main/scala/org/enso/downloader/http/URIBuilder.scala +++ b/lib/scala/downloader/src/main/scala/org/enso/downloader/http/URIBuilder.scala @@ -1,13 +1,13 @@ package org.enso.downloader.http -import akka.http.scaladsl.model.Uri +import java.net.URI /** A simple immutable builder for URIs based on URLs. * * It contains very limited functionality that is needed by the APIs used in * the launcher. It can be easily extended if necessary. */ -case class URIBuilder private (uri: Uri) { +case class URIBuilder private (uri: URI) { /** Resolve a segment over the path in the URI. * @@ -15,19 +15,28 @@ case class URIBuilder private (uri: Uri) { * `http://example.com/foo/bar`. */ def addPathSegment(segment: String): URIBuilder = { - val part = "/" + segment - copy(uri.withPath(uri.path + part)) + copy(uri.resolve(segment)) } /** Add a query parameter to the URI. * * The query is appended at the end. */ - def addQuery(key: String, value: String): URIBuilder = - copy(uri.withQuery(uri.query().+:((key, value)))) + def addQuery(key: String, value: String): URIBuilder = { + val scheme = uri.getScheme + val authority = uri.getAuthority + val path = uri.getPath + val query = uri.getQuery + val fragment = uri.getFragment + val newQuery = if (query == null) null else { + query + "&" + key + "=" + value + } + val newUri = new URI(scheme, authority, path, newQuery, fragment) + copy(newUri) + } /** Build the URI represented by this builder. */ - def build(): Uri = uri + def build(): URI = uri } object URIBuilder { @@ -37,20 +46,23 @@ object URIBuilder { * A builder created by `fromHost("example.com")` represents * `https://example.com/`. */ - def fromHost(host: String): URIBuilder = - new URIBuilder(Uri.from(scheme = "https", host = host)) + def fromHost(host: String): URIBuilder = { + val scheme = "https" + val path: String = null + val fragment: String = null + new URIBuilder(new URI(scheme, host, path, fragment)) + } - /** Creates a builder from an arbitrary [[Uri]] instance. */ - def fromUri(uri: Uri): URIBuilder = + /** Creates a builder from an arbitrary [[URI]] instance. */ + def fromUri(uri: URI): URIBuilder = { new URIBuilder(uri) + } /** Creates a builder from an arbitrary URI represented as string. - * - * If the string is invalid, it throws - * [[akka.http.scaladsl.model.IllegalUriException]]. */ - def fromUri(uri: String): URIBuilder = - new URIBuilder(Uri.parseAbsolute(uri)) + def fromUri(uri: String): URIBuilder = { + new URIBuilder(new URI(uri)) + } /** A simple DSL for the URIBuilder. */ implicit class URIBuilderSyntax(builder: URIBuilder) { From 3688cc82f959a9dce7c356448e177734188f58d6 Mon Sep 17 00:00:00 2001 From: Pavel Marek Date: Fri, 2 Feb 2024 19:02:37 +0100 Subject: [PATCH 04/31] Refactor HTTPRequestBuilder to java.net from akka --- .../enso/downloader/http/HTTPRequest.scala | 3 +- .../downloader/http/HTTPRequestBuilder.scala | 64 ++++++++----------- 2 files changed, 27 insertions(+), 40 deletions(-) diff --git a/lib/scala/downloader/src/main/scala/org/enso/downloader/http/HTTPRequest.scala b/lib/scala/downloader/src/main/scala/org/enso/downloader/http/HTTPRequest.scala index 134d5e32318e..c27a6b37ef8a 100644 --- a/lib/scala/downloader/src/main/scala/org/enso/downloader/http/HTTPRequest.scala +++ b/lib/scala/downloader/src/main/scala/org/enso/downloader/http/HTTPRequest.scala @@ -1,6 +1,7 @@ package org.enso.downloader.http -import akka.http.scaladsl.model.HttpRequest +import java.net.http.HttpRequest + /** Wraps an underlying HTTP request implementation to make the outside API * independent of the internal implementation. diff --git a/lib/scala/downloader/src/main/scala/org/enso/downloader/http/HTTPRequestBuilder.scala b/lib/scala/downloader/src/main/scala/org/enso/downloader/http/HTTPRequestBuilder.scala index 7757d0f6fa05..1a2bb470427a 100644 --- a/lib/scala/downloader/src/main/scala/org/enso/downloader/http/HTTPRequestBuilder.scala +++ b/lib/scala/downloader/src/main/scala/org/enso/downloader/http/HTTPRequestBuilder.scala @@ -1,8 +1,8 @@ package org.enso.downloader.http -import akka.http.scaladsl.model.HttpHeader.ParsingResult -import akka.http.scaladsl.model._ -import org.enso.downloader.http +import java.net.URI +import java.net.http.HttpRequest +import scala.jdk.CollectionConverters._ /** A simple immutable builder for HTTP requests. * @@ -10,16 +10,15 @@ import org.enso.downloader.http * the launcher. It can be easily extended if necessary. */ case class HTTPRequestBuilder private ( - uri: Uri, + uri: URI, headers: Vector[(String, String)], - httpEntity: RequestEntity + internalBuilder: HttpRequest.Builder ) { /** Builds a GET request with the specified settings. */ - def GET: HTTPRequest = build(HttpMethods.GET) - - /** Builds a POST request with the specified settings. */ - def POST: HTTPRequest = build(HttpMethods.POST) + def GET: HTTPRequest = { + HTTPRequest(internalBuilder.GET().build()) + } /** Adds an additional header that will be included in the request. * @@ -29,36 +28,23 @@ case class HTTPRequestBuilder private ( def addHeader(name: String, value: String): HTTPRequestBuilder = copy(headers = headers.appended((name, value))) - /** Sets the [[RequestEntity]] for the request. - * - * It can be used for example to specify form data to send for a POST - * request. - */ - def setEntity(entity: RequestEntity): HTTPRequestBuilder = - copy(httpEntity = entity) + /** + * Adds multipart form data into `Content-Type: multipart/form-data` + * @param data + * @return + */ + def postMultipartData(data: Map[Object, Object]): HTTPRequestBuilder = { + val bodyPublisher = MultipartBodyPublisher.ofMimeMultipartData(data.asJava) + copy( + internalBuilder = internalBuilder.POST(bodyPublisher) + ) + } - private def build( - method: HttpMethod - ): HTTPRequest = { - val httpHeaders = headers.map { case (name, value) => - HttpHeader.parse(name, value) match { - case ParsingResult.Ok(header, errors) if errors.isEmpty => - header - case havingErrors => - throw new IllegalStateException( - s"Internal error: " + - s"Invalid value for header $name: ${havingErrors.errors}." - ) - } + def build(): HTTPRequest = { + headers.foreach { case (name, value) => + internalBuilder.header(name, value) } - http.HTTPRequest( - HttpRequest( - method = method, - uri = uri, - headers = httpHeaders, - entity = httpEntity - ) - ) + HTTPRequest(internalBuilder.build()) } } @@ -66,8 +52,8 @@ object HTTPRequestBuilder { /** Creates a request builder that will send the request for the given URI. */ - def fromURI(uri: Uri): HTTPRequestBuilder = - new HTTPRequestBuilder(uri, Vector.empty, HttpEntity.Empty) + def fromURI(uri: URI): HTTPRequestBuilder = + new HTTPRequestBuilder(uri, Vector.empty, HttpRequest.newBuilder()) /** Tries to parse the URI provided as a [[String]] and returns a request * builder that will send the request to the given `uri`. From bd71fd9cfbdc0923f628f1853c0f26615e571e5e Mon Sep 17 00:00:00 2001 From: Pavel Marek Date: Fri, 9 Feb 2024 13:28:25 +0100 Subject: [PATCH 05/31] Migrate downloader to JDK HttpClient --- .../enso/downloader/http/HTTPDownload.scala | 257 ++++++------------ .../downloader/http/HTTPRequestBuilder.scala | 5 +- .../org/enso/downloader/http/URIBuilder.scala | 4 +- .../enso/downloader/http/URIBuilderSpec.scala | 15 + .../libraryupload/LibraryUploadTest.scala | 1 - .../enso/libraryupload/LibraryUploader.scala | 60 +--- 6 files changed, 111 insertions(+), 231 deletions(-) create mode 100644 lib/scala/downloader/src/test/scala/org/enso/downloader/http/URIBuilderSpec.scala diff --git a/lib/scala/downloader/src/main/scala/org/enso/downloader/http/HTTPDownload.scala b/lib/scala/downloader/src/main/scala/org/enso/downloader/http/HTTPDownload.scala index e89171b791b9..296e92f0867a 100644 --- a/lib/scala/downloader/src/main/scala/org/enso/downloader/http/HTTPDownload.scala +++ b/lib/scala/downloader/src/main/scala/org/enso/downloader/http/HTTPDownload.scala @@ -1,24 +1,15 @@ package org.enso.downloader.http -import akka.actor.ActorSystem -import akka.http.scaladsl.Http -import akka.http.scaladsl.model.headers.Location -import akka.http.scaladsl.model.{HttpRequest, HttpResponse, Uri} -import akka.stream.scaladsl.{FileIO, Sink} -import akka.util.ByteString -import com.typesafe.config.{ConfigFactory, ConfigValueFactory} import com.typesafe.scalalogging.Logger -import org.enso.cli.task.{ - ProgressUnit, - TaskProgress, - TaskProgressImplementation -} +import org.enso.cli.task.{ProgressUnit, TaskProgress, TaskProgressImplementation} +import java.net.URI +import java.net.http.{HttpClient, HttpHeaders, HttpResponse} import java.nio.charset.{Charset, StandardCharsets} -import java.nio.file.Path -import scala.concurrent.Future -import scala.jdk.CollectionConverters.IterableHasAsJava -import scala.util.{Failure, Success, Try} +import java.nio.file.{Files, Path} +import java.util.concurrent.{CompletableFuture, Executors} +import scala.annotation.unused +import scala.util.{Failure, Success} /** Contains utility functions for fetching data using the HTTP(S) protocol. */ object HTTPDownload { @@ -47,26 +38,58 @@ object HTTPDownload { */ def fetchString( request: HTTPRequest, + @unused sizeHint: Option[Long] = None, encoding: Charset = StandardCharsets.UTF_8 ): TaskProgress[APIResponse] = { - logger.debug("Fetching [{}].", request.requestImpl.getUri()) - def combineChunks(chunks: Seq[ByteString]): String = - chunks.reduceOption(_ ++ _).map(_.decodeString(encoding)).getOrElse("") - runRequest( - request = request.requestImpl, - sizeHint = sizeHint, - earlyResponseMapping = response => Success(response), - sink = Sink.seq, - resultMapping = (response, chunks: Seq[ByteString]) => - Success( - APIResponse( - combineChunks(chunks), - response.headers.map(header => Header(header.name, header.value)), - response.status.intValue() - ) + logger.debug("Fetching [{}].", request.requestImpl.uri()) + val taskProgress = new TaskProgressImplementation[APIResponse](ProgressUnit.Bytes) + val bodyHandler = java.net.http.HttpResponse.BodyHandlers.ofString(encoding) + asyncDownload(request, bodyHandler) + .thenAccept(res => { + if (res.statusCode() == 404) { + taskProgress.setComplete(Failure(ResourceNotFound())) + } else { + taskProgress.setComplete(Success( + APIResponse( + res.body(), + convertHeaders(res.headers()), + res.statusCode() + ) + )) + } + }) + .exceptionally(ex => { + taskProgress.setComplete( + Failure(HTTPException(s"Server responded with: [${ex.getMessage}].")) ) - ) + null + }) + taskProgress + } + + private def asyncDownload[T]( + request: HTTPRequest, + bodyHandler: java.net.http.HttpResponse.BodyHandler[T], + ): CompletableFuture[HttpResponse[T]] = { + val vThreadExecutor = Executors.newVirtualThreadPerTaskExecutor() + val httpClient = HttpClient.newBuilder() + .followRedirects(HttpClient.Redirect.NORMAL) + .executor(vThreadExecutor) + .build() + httpClient.sendAsync(request.requestImpl, bodyHandler) + } + + private def convertHeaders( + headers: HttpHeaders + ): Seq[Header] = { + val headerBuilder = Seq.newBuilder[Header] + headers.map().forEach{case (name, values) => + values.forEach(value => { + headerBuilder += Header(name, value) + }) + } + headerBuilder.result() } /** Fetches the `uri` and tries to decode is as a [[String]]. @@ -78,7 +101,7 @@ object HTTPDownload { * @return a [[TaskProgress]] that tracks progress of the download and can * be used to get the final result */ - def fetchString(uri: Uri): TaskProgress[APIResponse] = { + def fetchString(uri: URI): TaskProgress[APIResponse] = { val request = HTTPRequestBuilder.fromURI(uri).GET fetchString(request) } @@ -104,29 +127,32 @@ object HTTPDownload { def download( request: HTTPRequest, destination: Path, + @unused sizeHint: Option[Long] = None ): TaskProgress[Path] = { logger.debug( "Downloading [{}] to [{}].", - request.requestImpl.getUri(), + request.requestImpl.uri(), destination ) - runRequest( - request = request.requestImpl, - sizeHint = sizeHint, - earlyResponseMapping = { response => - if (response.status.isSuccess) - Success(response) - else if (response.status.intValue == 404) - Failure(ResourceNotFound()) - else - Failure( - HTTPException(s"Server responded with: [${response.status.value}].") - ) - }, - sink = FileIO.toPath(destination), - resultMapping = (_, _: Any) => Success(destination) - ) + val taskProgress = new TaskProgressImplementation[Path](ProgressUnit.Bytes) + val bodyHandler = java.net.http.HttpResponse.BodyHandlers.ofFile(destination) + asyncDownload(request, bodyHandler) + .thenAccept(res => { + if (res.statusCode() == 404) { + taskProgress.setComplete(Failure(ResourceNotFound())) + Files.deleteIfExists(destination) + } else { + taskProgress.setComplete(Success(destination)) + } + }) + .exceptionally(ex => { + taskProgress.setComplete( + Failure(HTTPException(s"Server responded with: [${ex.getMessage}].")) + ) + null + }) + taskProgress } /** Downloads the `uri` and saves the response in the file pointed by the @@ -139,138 +165,9 @@ object HTTPDownload { * @return a [[TaskProgress]] that tracks progress of the download and can * be used to wait for the completion of the download. */ - def download(uri: Uri, destination: Path): TaskProgress[Path] = { + def download(uri: URI, destination: Path): TaskProgress[Path] = { val request = HTTPRequestBuilder.fromURI(uri).GET download(request, destination) } - implicit private lazy val actorSystem: ActorSystem = { - val loggers: java.lang.Iterable[String] = - Seq("akka.event.slf4j.Slf4jLogger").asJava - val config = ConfigFactory - .load() - .withValue( - "akka.extensions", - ConfigValueFactory.fromAnyRef(Seq.empty.asJava) - ) - .withValue( - "akka.library-extensions", - ConfigValueFactory.fromAnyRef(Seq.empty.asJava) - ) - .withValue("akka.daemonic", ConfigValueFactory.fromAnyRef("on")) - .withValue("akka.loggers", ConfigValueFactory.fromAnyRef(loggers)) - .withValue( - "akka.logging-filter", - ConfigValueFactory.fromAnyRef("akka.event.DefaultLoggingFilter") - ) - .withValue("akka.loglevel", ConfigValueFactory.fromAnyRef("WARNING")) - - ActorSystem( - "http-requests-actor-system", - config, - classLoader = getClass.getClassLoader // Note [Actor System Class Loader] - ) - } - - /** Starts the request and returns a [[TaskProgress]] that can be used to - * track download progress and get the result. - * - * @tparam A type of the result returned by `sink` - * @tparam B type of the final result that will be contained in the returned - * [[TaskProgress]] - * @param request the request to start - * @param sizeHint an optional hint indicating the expected size of the - * response. It is used if the response does not include - * explicit Content-Length header. - * @param earlyResponseMapping a mapping that can be used to alter the - * response or handle any early errors; it is run - * before passing the response through the - * `sink`; thus it can be used to avoid creating - * downloaded files if the request fails - * @param sink specifies how the response content should be handled, it - * receives chunks of [[ByteString]] and should produce a - * [[Future]] with some result - * @param resultMapping maps the `sink` result and the response into a final - * result type, it can use the response instance to for - * example, access the headers, but the entity cannot be - * used as it will already be drained - * @return a [[TaskProgress]] that will contain the final result or any - * errors - */ - private def runRequest[A, B]( - request: HttpRequest, - sizeHint: Option[Long], - earlyResponseMapping: HttpResponse => Try[HttpResponse], - sink: Sink[ByteString, Future[A]], - resultMapping: (HttpResponse, A) => Try[B] - ): TaskProgress[B] = { - // TODO [RW] Add optional stream encoding allowing for compression - - // add headers and decode the stream if necessary (#1805). - val taskProgress = new TaskProgressImplementation[B](ProgressUnit.Bytes) - val total = new java.util.concurrent.atomic.AtomicLong(0) - import actorSystem.dispatcher - - val http = Http() - - def handleRedirects(retriesLeft: Int)( - response: HttpResponse - ): Future[HttpResponse] = - if (response.status.isRedirection) { - response.discardEntityBytes() - if (retriesLeft > 0) { - val newURI = response - .header[Location] - .getOrElse( - throw HTTPException( - s"HTTP response was ${response.status} which indicates a " + - s"redirection, but the Location header was missing or invalid." - ) - ) - .uri - if (newURI.scheme != "https") { - throw HTTPException( - s"The HTTP redirection would result in a non-HTTPS connection " + - s"(the requested scheme was `${newURI.scheme}`). " + - "This is not safe, the request has been terminated." - ) - } - - logger.trace( - "HTTP response was [{}], redirecting to [{}].", - response.status, - newURI - ) - val newRequest = request.withUri(newURI) - http - .singleRequest(newRequest) - .flatMap(handleRedirects(retriesLeft - 1)) - } else { - throw HTTPException("Too many redirects.") - } - } else Future.successful(response) - - def handleFinalResponse( - response: HttpResponse - ): Future[(HttpResponse, A)] = { - val sizeEstimate = - response.entity.contentLengthOption.orElse(sizeHint) - response.entity.dataBytes - .map { chunk => - val currentTotal = total.addAndGet(chunk.size.toLong) - taskProgress.reportProgress(currentTotal, sizeEstimate) - chunk - } - .runWith(sink) - .map((response, _)) - } - - http - .singleRequest(request) - .flatMap(handleRedirects(maximumRedirects)) - .flatMap(earlyResponseMapping andThen Future.fromTry) - .flatMap(handleFinalResponse) - .flatMap(resultMapping.tupled andThen Future.fromTry) - .onComplete(taskProgress.setComplete) - taskProgress - } } diff --git a/lib/scala/downloader/src/main/scala/org/enso/downloader/http/HTTPRequestBuilder.scala b/lib/scala/downloader/src/main/scala/org/enso/downloader/http/HTTPRequestBuilder.scala index 1a2bb470427a..103d3d0da6db 100644 --- a/lib/scala/downloader/src/main/scala/org/enso/downloader/http/HTTPRequestBuilder.scala +++ b/lib/scala/downloader/src/main/scala/org/enso/downloader/http/HTTPRequestBuilder.scala @@ -52,8 +52,9 @@ object HTTPRequestBuilder { /** Creates a request builder that will send the request for the given URI. */ - def fromURI(uri: URI): HTTPRequestBuilder = - new HTTPRequestBuilder(uri, Vector.empty, HttpRequest.newBuilder()) + def fromURI(uri: URI): HTTPRequestBuilder = { + new HTTPRequestBuilder(uri, Vector.empty, HttpRequest.newBuilder(uri)) + } /** Tries to parse the URI provided as a [[String]] and returns a request * builder that will send the request to the given `uri`. diff --git a/lib/scala/downloader/src/main/scala/org/enso/downloader/http/URIBuilder.scala b/lib/scala/downloader/src/main/scala/org/enso/downloader/http/URIBuilder.scala index 4d287fff404a..cac95a727b2e 100644 --- a/lib/scala/downloader/src/main/scala/org/enso/downloader/http/URIBuilder.scala +++ b/lib/scala/downloader/src/main/scala/org/enso/downloader/http/URIBuilder.scala @@ -15,7 +15,9 @@ case class URIBuilder private (uri: URI) { * `http://example.com/foo/bar`. */ def addPathSegment(segment: String): URIBuilder = { - copy(uri.resolve(segment)) + val pathItems = uri.getRawPath.split("/") + val newPath = (pathItems :+ segment).mkString("/") + copy(uri.resolve(newPath)) } /** Add a query parameter to the URI. diff --git a/lib/scala/downloader/src/test/scala/org/enso/downloader/http/URIBuilderSpec.scala b/lib/scala/downloader/src/test/scala/org/enso/downloader/http/URIBuilderSpec.scala new file mode 100644 index 000000000000..98f37b66b269 --- /dev/null +++ b/lib/scala/downloader/src/test/scala/org/enso/downloader/http/URIBuilderSpec.scala @@ -0,0 +1,15 @@ +package org.enso.downloader.http + +import org.scalatest.matchers.must.Matchers +import org.scalatest.wordspec.AnyWordSpec + +class URIBuilderSpec extends AnyWordSpec with Matchers{ + "URIBuilder" should { + "add path segments" in { + val bldr = URIBuilder.fromUri("http://google.com") + val uri = bldr.addPathSegment("foo").addPathSegment("bar").build() + uri.toString mustEqual "http://google.com/foo/bar" + } + } + +} diff --git a/lib/scala/library-manager-test/src/test/scala/org/enso/libraryupload/LibraryUploadTest.scala b/lib/scala/library-manager-test/src/test/scala/org/enso/libraryupload/LibraryUploadTest.scala index 66b43c7ac96c..1e9493a8c755 100644 --- a/lib/scala/library-manager-test/src/test/scala/org/enso/libraryupload/LibraryUploadTest.scala +++ b/lib/scala/library-manager-test/src/test/scala/org/enso/libraryupload/LibraryUploadTest.scala @@ -47,7 +47,6 @@ class LibraryUploadTest override def findDependencies(pkg: Package[File]): Set[LibraryName] = Set(LibraryName("Standard", "Base")) } - import scala.concurrent.ExecutionContext.Implicits.global LibraryUploader(dependencyExtractor) .uploadLibrary( projectRoot, diff --git a/lib/scala/library-manager/src/main/scala/org/enso/libraryupload/LibraryUploader.scala b/lib/scala/library-manager/src/main/scala/org/enso/libraryupload/LibraryUploader.scala index a59351fa8a69..a3a7f6fbadf7 100644 --- a/lib/scala/library-manager/src/main/scala/org/enso/libraryupload/LibraryUploader.scala +++ b/lib/scala/library-manager/src/main/scala/org/enso/libraryupload/LibraryUploader.scala @@ -1,8 +1,5 @@ package org.enso.libraryupload -import akka.http.scaladsl.marshalling.Marshal -import akka.http.scaladsl.model._ -import akka.stream.scaladsl.Source import com.typesafe.scalalogging.Logger import nl.gn0s1s.bump.SemVer import org.enso.cli.task.{ProgressReporter, TaskProgress} @@ -17,8 +14,8 @@ import org.enso.pkg.{Package, PackageManager} import org.enso.yaml.YamlHelper import java.io.File +import java.net.URI import java.nio.file.{Files, Path} -import scala.concurrent.{ExecutionContext, Future} import scala.jdk.CollectionConverters._ import scala.util.{Failure, Success, Try, Using} @@ -34,14 +31,13 @@ class LibraryUploader(dependencyExtractor: DependencyExtractor[File]) { * the repository * @param progressReporter a [[ProgressReporter]] to track long running tasks * like compression and upload - * @param ec an execution context used for handling Futures */ def uploadLibrary( projectRoot: Path, uploadUrl: String, authToken: auth.Token, progressReporter: ProgressReporter - )(implicit ec: ExecutionContext): Try[Unit] = Try { + ): Try[Unit] = Try { FileSystem.withTemporaryDirectory("enso-upload") { tmpDir => val pkg = PackageManager.Default.loadPackage(projectRoot.toFile).get val version = SemVer(pkg.getConfig().version).getOrElse { @@ -113,7 +109,7 @@ class LibraryUploader(dependencyExtractor: DependencyExtractor[File]) { baseUploadUrl: String, libraryName: LibraryName, version: SemVer - ): Uri = { + ): URI = { URIBuilder .fromUri(baseUploadUrl) .addQuery("namespace", libraryName.namespace) @@ -166,23 +162,6 @@ class LibraryUploader(dependencyExtractor: DependencyExtractor[File]) { } } - /** Creates a [[RequestEntity]] that will upload the provided files. */ - private def createRequestEntity( - files: Seq[Path] - )(implicit ec: ExecutionContext): Future[RequestEntity] = { - - val fileBodies = files.map { path => - val filename = path.getFileName.toString - Multipart.FormData.BodyPart( - filename, - HttpEntity.fromPath(detectContentType(path), path), - Map("filename" -> filename) - ) - } - - val formData = Multipart.FormData(Source(fileBodies)) - Marshal(formData).to[RequestEntity] - } /** Loads a manifest, if it exists. */ private def loadSavedManifest(manifestPath: Path): Option[LibraryManifest] = { @@ -192,36 +171,23 @@ class LibraryUploader(dependencyExtractor: DependencyExtractor[File]) { } else None } - /** Tries to detect the content type of the file to upload. - * - * If it is not a known type, it falls back to `application/octet-stream`. - */ - private def detectContentType(path: Path): ContentType = { - val filename = path.getFileName.toString - if (filename.endsWith(".tgz") || filename.endsWith(".tar.gz")) - ContentType(MediaTypes.`application/x-gtar`) - else if (filename.endsWith(".yaml") || filename.endsWith(".enso")) - ContentTypes.`text/plain(UTF-8)` - else ContentTypes.`application/octet-stream` - } /** Uploads the provided files to the provided url, using the provided token * for authentication. */ private def uploadFiles( - uri: Uri, + uri: URI, authToken: auth.Token, files: Seq[Path] - )(implicit ec: ExecutionContext): TaskProgress[Unit] = { - val future = createRequestEntity(files).map { entity => - val request = authToken - .alterRequest(HTTPRequestBuilder.fromURI(uri)) - .setEntity(entity) - .POST - // TODO [RW] upload progress - HTTPDownload.fetchString(request).force() - } - TaskProgress.fromFuture(future).flatMap { response => + ): TaskProgress[Unit] = { + val data: Map[Object, Object] = files.map{ path => ("file" -> path)}.toMap + val request = authToken + .alterRequest(HTTPRequestBuilder.fromURI(uri)) + .postMultipartData(data) + .build() + // TODO [RW] upload progress + val responseFut = HTTPDownload.fetchString(request) + responseFut.flatMap { response => if (response.statusCode == 200) { logger.debug("Server responded with 200 OK.") Success(()) From b17f86b5db5d01fd427a6e0a9edcf38c30b030c3 Mon Sep 17 00:00:00 2001 From: Pavel Marek Date: Fri, 9 Feb 2024 14:47:12 +0100 Subject: [PATCH 06/31] fmt --- .../http/MultipartBodyPublisher.java | 35 ++++++++++++------- 1 file changed, 23 insertions(+), 12 deletions(-) diff --git a/lib/scala/downloader/src/main/java/org/enso/downloader/http/MultipartBodyPublisher.java b/lib/scala/downloader/src/main/java/org/enso/downloader/http/MultipartBodyPublisher.java index b71f0776ef6c..895ec5e8270e 100644 --- a/lib/scala/downloader/src/main/java/org/enso/downloader/http/MultipartBodyPublisher.java +++ b/lib/scala/downloader/src/main/java/org/enso/downloader/http/MultipartBodyPublisher.java @@ -12,37 +12,48 @@ import java.util.Random; /** - * This utility class adds support for {@code multipart/form-data} content-type as there is no - * such support in {@code java.net.http} JDK. + * This utility class adds support for {@code multipart/form-data} content-type as there is no such + * support in {@code java.net.http} JDK. * - * Copied from SO. + *

Copied from SO. */ public class MultipartBodyPublisher { - private static final String BOUNDARY = new BigInteger(256, new Random()).toString(); + private static final String BOUNDARY = new BigInteger(256, new Random()).toString(); - public static HttpRequest.BodyPublisher ofMimeMultipartData(Map data) throws IOException { + public static HttpRequest.BodyPublisher ofMimeMultipartData(Map data) + throws IOException { // Result request body List byteArrays = new ArrayList<>(); // Separator with boundary - byte[] separator = ("--" + BOUNDARY + "\r\nContent-Disposition: form-data; name=").getBytes( - StandardCharsets.UTF_8); + byte[] separator = + ("--" + BOUNDARY + "\r\nContent-Disposition: form-data; name=") + .getBytes(StandardCharsets.UTF_8); for (Map.Entry entry : data.entrySet()) { // Opening boundary byteArrays.add(separator); - // If value is type of Path (file) append content type with file name and file binaries, otherwise simply append key=value + // If value is type of Path (file) append content type with file name and file binaries, + // otherwise simply append key=value if (entry.getValue() instanceof Path path) { String mimeType = Files.probeContentType(path); - byteArrays.add(("\"" + entry.getKey() + "\"; filename=\"" + path.getFileName() - + "\"\r\nContent-Type: " + mimeType + "\r\n\r\n").getBytes(StandardCharsets.UTF_8)); + byteArrays.add( + ("\"" + + entry.getKey() + + "\"; filename=\"" + + path.getFileName() + + "\"\r\nContent-Type: " + + mimeType + + "\r\n\r\n") + .getBytes(StandardCharsets.UTF_8)); byteArrays.add(Files.readAllBytes(path)); byteArrays.add("\r\n".getBytes(StandardCharsets.UTF_8)); } else { - byteArrays.add(("\"" + entry.getKey() + "\"\r\n\r\n" + entry.getValue() + "\r\n") - .getBytes(StandardCharsets.UTF_8)); + byteArrays.add( + ("\"" + entry.getKey() + "\"\r\n\r\n" + entry.getValue() + "\r\n") + .getBytes(StandardCharsets.UTF_8)); } } From 0ef2ffd6d8bd96bf44ab80a55f5d54842e6342e8 Mon Sep 17 00:00:00 2001 From: Pavel Marek Date: Fri, 9 Feb 2024 14:48:54 +0100 Subject: [PATCH 07/31] fmt --- .../enso/downloader/http/HTTPDownload.scala | 34 ++++++++++++------- .../enso/downloader/http/HTTPRequest.scala | 1 - .../downloader/http/HTTPRequestBuilder.scala | 9 +++-- .../org/enso/downloader/http/URIBuilder.scala | 22 ++++++------ .../enso/downloader/http/URIBuilderSpec.scala | 4 +-- .../enso/libraryupload/LibraryUploader.scala | 4 +-- 6 files changed, 40 insertions(+), 34 deletions(-) diff --git a/lib/scala/downloader/src/main/scala/org/enso/downloader/http/HTTPDownload.scala b/lib/scala/downloader/src/main/scala/org/enso/downloader/http/HTTPDownload.scala index 296e92f0867a..f3d66384f9a9 100644 --- a/lib/scala/downloader/src/main/scala/org/enso/downloader/http/HTTPDownload.scala +++ b/lib/scala/downloader/src/main/scala/org/enso/downloader/http/HTTPDownload.scala @@ -1,7 +1,11 @@ package org.enso.downloader.http import com.typesafe.scalalogging.Logger -import org.enso.cli.task.{ProgressUnit, TaskProgress, TaskProgressImplementation} +import org.enso.cli.task.{ + ProgressUnit, + TaskProgress, + TaskProgressImplementation +} import java.net.URI import java.net.http.{HttpClient, HttpHeaders, HttpResponse} @@ -43,20 +47,23 @@ object HTTPDownload { encoding: Charset = StandardCharsets.UTF_8 ): TaskProgress[APIResponse] = { logger.debug("Fetching [{}].", request.requestImpl.uri()) - val taskProgress = new TaskProgressImplementation[APIResponse](ProgressUnit.Bytes) - val bodyHandler = java.net.http.HttpResponse.BodyHandlers.ofString(encoding) + val taskProgress = + new TaskProgressImplementation[APIResponse](ProgressUnit.Bytes) + val bodyHandler = HttpResponse.BodyHandlers.ofString(encoding) asyncDownload(request, bodyHandler) .thenAccept(res => { if (res.statusCode() == 404) { taskProgress.setComplete(Failure(ResourceNotFound())) } else { - taskProgress.setComplete(Success( - APIResponse( - res.body(), - convertHeaders(res.headers()), - res.statusCode() + taskProgress.setComplete( + Success( + APIResponse( + res.body(), + convertHeaders(res.headers()), + res.statusCode() + ) ) - )) + ) } }) .exceptionally(ex => { @@ -70,10 +77,11 @@ object HTTPDownload { private def asyncDownload[T]( request: HTTPRequest, - bodyHandler: java.net.http.HttpResponse.BodyHandler[T], + bodyHandler: HttpResponse.BodyHandler[T] ): CompletableFuture[HttpResponse[T]] = { val vThreadExecutor = Executors.newVirtualThreadPerTaskExecutor() - val httpClient = HttpClient.newBuilder() + val httpClient = HttpClient + .newBuilder() .followRedirects(HttpClient.Redirect.NORMAL) .executor(vThreadExecutor) .build() @@ -84,7 +92,7 @@ object HTTPDownload { headers: HttpHeaders ): Seq[Header] = { val headerBuilder = Seq.newBuilder[Header] - headers.map().forEach{case (name, values) => + headers.map().forEach { case (name, values) => values.forEach(value => { headerBuilder += Header(name, value) }) @@ -136,7 +144,7 @@ object HTTPDownload { destination ) val taskProgress = new TaskProgressImplementation[Path](ProgressUnit.Bytes) - val bodyHandler = java.net.http.HttpResponse.BodyHandlers.ofFile(destination) + val bodyHandler = HttpResponse.BodyHandlers.ofFile(destination) asyncDownload(request, bodyHandler) .thenAccept(res => { if (res.statusCode() == 404) { diff --git a/lib/scala/downloader/src/main/scala/org/enso/downloader/http/HTTPRequest.scala b/lib/scala/downloader/src/main/scala/org/enso/downloader/http/HTTPRequest.scala index c27a6b37ef8a..9427ca34e10f 100644 --- a/lib/scala/downloader/src/main/scala/org/enso/downloader/http/HTTPRequest.scala +++ b/lib/scala/downloader/src/main/scala/org/enso/downloader/http/HTTPRequest.scala @@ -2,7 +2,6 @@ package org.enso.downloader.http import java.net.http.HttpRequest - /** Wraps an underlying HTTP request implementation to make the outside API * independent of the internal implementation. */ diff --git a/lib/scala/downloader/src/main/scala/org/enso/downloader/http/HTTPRequestBuilder.scala b/lib/scala/downloader/src/main/scala/org/enso/downloader/http/HTTPRequestBuilder.scala index 103d3d0da6db..c4ce0c6db670 100644 --- a/lib/scala/downloader/src/main/scala/org/enso/downloader/http/HTTPRequestBuilder.scala +++ b/lib/scala/downloader/src/main/scala/org/enso/downloader/http/HTTPRequestBuilder.scala @@ -28,11 +28,10 @@ case class HTTPRequestBuilder private ( def addHeader(name: String, value: String): HTTPRequestBuilder = copy(headers = headers.appended((name, value))) - /** - * Adds multipart form data into `Content-Type: multipart/form-data` - * @param data - * @return - */ + /** Adds multipart form data into `Content-Type: multipart/form-data` + * @param data + * @return + */ def postMultipartData(data: Map[Object, Object]): HTTPRequestBuilder = { val bodyPublisher = MultipartBodyPublisher.ofMimeMultipartData(data.asJava) copy( diff --git a/lib/scala/downloader/src/main/scala/org/enso/downloader/http/URIBuilder.scala b/lib/scala/downloader/src/main/scala/org/enso/downloader/http/URIBuilder.scala index cac95a727b2e..2da86484b63c 100644 --- a/lib/scala/downloader/src/main/scala/org/enso/downloader/http/URIBuilder.scala +++ b/lib/scala/downloader/src/main/scala/org/enso/downloader/http/URIBuilder.scala @@ -16,7 +16,7 @@ case class URIBuilder private (uri: URI) { */ def addPathSegment(segment: String): URIBuilder = { val pathItems = uri.getRawPath.split("/") - val newPath = (pathItems :+ segment).mkString("/") + val newPath = (pathItems :+ segment).mkString("/") copy(uri.resolve(newPath)) } @@ -25,14 +25,16 @@ case class URIBuilder private (uri: URI) { * The query is appended at the end. */ def addQuery(key: String, value: String): URIBuilder = { - val scheme = uri.getScheme + val scheme = uri.getScheme val authority = uri.getAuthority - val path = uri.getPath - val query = uri.getQuery - val fragment = uri.getFragment - val newQuery = if (query == null) null else { - query + "&" + key + "=" + value - } + val path = uri.getPath + val query = uri.getQuery + val fragment = uri.getFragment + val newQuery = + if (query == null) null + else { + query + "&" + key + "=" + value + } val newUri = new URI(scheme, authority, path, newQuery, fragment) copy(newUri) } @@ -49,8 +51,8 @@ object URIBuilder { * `https://example.com/`. */ def fromHost(host: String): URIBuilder = { - val scheme = "https" - val path: String = null + val scheme = "https" + val path: String = null val fragment: String = null new URIBuilder(new URI(scheme, host, path, fragment)) } diff --git a/lib/scala/downloader/src/test/scala/org/enso/downloader/http/URIBuilderSpec.scala b/lib/scala/downloader/src/test/scala/org/enso/downloader/http/URIBuilderSpec.scala index 98f37b66b269..3c162bacf9ac 100644 --- a/lib/scala/downloader/src/test/scala/org/enso/downloader/http/URIBuilderSpec.scala +++ b/lib/scala/downloader/src/test/scala/org/enso/downloader/http/URIBuilderSpec.scala @@ -3,11 +3,11 @@ package org.enso.downloader.http import org.scalatest.matchers.must.Matchers import org.scalatest.wordspec.AnyWordSpec -class URIBuilderSpec extends AnyWordSpec with Matchers{ +class URIBuilderSpec extends AnyWordSpec with Matchers { "URIBuilder" should { "add path segments" in { val bldr = URIBuilder.fromUri("http://google.com") - val uri = bldr.addPathSegment("foo").addPathSegment("bar").build() + val uri = bldr.addPathSegment("foo").addPathSegment("bar").build() uri.toString mustEqual "http://google.com/foo/bar" } } diff --git a/lib/scala/library-manager/src/main/scala/org/enso/libraryupload/LibraryUploader.scala b/lib/scala/library-manager/src/main/scala/org/enso/libraryupload/LibraryUploader.scala index a3a7f6fbadf7..2e0964eea61b 100644 --- a/lib/scala/library-manager/src/main/scala/org/enso/libraryupload/LibraryUploader.scala +++ b/lib/scala/library-manager/src/main/scala/org/enso/libraryupload/LibraryUploader.scala @@ -162,7 +162,6 @@ class LibraryUploader(dependencyExtractor: DependencyExtractor[File]) { } } - /** Loads a manifest, if it exists. */ private def loadSavedManifest(manifestPath: Path): Option[LibraryManifest] = { if (Files.exists(manifestPath)) { @@ -171,7 +170,6 @@ class LibraryUploader(dependencyExtractor: DependencyExtractor[File]) { } else None } - /** Uploads the provided files to the provided url, using the provided token * for authentication. */ @@ -180,7 +178,7 @@ class LibraryUploader(dependencyExtractor: DependencyExtractor[File]) { authToken: auth.Token, files: Seq[Path] ): TaskProgress[Unit] = { - val data: Map[Object, Object] = files.map{ path => ("file" -> path)}.toMap + val data: Map[Object, Object] = files.map { path => ("file" -> path) }.toMap val request = authToken .alterRequest(HTTPRequestBuilder.fromURI(uri)) .postMultipartData(data) From dc1e5822078f2b66669698000b82b3c976cf5917 Mon Sep 17 00:00:00 2001 From: Pavel Marek Date: Mon, 12 Feb 2024 12:27:21 +0100 Subject: [PATCH 08/31] Extract runServer method in HTTPTestHelperServer --- .../src/main/java/org/enso/shttp/HTTPTestHelperServer.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tools/http-test-helper/src/main/java/org/enso/shttp/HTTPTestHelperServer.java b/tools/http-test-helper/src/main/java/org/enso/shttp/HTTPTestHelperServer.java index b3c8dfbc2566..2bf7fe6f9851 100644 --- a/tools/http-test-helper/src/main/java/org/enso/shttp/HTTPTestHelperServer.java +++ b/tools/http-test-helper/src/main/java/org/enso/shttp/HTTPTestHelperServer.java @@ -20,13 +20,16 @@ public static void main(String[] args) { System.err.println("Usage: http-test-helper "); System.exit(1); } - String host = args[0]; + int port = Integer.parseInt(args[1]); + runServer(host, port); + } + + public static void runServer(String host, int port) { HybridHTTPServer server = null; try { Path projectRoot = findProjectRoot(); Path keyStorePath = projectRoot.resolve("tools/http-test-helper/target/keystore.jks"); - int port = Integer.parseInt(args[1]); server = new HybridHTTPServer(host, port, port + 1, keyStorePath); setupEndpoints(server, projectRoot); From 7d79c026070f3dc45dbeea245aa95932e826f917 Mon Sep 17 00:00:00 2001 From: Pavel Marek Date: Mon, 12 Feb 2024 13:27:12 +0100 Subject: [PATCH 09/31] downloader uses http-test-helper for testing --- build.sbt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build.sbt b/build.sbt index 8caaa3293a4e..0de92669a5ed 100644 --- a/build.sbt +++ b/build.sbt @@ -2445,6 +2445,9 @@ lazy val downloader = (project in file("lib/scala/downloader")) "commons-io" % "commons-io" % commonsIoVersion, "org.apache.commons" % "commons-compress" % commonsCompressVersion, "org.scalatest" %% "scalatest" % scalatestVersion % Test, + "junit" % "junit" % junitVersion % Test, + "com.github.sbt" % "junit-interface" % junitIfVersion % Test, + "org.hamcrest" % "hamcrest-all" % hamcrestVersion % Test, akkaActor, akkaStream, akkaHttp, @@ -2452,6 +2455,7 @@ lazy val downloader = (project in file("lib/scala/downloader")) ) ) .dependsOn(cli) + .dependsOn(`http-test-helper`) lazy val `edition-updater` = project .in(file("lib/scala/edition-updater")) From ed8a567c4629e2181a055e904e5e589b7045e512 Mon Sep 17 00:00:00 2001 From: Pavel Marek Date: Mon, 12 Feb 2024 14:17:32 +0100 Subject: [PATCH 10/31] Ensure http-test-helper main method is blocked until interrupted --- .../org/enso/shttp/HTTPTestHelperServer.java | 41 +++++++++---- .../java/org/enso/shttp/HybridHTTPServer.java | 60 ++++++++++--------- 2 files changed, 61 insertions(+), 40 deletions(-) diff --git a/tools/http-test-helper/src/main/java/org/enso/shttp/HTTPTestHelperServer.java b/tools/http-test-helper/src/main/java/org/enso/shttp/HTTPTestHelperServer.java index 2bf7fe6f9851..05f63d9801ca 100644 --- a/tools/http-test-helper/src/main/java/org/enso/shttp/HTTPTestHelperServer.java +++ b/tools/http-test-helper/src/main/java/org/enso/shttp/HTTPTestHelperServer.java @@ -6,6 +6,8 @@ import java.nio.file.Files; import java.nio.file.Path; import java.util.List; +import java.util.concurrent.Executor; +import java.util.concurrent.Semaphore; import java.util.stream.Stream; import org.enso.shttp.auth.BasicAuthTestHandler; import org.enso.shttp.auth.TokenAuthTestHandler; @@ -22,17 +24,10 @@ public static void main(String[] args) { } String host = args[0]; int port = Integer.parseInt(args[1]); - runServer(host, port); - } - - public static void runServer(String host, int port) { + Semaphore stopNotification = new Semaphore(0, false); HybridHTTPServer server = null; try { - Path projectRoot = findProjectRoot(); - Path keyStorePath = projectRoot.resolve("tools/http-test-helper/target/keystore.jks"); - server = new HybridHTTPServer(host, port, port + 1, keyStorePath); - setupEndpoints(server, projectRoot); - + server = createServer(host, port, null, true); final HybridHTTPServer server1 = server; SignalHandler stopServerHandler = (Signal sig) -> { @@ -43,17 +38,39 @@ public static void runServer(String host, int port) { Signal.handle(new Signal(signalName), stopServerHandler); } server.start(); - } catch (IOException | URISyntaxException e) { + // Make sure the execution is blocked until the process is interrupted. + stopNotification.acquire(); + } catch (URISyntaxException | IOException e) { e.printStackTrace(); + } catch (InterruptedException e) { + System.out.println("Server interrupted"); } finally { + stopNotification.release(); if (server != null) { server.stop(); } } } - private static void setupEndpoints(HybridHTTPServer server, Path projectRoot) - throws URISyntaxException { + /** + * Creates the server. + * + * @param executor An {@link Executor} for both HTTP and HTTPS servers. If {@code null}, the + * default executor is set, which runs the server on the thread that created the server. + * @param withSSLServer Whether HTTPS server should be also be started along with HTTP server. + * @return The created server + */ + public static HybridHTTPServer createServer( + String host, int port, Executor executor, boolean withSSLServer) + throws URISyntaxException, IOException { + Path projectRoot = findProjectRoot(); + Path keyStorePath = projectRoot.resolve("tools/http-test-helper/target/keystore.jks"); + var server = new HybridHTTPServer(host, port, port + 1, keyStorePath, executor, withSSLServer); + setupEndpoints(server, projectRoot); + return server; + } + + private static void setupEndpoints(HybridHTTPServer server, Path projectRoot) { for (HttpMethod method : HttpMethod.values()) { String path = "/" + method.toString().toLowerCase(); server.addHandler(path, new TestHandler(method)); diff --git a/tools/http-test-helper/src/main/java/org/enso/shttp/HybridHTTPServer.java b/tools/http-test-helper/src/main/java/org/enso/shttp/HybridHTTPServer.java index de31e35f97fc..a0db6938d115 100644 --- a/tools/http-test-helper/src/main/java/org/enso/shttp/HybridHTTPServer.java +++ b/tools/http-test-helper/src/main/java/org/enso/shttp/HybridHTTPServer.java @@ -6,7 +6,7 @@ import java.nio.file.Files; import java.nio.file.Path; import java.security.KeyStore; -import java.util.concurrent.Semaphore; +import java.util.concurrent.Executor; import javax.net.ssl.KeyManagerFactory; import javax.net.ssl.SSLContext; import javax.net.ssl.SSLEngine; @@ -18,18 +18,22 @@ public class HybridHTTPServer { private final HttpsServer sslServer; private final Path keyStorePath; private volatile boolean isStarted = false; - private final Semaphore stopNotification = new Semaphore(0, false); - public HybridHTTPServer(String hostname, int port, int sslPort, Path keyStorePath) + HybridHTTPServer(String hostname, int port, int sslPort, Path keyStorePath, + Executor executor, boolean withSSLServer) throws IOException { this.keyStorePath = keyStorePath; InetSocketAddress address = new InetSocketAddress(hostname, port); server = HttpServer.create(address, 0); - server.setExecutor(null); - - InetSocketAddress sslAddress = new InetSocketAddress(hostname, sslPort); - sslServer = HttpsServer.create(sslAddress, 0); - sslServer.setExecutor(null); + server.setExecutor(executor); + + if (withSSLServer) { + InetSocketAddress sslAddress = new InetSocketAddress(hostname, sslPort); + sslServer = HttpsServer.create(sslAddress, 0); + sslServer.setExecutor(executor); + } else { + sslServer = null; + } } private static class SimpleHttpsConfigurator extends HttpsConfigurator { @@ -109,37 +113,37 @@ public void start() { isStarted = true; - try { - setupSSL(); - } catch (Exception e) { - throw new RuntimeException(e); + if (sslServer != null) { + try { + setupSSL(); + } catch (Exception e) { + throw new RuntimeException(e); + } } server.start(); - sslServer.start(); + if (sslServer != null) { + sslServer.start(); + } System.out.println("HTTP server started at " + server.getAddress()); - System.out.println("HTTPS server started at " + sslServer.getAddress()); - - try { - stopNotification.acquire(); - } catch (InterruptedException e) { - System.out.println("Server interrupted."); - e.printStackTrace(); - } finally { - System.out.println("Finalizing HTTP server..."); - server.stop(1); - System.out.println("Finalizing HTTPS server..."); - sslServer.stop(1); - System.out.println("Server stopped."); + if (sslServer != null) { + System.out.println("HTTPS server started at " + sslServer.getAddress()); } } public void stop() { - stopNotification.release(); + System.out.println("Finalizing HTTP server..."); + server.stop(1); + if (sslServer != null) { + System.out.println("Finalizing HTTPS server..."); + sslServer.stop(1); + } } public void addHandler(String path, HttpHandler handler) { server.createContext(path, handler); - sslServer.createContext(path, handler); + if (sslServer != null) { + sslServer.createContext(path, handler); + } } } From 28173fb61a5d7358ecc4786b024354b755f9a94b Mon Sep 17 00:00:00 2001 From: Pavel Marek Date: Mon, 12 Feb 2024 18:06:05 +0100 Subject: [PATCH 11/31] Add some HttpDownloader tests --- .../downloader/http/HttpDownloaderTest.java | 184 ++++++++++++++++++ 1 file changed, 184 insertions(+) create mode 100644 lib/scala/downloader/src/test/java/org/enso/downloader/http/HttpDownloaderTest.java diff --git a/lib/scala/downloader/src/test/java/org/enso/downloader/http/HttpDownloaderTest.java b/lib/scala/downloader/src/test/java/org/enso/downloader/http/HttpDownloaderTest.java new file mode 100644 index 000000000000..9eeb85c5340f --- /dev/null +++ b/lib/scala/downloader/src/test/java/org/enso/downloader/http/HttpDownloaderTest.java @@ -0,0 +1,184 @@ +package org.enso.downloader.http; + +import static org.hamcrest.CoreMatchers.containsString; +import static org.hamcrest.CoreMatchers.instanceOf; +import static org.hamcrest.CoreMatchers.is; +import static org.hamcrest.MatcherAssert.assertThat; +import static org.hamcrest.Matchers.greaterThan; +import static org.hamcrest.Matchers.lessThan; +import static org.junit.Assert.assertTrue; + +import com.sun.net.httpserver.HttpExchange; +import java.io.IOException; +import java.net.URI; +import java.net.URISyntaxException; +import java.nio.file.Files; +import java.nio.file.Path; +import java.util.Random; +import java.util.concurrent.ExecutorService; +import java.util.concurrent.Executors; +import org.enso.cli.task.ProgressListener; +import org.enso.cli.task.TaskProgress; +import org.enso.shttp.HTTPTestHelperServer; +import org.enso.shttp.HybridHTTPServer; +import org.enso.shttp.SimpleHttpHandler; +import org.junit.AfterClass; +import org.junit.BeforeClass; +import org.junit.Test; +import scala.Option; +import scala.util.Try; + +public class HttpDownloaderTest { + + private static final int port = 8090; + private static final String TEXTS_FOO_URI = "http://localhost:" + port + "/texts/foo"; + public static final String REDIRECT_URI = "/redirect"; + private static HybridHTTPServer server; + private static ExecutorService serverExecutor; + + @BeforeClass + public static void initServer() throws URISyntaxException, IOException { + serverExecutor = Executors.newSingleThreadExecutor(); + server = HTTPTestHelperServer.createServer("localhost", port, serverExecutor, false); + server.addHandler("/texts", new TextHandler()); + server.addHandler("/redirect", new RedirectHandler()); + server.addHandler("/files", new BigFileHandler()); + server.start(); + } + + @AfterClass + public static void stopServer() { + server.stop(); + serverExecutor.shutdown(); + } + + @Test + public void fetchStringTest() throws URISyntaxException { + var uri = new URI(TEXTS_FOO_URI); + var task = HTTPDownload.fetchString(uri); + var resp = task.force(); + assertThat(resp.content(), containsString("Hello")); + } + + @Test + public void handleRedirectTest() throws URISyntaxException { + var uriStr = "http://localhost:" + port + REDIRECT_URI; + var uri = new URI(uriStr); + var task = HTTPDownload.fetchString(uri); + var resp = task.force(); + assertThat(resp.content(), containsString("Hello")); + } + + @Test + public void downloadSmallFileTest() throws Exception { + var uriStr = "http://localhost:" + port + "/get"; + var uri = new URI(uriStr); + Path dest = Files.createTempFile("enso-downloader-test", ".json"); + try { + var task = HTTPDownload.download(uri, dest); + var resp = task.force(); + assertThat(resp.toFile().exists(), is(true)); + assertThat(resp.toFile(), is(dest.toFile())); + } finally { + Files.deleteIfExists(dest); + } + } + + @Test + public void handleResourceNotFound() throws Exception { + var uri = new URI("http://localhost:" + port + "/not-found-FOO-BAR"); + var task = HTTPDownload.fetchString(uri); + var resp = TaskProgress.waitForTask(task); + assertThat(resp.isFailure(), is(true)); + var exception = resp.failed().get(); + assertThat(exception, instanceOf(ResourceNotFound.class)); + } + + @Test + public void downloadBigFileWithProgress() throws Exception { + var uriStr = "http://localhost:" + port + "/files/big.tgz"; + var uri = new URI(uriStr); + Path dest = Files.createTempFile("enso-downloader-test", ".tgz"); + final int[] progressUpdateCalls = {0}; + final int[] doneCalls = {0}; + var task = HTTPDownload.download(uri, dest); + var progressListener = + new ProgressListener() { + @Override + public void progressUpdate(long done, Option total) { + progressUpdateCalls[0]++; + assertThat(total.isDefined(), is(true)); + assertThat(total.get(), instanceOf(Long.class)); + long reportedTotal = (Long) total.get(); + assertThat(reportedTotal, is(BigFileHandler.BIG_FILE_SIZE)); + assertThat("Should send and report just chunk, not the whole file", done, lessThan(reportedTotal)); + } + + @Override + public void done(Try result) { + doneCalls[0]++; + assertTrue(result.isSuccess()); + assertThat(result.get(), is(dest)); + } + }; + task.addProgressListener(progressListener); + var resp = task.force(); + assertThat(resp.toFile().exists(), is(true)); + assertThat("Done was called exactly once", doneCalls[0], is(1)); + assertThat("Progress reported was called at least once", progressUpdateCalls[0], greaterThan(0)); + Files.deleteIfExists(dest); + } + + private static class TextHandler extends SimpleHttpHandler { + @Override + protected void doHandle(HttpExchange exchange) throws IOException { + if (exchange.getRequestURI().toString().equals("/texts/foo")) { + sendResponse(200, "Hello, world!", exchange); + } else { + exchange.sendResponseHeaders(404, -1); + } + } + } + + private static class RedirectHandler extends SimpleHttpHandler { + @Override + protected void doHandle(HttpExchange exchange) throws IOException { + if (exchange.getRequestURI().toString().equals(REDIRECT_URI)) { + exchange.getResponseHeaders().add("Location", TEXTS_FOO_URI); + exchange.sendResponseHeaders(302, -1); + } else { + exchange.sendResponseHeaders(404, -1); + } + } + } + + private static class BigFileHandler extends SimpleHttpHandler { + private static final int BIG_FILE_SIZE = 10 * 1024; + private static final byte[] BIG_FILE_BYTES = new byte[BIG_FILE_SIZE]; + private static final int CHUNK_SIZE = 1024; + + static { + var rnd = new Random(42); + rnd.nextBytes(BIG_FILE_BYTES); + } + + @Override + protected void doHandle(HttpExchange exchange) throws IOException { + if (exchange.getRequestURI().toString().equals("/files/big.tgz")) { + int chunks = BIG_FILE_SIZE / CHUNK_SIZE; + exchange.getResponseHeaders().set("Content-Length", Integer.toString(BIG_FILE_SIZE)); + exchange.getResponseHeaders().set("Content-Type", "application/x-gzip"); + exchange.sendResponseHeaders(200, BIG_FILE_SIZE); + try (var os = exchange.getResponseBody()) { + for (int i = 0; i < chunks; i++) { + System.out.println("Writing " + i + "-th chunk"); + os.write(BIG_FILE_BYTES, i * CHUNK_SIZE, CHUNK_SIZE); + os.flush(); + } + } + } else { + exchange.sendResponseHeaders(404, -1); + } + } + } +} From 4163d29193152bd177f1e95110107ce19bbc4f4d Mon Sep 17 00:00:00 2001 From: Pavel Marek Date: Tue, 13 Feb 2024 12:24:45 +0100 Subject: [PATCH 12/31] Add bodyhandlers that report HttpReponse progress --- .../http/PathProgressBodyHandler.java | 111 ++++++++++++++++++ .../http/StringProgressBodyHandler.java | 100 ++++++++++++++++ .../enso/downloader/http/HTTPDownload.scala | 13 +- .../downloader/http/HttpDownloaderTest.java | 52 ++++++-- 4 files changed, 262 insertions(+), 14 deletions(-) create mode 100644 lib/scala/downloader/src/main/java/org/enso/downloader/http/PathProgressBodyHandler.java create mode 100644 lib/scala/downloader/src/main/java/org/enso/downloader/http/StringProgressBodyHandler.java diff --git a/lib/scala/downloader/src/main/java/org/enso/downloader/http/PathProgressBodyHandler.java b/lib/scala/downloader/src/main/java/org/enso/downloader/http/PathProgressBodyHandler.java new file mode 100644 index 000000000000..c5c7401dd84e --- /dev/null +++ b/lib/scala/downloader/src/main/java/org/enso/downloader/http/PathProgressBodyHandler.java @@ -0,0 +1,111 @@ +package org.enso.downloader.http; + +import java.io.IOException; +import java.net.http.HttpResponse; +import java.net.http.HttpResponse.BodySubscriber; +import java.net.http.HttpResponse.ResponseInfo; +import java.nio.ByteBuffer; +import java.nio.channels.WritableByteChannel; +import java.nio.file.Files; +import java.nio.file.Path; +import java.util.List; +import java.util.concurrent.CompletableFuture; +import java.util.concurrent.CompletionStage; +import java.util.concurrent.Flow; +import org.enso.cli.task.TaskProgressImplementation; +import scala.Option; +import scala.Some; + +/** A {@link HttpResponse} body handler for {@link Path} that keeps track of the progress. */ +class PathProgressBodyHandler implements HttpResponse.BodyHandler { + private final Path destination; + private final TaskProgressImplementation progress; + private Long total; + + private PathProgressBodyHandler( + Path destination, TaskProgressImplementation progress, Long total) { + this.destination = destination; + this.progress = progress; + this.total = total; + } + + static PathProgressBodyHandler of( + Path destination, TaskProgressImplementation progress, Long sizeHint) { + return new PathProgressBodyHandler(destination, progress, sizeHint); + } + + @Override + public BodySubscriber apply(ResponseInfo responseInfo) { + if (total == null) { + var reportedLenOpt = responseInfo.headers().firstValueAsLong("Content-Length"); + if (reportedLenOpt.isPresent()) { + total = reportedLenOpt.getAsLong(); + } + } + if (total != null) { + progress.reportProgress(0, Some.apply(total)); + } else { + progress.reportProgress(0, Option.empty()); + } + WritableByteChannel destChannel; + try { + destChannel = Files.newByteChannel(destination); + } catch (IOException e) { + throw new IllegalStateException(e); + } + return new ProgressSubscriber(destChannel); + } + + private class ProgressSubscriber implements BodySubscriber { + private Flow.Subscription subscription; + private final WritableByteChannel destChannel; + + ProgressSubscriber(WritableByteChannel destChannel) { + this.destChannel = destChannel; + } + + @Override + public void onSubscribe(Flow.Subscription subscription) { + this.subscription = subscription; + this.subscription.request(1); + } + + @Override + public void onNext(List items) { + try { + for (ByteBuffer item : items) { + var len = item.remaining(); + progress.reportProgress(len, total == null ? Option.empty() : Some.apply(total)); + destChannel.write(item); + } + subscription.request(1); + } catch (IOException e) { + subscription.cancel(); + throw new RuntimeException(e); + } + } + + @Override + public void onError(Throwable throwable) { + try { + destChannel.close(); + } catch (IOException e) { + throwable.addSuppressed(e); + } + } + + @Override + public void onComplete() { + try { + destChannel.close(); + } catch (IOException e) { + throw new IllegalStateException(e); + } + } + + @Override + public CompletionStage getBody() { + return CompletableFuture.completedFuture(destination); + } + } +} diff --git a/lib/scala/downloader/src/main/java/org/enso/downloader/http/StringProgressBodyHandler.java b/lib/scala/downloader/src/main/java/org/enso/downloader/http/StringProgressBodyHandler.java new file mode 100644 index 000000000000..ba725b9d4923 --- /dev/null +++ b/lib/scala/downloader/src/main/java/org/enso/downloader/http/StringProgressBodyHandler.java @@ -0,0 +1,100 @@ +package org.enso.downloader.http; + +import java.io.ByteArrayOutputStream; +import java.io.IOException; +import java.net.http.HttpResponse; +import java.net.http.HttpResponse.BodySubscriber; +import java.nio.ByteBuffer; +import java.nio.charset.Charset; +import java.nio.file.Path; +import java.util.List; +import java.util.concurrent.CompletableFuture; +import java.util.concurrent.CompletionStage; +import java.util.concurrent.Flow; +import org.enso.cli.task.TaskProgressImplementation; +import scala.Option; +import scala.Some; + +/** A {@link HttpResponse} body handler for {@link Path} that keeps track of the progress. */ +public class StringProgressBodyHandler implements HttpResponse.BodyHandler { + private final ByteArrayOutputStream destination = new ByteArrayOutputStream(); + private final TaskProgressImplementation progress; + private final Charset encoding; + private Long total; + + private StringProgressBodyHandler( + TaskProgressImplementation progress, Charset encoding, Long total) { + this.progress = progress; + this.encoding = encoding; + this.total = total; + } + + public static StringProgressBodyHandler of( + TaskProgressImplementation progress, Long sizeHint, Charset encoding) { + return new StringProgressBodyHandler(progress, encoding, sizeHint); + } + + @Override + public HttpResponse.BodySubscriber apply(HttpResponse.ResponseInfo responseInfo) { + if (total == null) { + var reportedLenOpt = responseInfo.headers().firstValueAsLong("Content-Length"); + if (reportedLenOpt.isPresent()) { + total = reportedLenOpt.getAsLong(); + } + } + if (total != null) { + progress.reportProgress(0, Some.apply(total)); + } else { + progress.reportProgress(0, Option.empty()); + } + return new ProgressSubscriber(); + } + + private class ProgressSubscriber implements BodySubscriber { + private Flow.Subscription subscription; + private final CompletableFuture result = new CompletableFuture<>(); + + @Override + public void onSubscribe(Flow.Subscription subscription) { + this.subscription = subscription; + this.subscription.request(Long.MAX_VALUE); + } + + @Override + public void onNext(List items) { + for (ByteBuffer item : items) { + var len = item.remaining(); + progress.reportProgress(len, total == null ? Option.empty() : Some.apply(total)); + byte[] bytes = new byte[len]; + item.get(bytes); + destination.write(bytes, 0, bytes.length); + } + subscription.request(Long.MAX_VALUE); + } + + @Override + public void onError(Throwable throwable) { + try { + destination.close(); + } catch (IOException e) { + throwable.addSuppressed(e); + } + result.completeExceptionally(throwable); + } + + @Override + public void onComplete() { + try { + destination.close(); + } catch (IOException e) { + throw new IllegalStateException(e); + } + result.complete(destination.toString(encoding)); + } + + @Override + public CompletionStage getBody() { + return result; + } + } +} diff --git a/lib/scala/downloader/src/main/scala/org/enso/downloader/http/HTTPDownload.scala b/lib/scala/downloader/src/main/scala/org/enso/downloader/http/HTTPDownload.scala index f3d66384f9a9..a3a3af6330ed 100644 --- a/lib/scala/downloader/src/main/scala/org/enso/downloader/http/HTTPDownload.scala +++ b/lib/scala/downloader/src/main/scala/org/enso/downloader/http/HTTPDownload.scala @@ -12,7 +12,6 @@ import java.net.http.{HttpClient, HttpHeaders, HttpResponse} import java.nio.charset.{Charset, StandardCharsets} import java.nio.file.{Files, Path} import java.util.concurrent.{CompletableFuture, Executors} -import scala.annotation.unused import scala.util.{Failure, Success} /** Contains utility functions for fetching data using the HTTP(S) protocol. */ @@ -42,14 +41,15 @@ object HTTPDownload { */ def fetchString( request: HTTPRequest, - @unused sizeHint: Option[Long] = None, encoding: Charset = StandardCharsets.UTF_8 ): TaskProgress[APIResponse] = { logger.debug("Fetching [{}].", request.requestImpl.uri()) val taskProgress = new TaskProgressImplementation[APIResponse](ProgressUnit.Bytes) - val bodyHandler = HttpResponse.BodyHandlers.ofString(encoding) + val total: java.lang.Long = if (sizeHint.isDefined) sizeHint.get else null + val bodyHandler = + StringProgressBodyHandler.of(taskProgress, total, encoding) asyncDownload(request, bodyHandler) .thenAccept(res => { if (res.statusCode() == 404) { @@ -135,7 +135,6 @@ object HTTPDownload { def download( request: HTTPRequest, destination: Path, - @unused sizeHint: Option[Long] = None ): TaskProgress[Path] = { logger.debug( @@ -143,8 +142,10 @@ object HTTPDownload { request.requestImpl.uri(), destination ) - val taskProgress = new TaskProgressImplementation[Path](ProgressUnit.Bytes) - val bodyHandler = HttpResponse.BodyHandlers.ofFile(destination) + val taskProgress = new TaskProgressImplementation[Path](ProgressUnit.Bytes) + val total: java.lang.Long = if (sizeHint.isDefined) sizeHint.get else null + val bodyHandler = + PathProgressBodyHandler.of(destination, taskProgress, total) asyncDownload(request, bodyHandler) .thenAccept(res => { if (res.statusCode() == 404) { diff --git a/lib/scala/downloader/src/test/java/org/enso/downloader/http/HttpDownloaderTest.java b/lib/scala/downloader/src/test/java/org/enso/downloader/http/HttpDownloaderTest.java index 9eeb85c5340f..8db53023614f 100644 --- a/lib/scala/downloader/src/test/java/org/enso/downloader/http/HttpDownloaderTest.java +++ b/lib/scala/downloader/src/test/java/org/enso/downloader/http/HttpDownloaderTest.java @@ -6,6 +6,7 @@ import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.greaterThan; import static org.hamcrest.Matchers.lessThan; +import static org.hamcrest.Matchers.notNullValue; import static org.junit.Assert.assertTrue; import com.sun.net.httpserver.HttpExchange; @@ -111,7 +112,10 @@ public void progressUpdate(long done, Option total) { assertThat(total.get(), instanceOf(Long.class)); long reportedTotal = (Long) total.get(); assertThat(reportedTotal, is(BigFileHandler.BIG_FILE_SIZE)); - assertThat("Should send and report just chunk, not the whole file", done, lessThan(reportedTotal)); + assertThat( + "Should send and report just chunk, not the whole file", + done, + lessThan(reportedTotal)); } @Override @@ -125,10 +129,41 @@ public void done(Try result) { var resp = task.force(); assertThat(resp.toFile().exists(), is(true)); assertThat("Done was called exactly once", doneCalls[0], is(1)); - assertThat("Progress reported was called at least once", progressUpdateCalls[0], greaterThan(0)); + assertThat( + "Progress reported was called at least once", progressUpdateCalls[0], greaterThan(0)); Files.deleteIfExists(dest); } + @Test + public void fetchStringWithProgress() throws URISyntaxException { + var uri = new URI(TEXTS_FOO_URI); + var task = HTTPDownload.fetchString(uri); + final int[] progressUpdateCalls = {0}; + final int[] doneCalls = {0}; + var progressListener = + new ProgressListener() { + @Override + public void progressUpdate(long done, Option total) { + progressUpdateCalls[0]++; + assertThat(total.isDefined(), is(true)); + assertThat(total.get(), instanceOf(Long.class)); + long reportedTotal = (Long) total.get(); + assertThat(reportedTotal, greaterThan(0L)); + } + + @Override + public void done(Try result) { + doneCalls[0]++; + assertTrue(result.isSuccess()); + assertThat(result.get(), notNullValue()); + assertThat(result.get().content(), containsString("Hello")); + } + }; + task.addProgressListener(progressListener); + var resp = task.force(); + assertThat(resp.content(), containsString("Hello")); + } + private static class TextHandler extends SimpleHttpHandler { @Override protected void doHandle(HttpExchange exchange) throws IOException { @@ -153,8 +188,8 @@ protected void doHandle(HttpExchange exchange) throws IOException { } private static class BigFileHandler extends SimpleHttpHandler { - private static final int BIG_FILE_SIZE = 10 * 1024; - private static final byte[] BIG_FILE_BYTES = new byte[BIG_FILE_SIZE]; + private static final long BIG_FILE_SIZE = 10 * 1024; + private static final byte[] BIG_FILE_BYTES = new byte[Math.toIntExact(BIG_FILE_SIZE)]; private static final int CHUNK_SIZE = 1024; static { @@ -165,13 +200,14 @@ private static class BigFileHandler extends SimpleHttpHandler { @Override protected void doHandle(HttpExchange exchange) throws IOException { if (exchange.getRequestURI().toString().equals("/files/big.tgz")) { - int chunks = BIG_FILE_SIZE / CHUNK_SIZE; - exchange.getResponseHeaders().set("Content-Length", Integer.toString(BIG_FILE_SIZE)); + long chunks = BIG_FILE_SIZE / CHUNK_SIZE; + exchange.getResponseHeaders().set("Content-Length", Long.toString(BIG_FILE_SIZE)); exchange.getResponseHeaders().set("Content-Type", "application/x-gzip"); - exchange.sendResponseHeaders(200, BIG_FILE_SIZE); + // Set responseLength to 0 to indicate that the response length is unknown + // and force chunking the response. + exchange.sendResponseHeaders(200, 0); try (var os = exchange.getResponseBody()) { for (int i = 0; i < chunks; i++) { - System.out.println("Writing " + i + "-th chunk"); os.write(BIG_FILE_BYTES, i * CHUNK_SIZE, CHUNK_SIZE); os.flush(); } From a681dc2ff2ca53f9093db600b61494e2100d0407 Mon Sep 17 00:00:00 2001 From: Pavel Marek Date: Tue, 13 Feb 2024 14:28:09 +0100 Subject: [PATCH 13/31] Add optional logging to simple-library-server tool --- tools/simple-library-server/main.js | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/tools/simple-library-server/main.js b/tools/simple-library-server/main.js index e31a6f31e44c..9a81f401be67 100755 --- a/tools/simple-library-server/main.js +++ b/tools/simple-library-server/main.js @@ -10,6 +10,8 @@ const compression = require('compression') const yargs = require('yargs') const semverValid = require('semver/functions/valid') +const LOG_REQUESTS = false + const argv = yargs .usage( '$0', @@ -38,6 +40,16 @@ const argv = yargs const libraryRoot = path.join(argv.root, 'libraries') const app = express() +if (LOG_REQUESTS) { + app.use((req, res, next) => { + console.log(`Received [${req.method}] ${req.originalUrl}`) + console.log(` Headers: ${JSON.stringify(req.headers)}`) + console.log(` Query: ${JSON.stringify(req.query)}`) + console.log(` Body: ${JSON.stringify(req.body)}`) + next() + }); +} + const tmpDir = path.join(os.tmpdir(), 'enso-library-repo-uploads') const upload = multer({ dest: tmpDir }) app.use(compression({ filter: shouldCompress })) @@ -102,7 +114,9 @@ function shouldCompress(req, res) { async function handleUpload(req, res) { function fail(code, message) { res.status(code).json({ error: message }) - cleanFiles(req.files) + if (req.files !== undefined) { + cleanFiles(req.files) + } } if (token !== null) { From b845057a8da7c1c1d97fa15f9258b014631ebf2e Mon Sep 17 00:00:00 2001 From: Pavel Marek Date: Tue, 13 Feb 2024 14:28:30 +0100 Subject: [PATCH 14/31] Fix IOException in PathProgressBodyHandler --- .../org/enso/downloader/http/PathProgressBodyHandler.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/scala/downloader/src/main/java/org/enso/downloader/http/PathProgressBodyHandler.java b/lib/scala/downloader/src/main/java/org/enso/downloader/http/PathProgressBodyHandler.java index c5c7401dd84e..3ad248d2a20c 100644 --- a/lib/scala/downloader/src/main/java/org/enso/downloader/http/PathProgressBodyHandler.java +++ b/lib/scala/downloader/src/main/java/org/enso/downloader/http/PathProgressBodyHandler.java @@ -8,6 +8,7 @@ import java.nio.channels.WritableByteChannel; import java.nio.file.Files; import java.nio.file.Path; +import java.nio.file.StandardOpenOption; import java.util.List; import java.util.concurrent.CompletableFuture; import java.util.concurrent.CompletionStage; @@ -49,7 +50,7 @@ public BodySubscriber apply(ResponseInfo responseInfo) { } WritableByteChannel destChannel; try { - destChannel = Files.newByteChannel(destination); + destChannel = Files.newByteChannel(destination, StandardOpenOption.CREATE, StandardOpenOption.WRITE); } catch (IOException e) { throw new IllegalStateException(e); } @@ -59,6 +60,7 @@ public BodySubscriber apply(ResponseInfo responseInfo) { private class ProgressSubscriber implements BodySubscriber { private Flow.Subscription subscription; private final WritableByteChannel destChannel; + private final CompletableFuture result = new CompletableFuture<>(); ProgressSubscriber(WritableByteChannel destChannel) { this.destChannel = destChannel; @@ -92,6 +94,7 @@ public void onError(Throwable throwable) { } catch (IOException e) { throwable.addSuppressed(e); } + result.completeExceptionally(throwable); } @Override @@ -101,6 +104,7 @@ public void onComplete() { } catch (IOException e) { throw new IllegalStateException(e); } + result.complete(destination); } @Override From 3e6f3a4273ca74c02622655a3cfd375946bef12e Mon Sep 17 00:00:00 2001 From: Pavel Marek Date: Tue, 13 Feb 2024 14:28:44 +0100 Subject: [PATCH 15/31] Fix URIBuilder --- .../main/scala/org/enso/downloader/http/URIBuilder.scala | 8 ++------ .../scala/org/enso/downloader/http/URIBuilderSpec.scala | 6 ++++++ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/lib/scala/downloader/src/main/scala/org/enso/downloader/http/URIBuilder.scala b/lib/scala/downloader/src/main/scala/org/enso/downloader/http/URIBuilder.scala index 2da86484b63c..fccdf73efd66 100644 --- a/lib/scala/downloader/src/main/scala/org/enso/downloader/http/URIBuilder.scala +++ b/lib/scala/downloader/src/main/scala/org/enso/downloader/http/URIBuilder.scala @@ -28,13 +28,9 @@ case class URIBuilder private (uri: URI) { val scheme = uri.getScheme val authority = uri.getAuthority val path = uri.getPath - val query = uri.getQuery + val query = if (uri.getQuery == null) "" else uri.getQuery + "&" val fragment = uri.getFragment - val newQuery = - if (query == null) null - else { - query + "&" + key + "=" + value - } + val newQuery = query + key + "=" + value val newUri = new URI(scheme, authority, path, newQuery, fragment) copy(newUri) } diff --git a/lib/scala/downloader/src/test/scala/org/enso/downloader/http/URIBuilderSpec.scala b/lib/scala/downloader/src/test/scala/org/enso/downloader/http/URIBuilderSpec.scala index 3c162bacf9ac..49b7c3a2d599 100644 --- a/lib/scala/downloader/src/test/scala/org/enso/downloader/http/URIBuilderSpec.scala +++ b/lib/scala/downloader/src/test/scala/org/enso/downloader/http/URIBuilderSpec.scala @@ -10,6 +10,12 @@ class URIBuilderSpec extends AnyWordSpec with Matchers { val uri = bldr.addPathSegment("foo").addPathSegment("bar").build() uri.toString mustEqual "http://google.com/foo/bar" } + + "add queries" in { + val bldr = URIBuilder.fromUri("http://google.com") + val uri = bldr.addQuery("foo", "bar").addQuery("baz", "qux").build() + uri.toString mustEqual "http://google.com?foo=bar&baz=qux" + } } } From b9cdeea4a01a39400ceb400e9d671105ea29a4b8 Mon Sep 17 00:00:00 2001 From: Pavel Marek Date: Tue, 13 Feb 2024 14:29:37 +0100 Subject: [PATCH 16/31] Simplify posting files --- ....java => FilesMultipartBodyPublisher.java} | 37 ++++++------------- .../downloader/http/HTTPRequestBuilder.scala | 8 +++- .../enso/libraryupload/LibraryUploader.scala | 3 +- 3 files changed, 19 insertions(+), 29 deletions(-) rename lib/scala/downloader/src/main/java/org/enso/downloader/http/{MultipartBodyPublisher.java => FilesMultipartBodyPublisher.java} (51%) diff --git a/lib/scala/downloader/src/main/java/org/enso/downloader/http/MultipartBodyPublisher.java b/lib/scala/downloader/src/main/java/org/enso/downloader/http/FilesMultipartBodyPublisher.java similarity index 51% rename from lib/scala/downloader/src/main/java/org/enso/downloader/http/MultipartBodyPublisher.java rename to lib/scala/downloader/src/main/java/org/enso/downloader/http/FilesMultipartBodyPublisher.java index 895ec5e8270e..2f90c41609e8 100644 --- a/lib/scala/downloader/src/main/java/org/enso/downloader/http/MultipartBodyPublisher.java +++ b/lib/scala/downloader/src/main/java/org/enso/downloader/http/FilesMultipartBodyPublisher.java @@ -1,66 +1,53 @@ package org.enso.downloader.http; import java.io.IOException; -import java.math.BigInteger; import java.net.http.HttpRequest; import java.nio.charset.StandardCharsets; import java.nio.file.Files; import java.nio.file.Path; import java.util.ArrayList; +import java.util.Collection; import java.util.List; import java.util.Map; -import java.util.Random; /** * This utility class adds support for {@code multipart/form-data} content-type as there is no such * support in {@code java.net.http} JDK. * - *

Copied from SO. + *

Inspired by SO. */ -public class MultipartBodyPublisher { - private static final String BOUNDARY = new BigInteger(256, new Random()).toString(); - - public static HttpRequest.BodyPublisher ofMimeMultipartData(Map data) +public class FilesMultipartBodyPublisher { + public static HttpRequest.BodyPublisher ofMimeMultipartData(Collection files, String boundary) throws IOException { // Result request body List byteArrays = new ArrayList<>(); // Separator with boundary byte[] separator = - ("--" + BOUNDARY + "\r\nContent-Disposition: form-data; name=") + ("--" + boundary + "\r\nContent-Disposition: form-data; name=\"files\";") .getBytes(StandardCharsets.UTF_8); - for (Map.Entry entry : data.entrySet()) { - + for (Path path : files) { // Opening boundary byteArrays.add(separator); // If value is type of Path (file) append content type with file name and file binaries, // otherwise simply append key=value - if (entry.getValue() instanceof Path path) { - String mimeType = Files.probeContentType(path); - byteArrays.add( - ("\"" - + entry.getKey() - + "\"; filename=\"" + String mimeType = Files.probeContentType(path); + byteArrays.add( + (" filename=\"" + path.getFileName() + "\"\r\nContent-Type: " + mimeType + "\r\n\r\n") .getBytes(StandardCharsets.UTF_8)); - byteArrays.add(Files.readAllBytes(path)); - byteArrays.add("\r\n".getBytes(StandardCharsets.UTF_8)); - } else { - byteArrays.add( - ("\"" + entry.getKey() + "\"\r\n\r\n" + entry.getValue() + "\r\n") - .getBytes(StandardCharsets.UTF_8)); - } + byteArrays.add(Files.readAllBytes(path)); + byteArrays.add("\r\n".getBytes(StandardCharsets.UTF_8)); } // Closing boundary - byteArrays.add(("--" + BOUNDARY + "--").getBytes(StandardCharsets.UTF_8)); + byteArrays.add(("--" + boundary + "--").getBytes(StandardCharsets.UTF_8)); - // Serializing as byte array return HttpRequest.BodyPublishers.ofByteArrays(byteArrays); } } diff --git a/lib/scala/downloader/src/main/scala/org/enso/downloader/http/HTTPRequestBuilder.scala b/lib/scala/downloader/src/main/scala/org/enso/downloader/http/HTTPRequestBuilder.scala index c4ce0c6db670..2100b2a37368 100644 --- a/lib/scala/downloader/src/main/scala/org/enso/downloader/http/HTTPRequestBuilder.scala +++ b/lib/scala/downloader/src/main/scala/org/enso/downloader/http/HTTPRequestBuilder.scala @@ -2,6 +2,8 @@ package org.enso.downloader.http import java.net.URI import java.net.http.HttpRequest +import java.nio.file.Path +import java.util.{UUID} import scala.jdk.CollectionConverters._ /** A simple immutable builder for HTTP requests. @@ -32,8 +34,10 @@ case class HTTPRequestBuilder private ( * @param data * @return */ - def postMultipartData(data: Map[Object, Object]): HTTPRequestBuilder = { - val bodyPublisher = MultipartBodyPublisher.ofMimeMultipartData(data.asJava) + def postFiles(files: Seq[Path]): HTTPRequestBuilder = { + val boundary = UUID.randomUUID().toString.replace("-", "") + val bodyPublisher = FilesMultipartBodyPublisher.ofMimeMultipartData(files.asJava, boundary) + internalBuilder.setHeader("Content-Type", "multipart/form-data; boundary=" + boundary) copy( internalBuilder = internalBuilder.POST(bodyPublisher) ) diff --git a/lib/scala/library-manager/src/main/scala/org/enso/libraryupload/LibraryUploader.scala b/lib/scala/library-manager/src/main/scala/org/enso/libraryupload/LibraryUploader.scala index 2e0964eea61b..c7b3ccbaf586 100644 --- a/lib/scala/library-manager/src/main/scala/org/enso/libraryupload/LibraryUploader.scala +++ b/lib/scala/library-manager/src/main/scala/org/enso/libraryupload/LibraryUploader.scala @@ -178,10 +178,9 @@ class LibraryUploader(dependencyExtractor: DependencyExtractor[File]) { authToken: auth.Token, files: Seq[Path] ): TaskProgress[Unit] = { - val data: Map[Object, Object] = files.map { path => ("file" -> path) }.toMap val request = authToken .alterRequest(HTTPRequestBuilder.fromURI(uri)) - .postMultipartData(data) + .postFiles(files) .build() // TODO [RW] upload progress val responseFut = HTTPDownload.fetchString(request) From 0bab2bb687131531510dbbcb8a984600ef71a745 Mon Sep 17 00:00:00 2001 From: Pavel Marek Date: Tue, 13 Feb 2024 14:30:58 +0100 Subject: [PATCH 17/31] fmt --- .../http/FilesMultipartBodyPublisher.java | 13 ++++--------- .../downloader/http/PathProgressBodyHandler.java | 3 ++- .../enso/downloader/http/HTTPRequestBuilder.scala | 8 ++++++-- .../scala/org/enso/downloader/http/URIBuilder.scala | 4 ++-- .../main/java/org/enso/shttp/HybridHTTPServer.java | 9 +++++++-- 5 files changed, 21 insertions(+), 16 deletions(-) diff --git a/lib/scala/downloader/src/main/java/org/enso/downloader/http/FilesMultipartBodyPublisher.java b/lib/scala/downloader/src/main/java/org/enso/downloader/http/FilesMultipartBodyPublisher.java index 2f90c41609e8..0f6c96c5a101 100644 --- a/lib/scala/downloader/src/main/java/org/enso/downloader/http/FilesMultipartBodyPublisher.java +++ b/lib/scala/downloader/src/main/java/org/enso/downloader/http/FilesMultipartBodyPublisher.java @@ -8,7 +8,6 @@ import java.util.ArrayList; import java.util.Collection; import java.util.List; -import java.util.Map; /** * This utility class adds support for {@code multipart/form-data} content-type as there is no such @@ -17,8 +16,8 @@ *

Inspired by SO. */ public class FilesMultipartBodyPublisher { - public static HttpRequest.BodyPublisher ofMimeMultipartData(Collection files, String boundary) - throws IOException { + public static HttpRequest.BodyPublisher ofMimeMultipartData( + Collection files, String boundary) throws IOException { // Result request body List byteArrays = new ArrayList<>(); @@ -35,12 +34,8 @@ public static HttpRequest.BodyPublisher ofMimeMultipartData(Collection fil // otherwise simply append key=value String mimeType = Files.probeContentType(path); byteArrays.add( - (" filename=\"" - + path.getFileName() - + "\"\r\nContent-Type: " - + mimeType - + "\r\n\r\n") - .getBytes(StandardCharsets.UTF_8)); + (" filename=\"" + path.getFileName() + "\"\r\nContent-Type: " + mimeType + "\r\n\r\n") + .getBytes(StandardCharsets.UTF_8)); byteArrays.add(Files.readAllBytes(path)); byteArrays.add("\r\n".getBytes(StandardCharsets.UTF_8)); } diff --git a/lib/scala/downloader/src/main/java/org/enso/downloader/http/PathProgressBodyHandler.java b/lib/scala/downloader/src/main/java/org/enso/downloader/http/PathProgressBodyHandler.java index 3ad248d2a20c..02f94048e40c 100644 --- a/lib/scala/downloader/src/main/java/org/enso/downloader/http/PathProgressBodyHandler.java +++ b/lib/scala/downloader/src/main/java/org/enso/downloader/http/PathProgressBodyHandler.java @@ -50,7 +50,8 @@ public BodySubscriber apply(ResponseInfo responseInfo) { } WritableByteChannel destChannel; try { - destChannel = Files.newByteChannel(destination, StandardOpenOption.CREATE, StandardOpenOption.WRITE); + destChannel = + Files.newByteChannel(destination, StandardOpenOption.CREATE, StandardOpenOption.WRITE); } catch (IOException e) { throw new IllegalStateException(e); } diff --git a/lib/scala/downloader/src/main/scala/org/enso/downloader/http/HTTPRequestBuilder.scala b/lib/scala/downloader/src/main/scala/org/enso/downloader/http/HTTPRequestBuilder.scala index 2100b2a37368..55ad6398b5bf 100644 --- a/lib/scala/downloader/src/main/scala/org/enso/downloader/http/HTTPRequestBuilder.scala +++ b/lib/scala/downloader/src/main/scala/org/enso/downloader/http/HTTPRequestBuilder.scala @@ -36,8 +36,12 @@ case class HTTPRequestBuilder private ( */ def postFiles(files: Seq[Path]): HTTPRequestBuilder = { val boundary = UUID.randomUUID().toString.replace("-", "") - val bodyPublisher = FilesMultipartBodyPublisher.ofMimeMultipartData(files.asJava, boundary) - internalBuilder.setHeader("Content-Type", "multipart/form-data; boundary=" + boundary) + val bodyPublisher = + FilesMultipartBodyPublisher.ofMimeMultipartData(files.asJava, boundary) + internalBuilder.setHeader( + "Content-Type", + "multipart/form-data; boundary=" + boundary + ) copy( internalBuilder = internalBuilder.POST(bodyPublisher) ) diff --git a/lib/scala/downloader/src/main/scala/org/enso/downloader/http/URIBuilder.scala b/lib/scala/downloader/src/main/scala/org/enso/downloader/http/URIBuilder.scala index fccdf73efd66..7ac3f159ec89 100644 --- a/lib/scala/downloader/src/main/scala/org/enso/downloader/http/URIBuilder.scala +++ b/lib/scala/downloader/src/main/scala/org/enso/downloader/http/URIBuilder.scala @@ -30,8 +30,8 @@ case class URIBuilder private (uri: URI) { val path = uri.getPath val query = if (uri.getQuery == null) "" else uri.getQuery + "&" val fragment = uri.getFragment - val newQuery = query + key + "=" + value - val newUri = new URI(scheme, authority, path, newQuery, fragment) + val newQuery = query + key + "=" + value + val newUri = new URI(scheme, authority, path, newQuery, fragment) copy(newUri) } diff --git a/tools/http-test-helper/src/main/java/org/enso/shttp/HybridHTTPServer.java b/tools/http-test-helper/src/main/java/org/enso/shttp/HybridHTTPServer.java index a0db6938d115..6763b7209146 100644 --- a/tools/http-test-helper/src/main/java/org/enso/shttp/HybridHTTPServer.java +++ b/tools/http-test-helper/src/main/java/org/enso/shttp/HybridHTTPServer.java @@ -19,8 +19,13 @@ public class HybridHTTPServer { private final Path keyStorePath; private volatile boolean isStarted = false; - HybridHTTPServer(String hostname, int port, int sslPort, Path keyStorePath, - Executor executor, boolean withSSLServer) + HybridHTTPServer( + String hostname, + int port, + int sslPort, + Path keyStorePath, + Executor executor, + boolean withSSLServer) throws IOException { this.keyStorePath = keyStorePath; InetSocketAddress address = new InetSocketAddress(hostname, port); From 62c1414ddfba61bfeb8fbf883ffbcc6f3a20f016 Mon Sep 17 00:00:00 2001 From: Pavel Marek Date: Tue, 13 Feb 2024 14:39:36 +0100 Subject: [PATCH 18/31] remove unused import --- .../runner/src/main/scala/org/enso/runner/ProjectUploader.scala | 1 - 1 file changed, 1 deletion(-) diff --git a/engine/runner/src/main/scala/org/enso/runner/ProjectUploader.scala b/engine/runner/src/main/scala/org/enso/runner/ProjectUploader.scala index 11632bfdbac1..28ad2a67091c 100644 --- a/engine/runner/src/main/scala/org/enso/runner/ProjectUploader.scala +++ b/engine/runner/src/main/scala/org/enso/runner/ProjectUploader.scala @@ -33,7 +33,6 @@ object ProjectUploader { showProgress: Boolean, logLevel: Level ): Unit = { - import scala.concurrent.ExecutionContext.Implicits.global val progressReporter = new ProgressReporter { override def trackProgress( message: String, From ec4443766cceb56ad3122194b0747ccf88e670f2 Mon Sep 17 00:00:00 2001 From: Pavel Marek Date: Tue, 13 Feb 2024 14:44:10 +0100 Subject: [PATCH 19/31] remove akka from downloader --- build.sbt | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/build.sbt b/build.sbt index 1f1a41f6ee70..3e81579d43f9 100644 --- a/build.sbt +++ b/build.sbt @@ -2493,11 +2493,7 @@ lazy val downloader = (project in file("lib/scala/downloader")) "org.scalatest" %% "scalatest" % scalatestVersion % Test, "junit" % "junit" % junitVersion % Test, "com.github.sbt" % "junit-interface" % junitIfVersion % Test, - "org.hamcrest" % "hamcrest-all" % hamcrestVersion % Test, - akkaActor, - akkaStream, - akkaHttp, - akkaSLF4J + "org.hamcrest" % "hamcrest-all" % hamcrestVersion % Test ) ) .dependsOn(cli) From 5eaef2ed502e13cdeb28faad23c6ec7ca623c248 Mon Sep 17 00:00:00 2001 From: Pavel Marek Date: Tue, 13 Feb 2024 15:56:46 +0100 Subject: [PATCH 20/31] remove akka from logging-service. Seems like some leftover. --- build.sbt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/build.sbt b/build.sbt index 3e81579d43f9..8ecb1f19c072 100644 --- a/build.sbt +++ b/build.sbt @@ -734,8 +734,7 @@ lazy val `logging-service` = project libraryDependencies ++= Seq( "org.slf4j" % "slf4j-api" % slf4jVersion, "com.typesafe" % "config" % typesafeConfigVersion, - "org.scalatest" %% "scalatest" % scalatestVersion % Test, - akkaHttp + "org.scalatest" %% "scalatest" % scalatestVersion % Test ) ) .dependsOn(`logging-utils`) From 8c6399532ee344289b971a1a4ccdf85b120a8d29 Mon Sep 17 00:00:00 2001 From: Pavel Marek Date: Tue, 13 Feb 2024 16:37:22 +0100 Subject: [PATCH 21/31] Split connected-lock-manager into two projects. One of these projects depends on akka. --- build.sbt | 20 ++++++++++++++++++- .../server/LockManagerService.scala | 0 2 files changed, 19 insertions(+), 1 deletion(-) rename lib/scala/{connected-lock-manager => connected-lock-manager-server}/src/main/scala/org/enso/lockmanager/server/LockManagerService.scala (100%) diff --git a/build.sbt b/build.sbt index 8ecb1f19c072..56875972f53f 100644 --- a/build.sbt +++ b/build.sbt @@ -309,6 +309,7 @@ lazy val enso = (project in file(".")) `library-manager`, `library-manager-test`, `connected-lock-manager`, + `connected-lock-manager-server`, syntax, testkit, `common-polyglot-core-utils`, @@ -1382,7 +1383,7 @@ lazy val `language-server` = (project in file("engine/language-server")) .dependsOn(`json-rpc-server`) .dependsOn(`task-progress-notifications`) .dependsOn(`library-manager`) - .dependsOn(`connected-lock-manager`) + .dependsOn(`connected-lock-manager-server`) .dependsOn(`edition-updater`) .dependsOn(`logging-utils-akka`) .dependsOn(`logging-service`) @@ -1799,6 +1800,7 @@ lazy val `runtime-integration-tests` = .dependsOn(`runtime-test-instruments`) .dependsOn(`logging-service-logback` % "test->test") .dependsOn(testkit % Test) + .dependsOn(`connected-lock-manager-server`) /** A project that holds only benchmarks for `runtime`. Unlike `runtime-integration-tests`, its execution requires * the whole `runtime-fat-jar` assembly, as we want to be as close to the enso distribution as possible. @@ -2561,6 +2563,22 @@ lazy val `library-manager-test` = project lazy val `connected-lock-manager` = project .in(file("lib/scala/connected-lock-manager")) .configs(Test) + .settings( + frgaalJavaCompilerSetting, + libraryDependencies ++= Seq( + "com.typesafe.scala-logging" %% "scala-logging" % scalaLoggingVersion, + "org.scalatest" %% "scalatest" % scalatestVersion % Test + ) + ) + .dependsOn(`distribution-manager`) + .dependsOn(`polyglot-api`) + +/** + * Unlike `connected-lock-manager` project, has a dependency on akka. + */ +lazy val `connected-lock-manager-server` = project + .in(file("lib/scala/connected-lock-manager-server")) + .configs(Test) .settings( frgaalJavaCompilerSetting, libraryDependencies ++= Seq( diff --git a/lib/scala/connected-lock-manager/src/main/scala/org/enso/lockmanager/server/LockManagerService.scala b/lib/scala/connected-lock-manager-server/src/main/scala/org/enso/lockmanager/server/LockManagerService.scala similarity index 100% rename from lib/scala/connected-lock-manager/src/main/scala/org/enso/lockmanager/server/LockManagerService.scala rename to lib/scala/connected-lock-manager-server/src/main/scala/org/enso/lockmanager/server/LockManagerService.scala From 553a7852ee026be3af8fe2b462e13adc8464a2ef Mon Sep 17 00:00:00 2001 From: Pavel Marek Date: Tue, 13 Feb 2024 16:44:36 +0100 Subject: [PATCH 22/31] Add no akka dependencies test to runtime. --- .../org/enso/runtime/test/DependenciesTest.java | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 engine/runtime/src/test/java/org/enso/runtime/test/DependenciesTest.java diff --git a/engine/runtime/src/test/java/org/enso/runtime/test/DependenciesTest.java b/engine/runtime/src/test/java/org/enso/runtime/test/DependenciesTest.java new file mode 100644 index 000000000000..ed927ee4f1a3 --- /dev/null +++ b/engine/runtime/src/test/java/org/enso/runtime/test/DependenciesTest.java @@ -0,0 +1,17 @@ +package org.enso.runtime.test; + +import static org.junit.Assert.fail; + +import org.junit.Test; + +public class DependenciesTest { + @Test + public void noAkkaDependencies() { + try { + Class.forName("akka.actor.ActorSystem$"); + fail("akka.actor.ActorSystem should not be on the classpath"); + } catch (ClassNotFoundException e) { + // expected + } + } +} From 212070daaeb8664bfcdc2e1de26edcb7990269b6 Mon Sep 17 00:00:00 2001 From: Pavel Marek Date: Tue, 13 Feb 2024 16:45:35 +0100 Subject: [PATCH 23/31] fmt --- build.sbt | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/build.sbt b/build.sbt index 56875972f53f..ee7d4b7b4778 100644 --- a/build.sbt +++ b/build.sbt @@ -2567,15 +2567,14 @@ lazy val `connected-lock-manager` = project frgaalJavaCompilerSetting, libraryDependencies ++= Seq( "com.typesafe.scala-logging" %% "scala-logging" % scalaLoggingVersion, - "org.scalatest" %% "scalatest" % scalatestVersion % Test + "org.scalatest" %% "scalatest" % scalatestVersion % Test ) ) .dependsOn(`distribution-manager`) .dependsOn(`polyglot-api`) -/** - * Unlike `connected-lock-manager` project, has a dependency on akka. - */ +/** Unlike `connected-lock-manager` project, has a dependency on akka. + */ lazy val `connected-lock-manager-server` = project .in(file("lib/scala/connected-lock-manager-server")) .configs(Test) From f3f3606f9fac0b310932386101fe7c154e3d2a58 Mon Sep 17 00:00:00 2001 From: Pavel Marek Date: Tue, 13 Feb 2024 18:15:35 +0100 Subject: [PATCH 24/31] Update license review --- distribution/engine/THIRD-PARTY/NOTICE | 30 +- .../LICENSE.txt | 202 +++++++++++++ .../NOTICE.txt | 9 + .../commons-codec.commons-codec-1.9/NOTICES | 1 + .../LICENSE.txt | 202 +++++++++++++ .../NOTICE.txt | 6 + .../NOTICES | 1 + distribution/engine/THIRD-PARTY/licenses/CC0 | 121 -------- .../LICENSE.txt | 202 +++++++++++++ .../NOTICE.txt | 5 + .../NOTICES | 1 + .../LICENSE | 12 +- .../NOTICE | 8 + .../NOTICES | 1 + .../LICENSE | 266 ++++++++++++++++++ .../NOTICE | 10 + .../NOTICES | 10 - distribution/launcher/THIRD-PARTY/NOTICE | 61 ++-- .../LICENSE | 12 +- .../NOTICE | 21 ++ .../LICENSE | 202 +++++++++++++ .../NOTICES | 3 + .../jackson-core-LICENSE | 202 +++++++++++++ .../jackson-core-NOTICE | 32 +++ .../LICENSE | 202 +++++++++++++ .../NOTICES | 3 + .../COPYING.protobuf | 33 --- .../NOTICES | 1 - .../NOTICES | 1 - .../LICENSE.txt | 202 +++++++++++++ .../NOTICE.txt | 9 + .../commons-codec.commons-codec-1.9/NOTICES | 1 + .../LICENSE.txt | 202 +++++++++++++ .../NOTICE.txt | 6 + .../NOTICES | 1 + .../launcher/THIRD-PARTY/licenses/CC0 | 121 -------- .../LICENSE.txt | 202 +++++++++++++ .../NOTICES | 1 + .../LICENSE.txt | 202 +++++++++++++ .../NOTICE.txt | 5 + .../NOTICES | 1 + .../LICENSE | 202 +++++++++++++ .../NOTICE | 8 + .../NOTICES | 1 + .../LICENSE | 266 ++++++++++++++++++ .../NOTICE | 10 + .../NOTICES | 1 + .../NOTICES | 10 - .../project-manager/THIRD-PARTY/NOTICE | 25 ++ .../LICENSE.txt | 202 +++++++++++++ .../NOTICE.txt | 9 + .../commons-codec.commons-codec-1.9/NOTICES | 1 + .../LICENSE.txt | 202 +++++++++++++ .../NOTICE.txt | 6 + .../NOTICES | 1 + .../LICENSE.txt | 202 +++++++++++++ .../NOTICE.txt | 5 + .../NOTICES | 1 + .../LICENSE | 202 +++++++++++++ .../NOTICE | 8 + .../NOTICES | 1 + .../LICENSE | 266 ++++++++++++++++++ .../NOTICE | 10 + .../NOTICES | 1 + .../copyright-keep | 1 + .../custom-license | 1 + .../files-keep | 2 + .../copyright-keep | 1 + .../custom-license | 1 + .../files-keep | 2 + .../copyright-ignore | 1 + .../copyright-keep | 1 + .../custom-license | 1 + .../files-keep | 2 + .../copyright-keep | 1 + .../custom-license | 0 .../files-keep | 2 + .../copyright-ignore | 1 + .../custom-license | 1 + .../files-keep | 2 + .../copyright-keep-context | 1 - tools/legal-review/engine/report-state | 4 +- .../custom-license | 1 + .../files-keep | 2 + .../copyright-keep | 2 + .../custom-license | 1 + .../files-keep | 3 + .../copyright-keep | 2 + .../custom-license | 1 + .../files-ignore | 1 + .../files-keep | 1 + .../files-add/COPYING.protobuf | 33 --- .../copyright-ignore | 8 - .../copyright-keep | 1 - .../copyright-keep | 1 - .../copyright-keep | 1 + .../custom-license | 1 + .../files-keep | 2 + .../copyright-keep | 1 + .../custom-license | 1 + .../files-keep | 2 + .../copyright-ignore | 1 + .../copyright-keep | 1 + .../custom-license | 1 + .../files-ignore | 1 + .../files-keep | 1 + .../copyright-ignore | 1 + .../copyright-keep | 1 + .../custom-license | 1 + .../files-keep | 2 + .../copyright-keep | 1 + .../custom-license | 1 + .../files-keep | 2 + .../copyright-keep | 1 + .../custom-license | 1 + .../files-keep | 2 + .../copyright-keep-context | 1 - tools/legal-review/launcher/report-state | 4 +- .../The_Apache_Software_License__Version_2.0 | 1 + .../copyright-keep | 1 + .../custom-license | 1 + .../files-keep | 2 + .../copyright-keep | 1 + .../custom-license | 1 + .../files-keep | 2 + .../copyright-ignore | 1 + .../copyright-keep | 1 + .../custom-license | 1 + .../files-keep | 2 + .../copyright-keep | 1 + .../custom-license | 1 + .../files-keep | 2 + .../copyright-keep | 1 + .../custom-license | 1 + .../files-keep | 2 + .../legal-review/project-manager/report-state | 4 +- 136 files changed, 4199 insertions(+), 393 deletions(-) create mode 100644 distribution/engine/THIRD-PARTY/commons-codec.commons-codec-1.9/LICENSE.txt create mode 100644 distribution/engine/THIRD-PARTY/commons-codec.commons-codec-1.9/NOTICE.txt create mode 100644 distribution/engine/THIRD-PARTY/commons-codec.commons-codec-1.9/NOTICES create mode 100644 distribution/engine/THIRD-PARTY/commons-logging.commons-logging-1.2/LICENSE.txt create mode 100644 distribution/engine/THIRD-PARTY/commons-logging.commons-logging-1.2/NOTICE.txt create mode 100644 distribution/engine/THIRD-PARTY/commons-logging.commons-logging-1.2/NOTICES delete mode 100644 distribution/engine/THIRD-PARTY/licenses/CC0 create mode 100644 distribution/engine/THIRD-PARTY/org.apache.commons.commons-text-1.10.0/LICENSE.txt create mode 100644 distribution/engine/THIRD-PARTY/org.apache.commons.commons-text-1.10.0/NOTICE.txt create mode 100644 distribution/engine/THIRD-PARTY/org.apache.commons.commons-text-1.10.0/NOTICES rename {tools/legal-review/launcher/com.typesafe.akka.akka-protobuf-v3_2.13-2.6.20/files-add => distribution/engine/THIRD-PARTY/org.apache.httpcomponents.httpclient-4.4.1}/LICENSE (97%) create mode 100644 distribution/engine/THIRD-PARTY/org.apache.httpcomponents.httpclient-4.4.1/NOTICE create mode 100644 distribution/engine/THIRD-PARTY/org.apache.httpcomponents.httpclient-4.4.1/NOTICES create mode 100644 distribution/engine/THIRD-PARTY/org.apache.httpcomponents.httpcore-4.4.1/LICENSE create mode 100644 distribution/engine/THIRD-PARTY/org.apache.httpcomponents.httpcore-4.4.1/NOTICE delete mode 100644 distribution/engine/THIRD-PARTY/org.reactivestreams.reactive-streams-1.0.3/NOTICES rename distribution/launcher/THIRD-PARTY/{com.typesafe.akka.akka-protobuf-v3_2.13-2.6.20 => com.fasterxml.jackson.core.jackson-annotations-2.15.2}/LICENSE (97%) create mode 100644 distribution/launcher/THIRD-PARTY/com.fasterxml.jackson.core.jackson-annotations-2.15.2/NOTICE create mode 100644 distribution/launcher/THIRD-PARTY/com.fasterxml.jackson.core.jackson-core-2.15.2/LICENSE create mode 100644 distribution/launcher/THIRD-PARTY/com.fasterxml.jackson.core.jackson-core-2.15.2/NOTICES create mode 100644 distribution/launcher/THIRD-PARTY/com.fasterxml.jackson.core.jackson-core-2.15.2/jackson-core-LICENSE create mode 100644 distribution/launcher/THIRD-PARTY/com.fasterxml.jackson.core.jackson-core-2.15.2/jackson-core-NOTICE create mode 100644 distribution/launcher/THIRD-PARTY/com.fasterxml.jackson.core.jackson-databind-2.15.2/LICENSE create mode 100644 distribution/launcher/THIRD-PARTY/com.fasterxml.jackson.core.jackson-databind-2.15.2/NOTICES delete mode 100644 distribution/launcher/THIRD-PARTY/com.typesafe.akka.akka-protobuf-v3_2.13-2.6.20/COPYING.protobuf delete mode 100644 distribution/launcher/THIRD-PARTY/com.typesafe.akka.akka-stream_2.13-2.6.20/NOTICES delete mode 100644 distribution/launcher/THIRD-PARTY/com.typesafe.ssl-config-core_2.13-0.4.3/NOTICES create mode 100644 distribution/launcher/THIRD-PARTY/commons-codec.commons-codec-1.9/LICENSE.txt create mode 100644 distribution/launcher/THIRD-PARTY/commons-codec.commons-codec-1.9/NOTICE.txt create mode 100644 distribution/launcher/THIRD-PARTY/commons-codec.commons-codec-1.9/NOTICES create mode 100644 distribution/launcher/THIRD-PARTY/commons-logging.commons-logging-1.2/LICENSE.txt create mode 100644 distribution/launcher/THIRD-PARTY/commons-logging.commons-logging-1.2/NOTICE.txt create mode 100644 distribution/launcher/THIRD-PARTY/commons-logging.commons-logging-1.2/NOTICES delete mode 100644 distribution/launcher/THIRD-PARTY/licenses/CC0 create mode 100644 distribution/launcher/THIRD-PARTY/org.apache.commons.commons-lang3-3.12.0/LICENSE.txt create mode 100644 distribution/launcher/THIRD-PARTY/org.apache.commons.commons-lang3-3.12.0/NOTICES create mode 100644 distribution/launcher/THIRD-PARTY/org.apache.commons.commons-text-1.10.0/LICENSE.txt create mode 100644 distribution/launcher/THIRD-PARTY/org.apache.commons.commons-text-1.10.0/NOTICE.txt create mode 100644 distribution/launcher/THIRD-PARTY/org.apache.commons.commons-text-1.10.0/NOTICES create mode 100644 distribution/launcher/THIRD-PARTY/org.apache.httpcomponents.httpclient-4.4.1/LICENSE create mode 100644 distribution/launcher/THIRD-PARTY/org.apache.httpcomponents.httpclient-4.4.1/NOTICE create mode 100644 distribution/launcher/THIRD-PARTY/org.apache.httpcomponents.httpclient-4.4.1/NOTICES create mode 100644 distribution/launcher/THIRD-PARTY/org.apache.httpcomponents.httpcore-4.4.1/LICENSE create mode 100644 distribution/launcher/THIRD-PARTY/org.apache.httpcomponents.httpcore-4.4.1/NOTICE create mode 100644 distribution/launcher/THIRD-PARTY/org.apache.httpcomponents.httpcore-4.4.1/NOTICES delete mode 100644 distribution/launcher/THIRD-PARTY/org.reactivestreams.reactive-streams-1.0.3/NOTICES create mode 100644 distribution/project-manager/THIRD-PARTY/commons-codec.commons-codec-1.9/LICENSE.txt create mode 100644 distribution/project-manager/THIRD-PARTY/commons-codec.commons-codec-1.9/NOTICE.txt create mode 100644 distribution/project-manager/THIRD-PARTY/commons-codec.commons-codec-1.9/NOTICES create mode 100644 distribution/project-manager/THIRD-PARTY/commons-logging.commons-logging-1.2/LICENSE.txt create mode 100644 distribution/project-manager/THIRD-PARTY/commons-logging.commons-logging-1.2/NOTICE.txt create mode 100644 distribution/project-manager/THIRD-PARTY/commons-logging.commons-logging-1.2/NOTICES create mode 100644 distribution/project-manager/THIRD-PARTY/org.apache.commons.commons-text-1.10.0/LICENSE.txt create mode 100644 distribution/project-manager/THIRD-PARTY/org.apache.commons.commons-text-1.10.0/NOTICE.txt create mode 100644 distribution/project-manager/THIRD-PARTY/org.apache.commons.commons-text-1.10.0/NOTICES create mode 100644 distribution/project-manager/THIRD-PARTY/org.apache.httpcomponents.httpclient-4.4.1/LICENSE create mode 100644 distribution/project-manager/THIRD-PARTY/org.apache.httpcomponents.httpclient-4.4.1/NOTICE create mode 100644 distribution/project-manager/THIRD-PARTY/org.apache.httpcomponents.httpclient-4.4.1/NOTICES create mode 100644 distribution/project-manager/THIRD-PARTY/org.apache.httpcomponents.httpcore-4.4.1/LICENSE create mode 100644 distribution/project-manager/THIRD-PARTY/org.apache.httpcomponents.httpcore-4.4.1/NOTICE create mode 100644 distribution/project-manager/THIRD-PARTY/org.apache.httpcomponents.httpcore-4.4.1/NOTICES create mode 100644 tools/legal-review/engine/commons-codec.commons-codec-1.9/copyright-keep create mode 100644 tools/legal-review/engine/commons-codec.commons-codec-1.9/custom-license create mode 100644 tools/legal-review/engine/commons-codec.commons-codec-1.9/files-keep create mode 100644 tools/legal-review/engine/commons-logging.commons-logging-1.2/copyright-keep create mode 100644 tools/legal-review/engine/commons-logging.commons-logging-1.2/custom-license create mode 100644 tools/legal-review/engine/commons-logging.commons-logging-1.2/files-keep create mode 100644 tools/legal-review/engine/org.apache.commons.commons-text-1.10.0/copyright-ignore create mode 100644 tools/legal-review/engine/org.apache.commons.commons-text-1.10.0/copyright-keep create mode 100644 tools/legal-review/engine/org.apache.commons.commons-text-1.10.0/custom-license create mode 100644 tools/legal-review/engine/org.apache.commons.commons-text-1.10.0/files-keep create mode 100644 tools/legal-review/engine/org.apache.httpcomponents.httpclient-4.4.1/copyright-keep rename tools/legal-review/{launcher/com.typesafe.akka.akka-protobuf-v3_2.13-2.6.20 => engine/org.apache.httpcomponents.httpclient-4.4.1}/custom-license (100%) create mode 100644 tools/legal-review/engine/org.apache.httpcomponents.httpclient-4.4.1/files-keep create mode 100644 tools/legal-review/engine/org.apache.httpcomponents.httpcore-4.4.1/copyright-ignore create mode 100644 tools/legal-review/engine/org.apache.httpcomponents.httpcore-4.4.1/custom-license create mode 100644 tools/legal-review/engine/org.apache.httpcomponents.httpcore-4.4.1/files-keep delete mode 100644 tools/legal-review/engine/org.reactivestreams.reactive-streams-1.0.3/copyright-keep-context create mode 100644 tools/legal-review/launcher/com.fasterxml.jackson.core.jackson-annotations-2.15.2/custom-license create mode 100644 tools/legal-review/launcher/com.fasterxml.jackson.core.jackson-annotations-2.15.2/files-keep create mode 100644 tools/legal-review/launcher/com.fasterxml.jackson.core.jackson-core-2.15.2/copyright-keep create mode 100644 tools/legal-review/launcher/com.fasterxml.jackson.core.jackson-core-2.15.2/custom-license create mode 100644 tools/legal-review/launcher/com.fasterxml.jackson.core.jackson-core-2.15.2/files-keep create mode 100644 tools/legal-review/launcher/com.fasterxml.jackson.core.jackson-databind-2.15.2/copyright-keep create mode 100644 tools/legal-review/launcher/com.fasterxml.jackson.core.jackson-databind-2.15.2/custom-license create mode 100644 tools/legal-review/launcher/com.fasterxml.jackson.core.jackson-databind-2.15.2/files-ignore create mode 100644 tools/legal-review/launcher/com.fasterxml.jackson.core.jackson-databind-2.15.2/files-keep delete mode 100644 tools/legal-review/launcher/com.typesafe.akka.akka-protobuf-v3_2.13-2.6.20/files-add/COPYING.protobuf delete mode 100644 tools/legal-review/launcher/com.typesafe.akka.akka-stream_2.13-2.6.20/copyright-ignore delete mode 100644 tools/legal-review/launcher/com.typesafe.akka.akka-stream_2.13-2.6.20/copyright-keep delete mode 100644 tools/legal-review/launcher/com.typesafe.ssl-config-core_2.13-0.4.3/copyright-keep create mode 100644 tools/legal-review/launcher/commons-codec.commons-codec-1.9/copyright-keep create mode 100644 tools/legal-review/launcher/commons-codec.commons-codec-1.9/custom-license create mode 100644 tools/legal-review/launcher/commons-codec.commons-codec-1.9/files-keep create mode 100644 tools/legal-review/launcher/commons-logging.commons-logging-1.2/copyright-keep create mode 100644 tools/legal-review/launcher/commons-logging.commons-logging-1.2/custom-license create mode 100644 tools/legal-review/launcher/commons-logging.commons-logging-1.2/files-keep create mode 100644 tools/legal-review/launcher/org.apache.commons.commons-lang3-3.12.0/copyright-ignore create mode 100644 tools/legal-review/launcher/org.apache.commons.commons-lang3-3.12.0/copyright-keep create mode 100644 tools/legal-review/launcher/org.apache.commons.commons-lang3-3.12.0/custom-license create mode 100644 tools/legal-review/launcher/org.apache.commons.commons-lang3-3.12.0/files-ignore create mode 100644 tools/legal-review/launcher/org.apache.commons.commons-lang3-3.12.0/files-keep create mode 100644 tools/legal-review/launcher/org.apache.commons.commons-text-1.10.0/copyright-ignore create mode 100644 tools/legal-review/launcher/org.apache.commons.commons-text-1.10.0/copyright-keep create mode 100644 tools/legal-review/launcher/org.apache.commons.commons-text-1.10.0/custom-license create mode 100644 tools/legal-review/launcher/org.apache.commons.commons-text-1.10.0/files-keep create mode 100644 tools/legal-review/launcher/org.apache.httpcomponents.httpclient-4.4.1/copyright-keep create mode 100644 tools/legal-review/launcher/org.apache.httpcomponents.httpclient-4.4.1/custom-license create mode 100644 tools/legal-review/launcher/org.apache.httpcomponents.httpclient-4.4.1/files-keep create mode 100644 tools/legal-review/launcher/org.apache.httpcomponents.httpcore-4.4.1/copyright-keep create mode 100644 tools/legal-review/launcher/org.apache.httpcomponents.httpcore-4.4.1/custom-license create mode 100644 tools/legal-review/launcher/org.apache.httpcomponents.httpcore-4.4.1/files-keep delete mode 100644 tools/legal-review/launcher/org.reactivestreams.reactive-streams-1.0.3/copyright-keep-context create mode 100644 tools/legal-review/launcher/reviewed-licenses/The_Apache_Software_License__Version_2.0 create mode 100644 tools/legal-review/project-manager/commons-codec.commons-codec-1.9/copyright-keep create mode 100644 tools/legal-review/project-manager/commons-codec.commons-codec-1.9/custom-license create mode 100644 tools/legal-review/project-manager/commons-codec.commons-codec-1.9/files-keep create mode 100644 tools/legal-review/project-manager/commons-logging.commons-logging-1.2/copyright-keep create mode 100644 tools/legal-review/project-manager/commons-logging.commons-logging-1.2/custom-license create mode 100644 tools/legal-review/project-manager/commons-logging.commons-logging-1.2/files-keep create mode 100644 tools/legal-review/project-manager/org.apache.commons.commons-text-1.10.0/copyright-ignore create mode 100644 tools/legal-review/project-manager/org.apache.commons.commons-text-1.10.0/copyright-keep create mode 100644 tools/legal-review/project-manager/org.apache.commons.commons-text-1.10.0/custom-license create mode 100644 tools/legal-review/project-manager/org.apache.commons.commons-text-1.10.0/files-keep create mode 100644 tools/legal-review/project-manager/org.apache.httpcomponents.httpclient-4.4.1/copyright-keep create mode 100644 tools/legal-review/project-manager/org.apache.httpcomponents.httpclient-4.4.1/custom-license create mode 100644 tools/legal-review/project-manager/org.apache.httpcomponents.httpclient-4.4.1/files-keep create mode 100644 tools/legal-review/project-manager/org.apache.httpcomponents.httpcore-4.4.1/copyright-keep create mode 100644 tools/legal-review/project-manager/org.apache.httpcomponents.httpcore-4.4.1/custom-license create mode 100644 tools/legal-review/project-manager/org.apache.httpcomponents.httpcore-4.4.1/files-keep diff --git a/distribution/engine/THIRD-PARTY/NOTICE b/distribution/engine/THIRD-PARTY/NOTICE index 2ceedaf9c694..f75ca03eb5d9 100644 --- a/distribution/engine/THIRD-PARTY/NOTICE +++ b/distribution/engine/THIRD-PARTY/NOTICE @@ -181,11 +181,21 @@ The license file can be found at `licenses/APACHE2.0`. Copyright notices related to this dependency can be found in the directory `commons-codec.commons-codec-1.16.0`. +'commons-codec', licensed under the The Apache Software License, Version 2.0, is distributed with the engine. +The license information can be found along with the copyright notices. +Copyright notices related to this dependency can be found in the directory `commons-codec.commons-codec-1.9`. + + 'commons-io', licensed under the Apache-2.0, is distributed with the engine. The license information can be found along with the copyright notices. Copyright notices related to this dependency can be found in the directory `commons-io.commons-io-2.12.0`. +'commons-logging', licensed under the The Apache Software License, Version 2.0, is distributed with the engine. +The license information can be found along with the copyright notices. +Copyright notices related to this dependency can be found in the directory `commons-logging.commons-logging-1.2`. + + 'izumi-reflect-thirdparty-boopickle-shaded_2.13', licensed under the Apache-2.0, is distributed with the engine. The license file can be found at `licenses/APACHE2.0`. Copyright notices related to this dependency can be found in the directory `dev.zio.izumi-reflect-thirdparty-boopickle-shaded_2.13-2.3.8`. @@ -281,6 +291,21 @@ The license information can be found along with the copyright notices. Copyright notices related to this dependency can be found in the directory `org.apache.commons.commons-lang3-3.12.0`. +'commons-text', licensed under the Apache License, Version 2.0, is distributed with the engine. +The license information can be found along with the copyright notices. +Copyright notices related to this dependency can be found in the directory `org.apache.commons.commons-text-1.10.0`. + + +'httpclient', licensed under the Apache License, Version 2.0, is distributed with the engine. +The license information can be found along with the copyright notices. +Copyright notices related to this dependency can be found in the directory `org.apache.httpcomponents.httpclient-4.4.1`. + + +'httpcore', licensed under the Apache License, Version 2.0, is distributed with the engine. +The license information can be found along with the copyright notices. +Copyright notices related to this dependency can be found in the directory `org.apache.httpcomponents.httpcore-4.4.1`. + + 'tika-core', licensed under the Apache License, Version 2.0, is distributed with the engine. The license file can be found at `licenses/APACHE2.0`. Copyright notices related to this dependency can be found in the directory `org.apache.tika.tika-core-2.4.1`. @@ -401,11 +426,6 @@ The license file can be found at `licenses/APACHE2.0`. Copyright notices related to this dependency can be found in the directory `org.netbeans.api.org-openide-util-lookup-RELEASE180`. -'reactive-streams', licensed under the CC0, is distributed with the engine. -The license file can be found at `licenses/CC0`. -Copyright notices related to this dependency can be found in the directory `org.reactivestreams.reactive-streams-1.0.3`. - - 'reactive-streams', licensed under the MIT-0, is distributed with the engine. The license file can be found at `licenses/MIT-0`. Copyright notices related to this dependency can be found in the directory `org.reactivestreams.reactive-streams-1.0.4`. diff --git a/distribution/engine/THIRD-PARTY/commons-codec.commons-codec-1.9/LICENSE.txt b/distribution/engine/THIRD-PARTY/commons-codec.commons-codec-1.9/LICENSE.txt new file mode 100644 index 000000000000..d64569567334 --- /dev/null +++ b/distribution/engine/THIRD-PARTY/commons-codec.commons-codec-1.9/LICENSE.txt @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed 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. diff --git a/distribution/engine/THIRD-PARTY/commons-codec.commons-codec-1.9/NOTICE.txt b/distribution/engine/THIRD-PARTY/commons-codec.commons-codec-1.9/NOTICE.txt new file mode 100644 index 000000000000..99edd4d2ee99 --- /dev/null +++ b/distribution/engine/THIRD-PARTY/commons-codec.commons-codec-1.9/NOTICE.txt @@ -0,0 +1,9 @@ +Apache Commons Codec +Copyright 2002-2013 The Apache Software Foundation + +This product includes software developed at +The Apache Software Foundation (http://www.apache.org/). + +src/test/org/apache/commons/codec/language/DoubleMetaphoneTest.java +contains test data from http://aspell.net/test/orig/batch0.tab. +Copyright (C) 2002 Kevin Atkinson (kevina@gnu.org) diff --git a/distribution/engine/THIRD-PARTY/commons-codec.commons-codec-1.9/NOTICES b/distribution/engine/THIRD-PARTY/commons-codec.commons-codec-1.9/NOTICES new file mode 100644 index 000000000000..8cd8d66408c4 --- /dev/null +++ b/distribution/engine/THIRD-PARTY/commons-codec.commons-codec-1.9/NOTICES @@ -0,0 +1 @@ +this work for additional information regarding copyright ownership. diff --git a/distribution/engine/THIRD-PARTY/commons-logging.commons-logging-1.2/LICENSE.txt b/distribution/engine/THIRD-PARTY/commons-logging.commons-logging-1.2/LICENSE.txt new file mode 100644 index 000000000000..d64569567334 --- /dev/null +++ b/distribution/engine/THIRD-PARTY/commons-logging.commons-logging-1.2/LICENSE.txt @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed 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. diff --git a/distribution/engine/THIRD-PARTY/commons-logging.commons-logging-1.2/NOTICE.txt b/distribution/engine/THIRD-PARTY/commons-logging.commons-logging-1.2/NOTICE.txt new file mode 100644 index 000000000000..556bd03951d4 --- /dev/null +++ b/distribution/engine/THIRD-PARTY/commons-logging.commons-logging-1.2/NOTICE.txt @@ -0,0 +1,6 @@ +Apache Commons Logging +Copyright 2003-2014 The Apache Software Foundation + +This product includes software developed at +The Apache Software Foundation (http://www.apache.org/). + diff --git a/distribution/engine/THIRD-PARTY/commons-logging.commons-logging-1.2/NOTICES b/distribution/engine/THIRD-PARTY/commons-logging.commons-logging-1.2/NOTICES new file mode 100644 index 000000000000..8cd8d66408c4 --- /dev/null +++ b/distribution/engine/THIRD-PARTY/commons-logging.commons-logging-1.2/NOTICES @@ -0,0 +1 @@ +this work for additional information regarding copyright ownership. diff --git a/distribution/engine/THIRD-PARTY/licenses/CC0 b/distribution/engine/THIRD-PARTY/licenses/CC0 deleted file mode 100644 index 0e259d42c996..000000000000 --- a/distribution/engine/THIRD-PARTY/licenses/CC0 +++ /dev/null @@ -1,121 +0,0 @@ -Creative Commons Legal Code - -CC0 1.0 Universal - - CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE - LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN - ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS - INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES - REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS - PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM - THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED - HEREUNDER. - -Statement of Purpose - -The laws of most jurisdictions throughout the world automatically confer -exclusive Copyright and Related Rights (defined below) upon the creator -and subsequent owner(s) (each and all, an "owner") of an original work of -authorship and/or a database (each, a "Work"). - -Certain owners wish to permanently relinquish those rights to a Work for -the purpose of contributing to a commons of creative, cultural and -scientific works ("Commons") that the public can reliably and without fear -of later claims of infringement build upon, modify, incorporate in other -works, reuse and redistribute as freely as possible in any form whatsoever -and for any purposes, including without limitation commercial purposes. -These owners may contribute to the Commons to promote the ideal of a free -culture and the further production of creative, cultural and scientific -works, or to gain reputation or greater distribution for their Work in -part through the use and efforts of others. - -For these and/or other purposes and motivations, and without any -expectation of additional consideration or compensation, the person -associating CC0 with a Work (the "Affirmer"), to the extent that he or she -is an owner of Copyright and Related Rights in the Work, voluntarily -elects to apply CC0 to the Work and publicly distribute the Work under its -terms, with knowledge of his or her Copyright and Related Rights in the -Work and the meaning and intended legal effect of CC0 on those rights. - -1. Copyright and Related Rights. A Work made available under CC0 may be -protected by copyright and related or neighboring rights ("Copyright and -Related Rights"). Copyright and Related Rights include, but are not -limited to, the following: - - i. the right to reproduce, adapt, distribute, perform, display, - communicate, and translate a Work; - ii. moral rights retained by the original author(s) and/or performer(s); -iii. publicity and privacy rights pertaining to a person's image or - likeness depicted in a Work; - iv. rights protecting against unfair competition in regards to a Work, - subject to the limitations in paragraph 4(a), below; - v. rights protecting the extraction, dissemination, use and reuse of data - in a Work; - vi. database rights (such as those arising under Directive 96/9/EC of the - European Parliament and of the Council of 11 March 1996 on the legal - protection of databases, and under any national implementation - thereof, including any amended or successor version of such - directive); and -vii. other similar, equivalent or corresponding rights throughout the - world based on applicable law or treaty, and any national - implementations thereof. - -2. Waiver. To the greatest extent permitted by, but not in contravention -of, applicable law, Affirmer hereby overtly, fully, permanently, -irrevocably and unconditionally waives, abandons, and surrenders all of -Affirmer's Copyright and Related Rights and associated claims and causes -of action, whether now known or unknown (including existing as well as -future claims and causes of action), in the Work (i) in all territories -worldwide, (ii) for the maximum duration provided by applicable law or -treaty (including future time extensions), (iii) in any current or future -medium and for any number of copies, and (iv) for any purpose whatsoever, -including without limitation commercial, advertising or promotional -purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each -member of the public at large and to the detriment of Affirmer's heirs and -successors, fully intending that such Waiver shall not be subject to -revocation, rescission, cancellation, termination, or any other legal or -equitable action to disrupt the quiet enjoyment of the Work by the public -as contemplated by Affirmer's express Statement of Purpose. - -3. Public License Fallback. Should any part of the Waiver for any reason -be judged legally invalid or ineffective under applicable law, then the -Waiver shall be preserved to the maximum extent permitted taking into -account Affirmer's express Statement of Purpose. In addition, to the -extent the Waiver is so judged Affirmer hereby grants to each affected -person a royalty-free, non transferable, non sublicensable, non exclusive, -irrevocable and unconditional license to exercise Affirmer's Copyright and -Related Rights in the Work (i) in all territories worldwide, (ii) for the -maximum duration provided by applicable law or treaty (including future -time extensions), (iii) in any current or future medium and for any number -of copies, and (iv) for any purpose whatsoever, including without -limitation commercial, advertising or promotional purposes (the -"License"). The License shall be deemed effective as of the date CC0 was -applied by Affirmer to the Work. Should any part of the License for any -reason be judged legally invalid or ineffective under applicable law, such -partial invalidity or ineffectiveness shall not invalidate the remainder -of the License, and in such case Affirmer hereby affirms that he or she -will not (i) exercise any of his or her remaining Copyright and Related -Rights in the Work or (ii) assert any associated claims and causes of -action with respect to the Work, in either case contrary to Affirmer's -express Statement of Purpose. - -4. Limitations and Disclaimers. - - a. No trademark or patent rights held by Affirmer are waived, abandoned, - surrendered, licensed or otherwise affected by this document. - b. Affirmer offers the Work as-is and makes no representations or - warranties of any kind concerning the Work, express, implied, - statutory or otherwise, including without limitation warranties of - title, merchantability, fitness for a particular purpose, non - infringement, or the absence of latent or other defects, accuracy, or - the present or absence of errors, whether or not discoverable, all to - the greatest extent permissible under applicable law. - c. Affirmer disclaims responsibility for clearing rights of other persons - that may apply to the Work or any use thereof, including without - limitation any person's Copyright and Related Rights in the Work. - Further, Affirmer disclaims responsibility for obtaining any necessary - consents, permissions or other rights required for any use of the - Work. - d. Affirmer understands and acknowledges that Creative Commons is not a - party to this document and has no duty or obligation with respect to - this CC0 or use of the Work. diff --git a/distribution/engine/THIRD-PARTY/org.apache.commons.commons-text-1.10.0/LICENSE.txt b/distribution/engine/THIRD-PARTY/org.apache.commons.commons-text-1.10.0/LICENSE.txt new file mode 100644 index 000000000000..d64569567334 --- /dev/null +++ b/distribution/engine/THIRD-PARTY/org.apache.commons.commons-text-1.10.0/LICENSE.txt @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed 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. diff --git a/distribution/engine/THIRD-PARTY/org.apache.commons.commons-text-1.10.0/NOTICE.txt b/distribution/engine/THIRD-PARTY/org.apache.commons.commons-text-1.10.0/NOTICE.txt new file mode 100644 index 000000000000..4e1f8dbb8dec --- /dev/null +++ b/distribution/engine/THIRD-PARTY/org.apache.commons.commons-text-1.10.0/NOTICE.txt @@ -0,0 +1,5 @@ +Apache Commons Text +Copyright 2014-2022 The Apache Software Foundation + +This product includes software developed at +The Apache Software Foundation (https://www.apache.org/). diff --git a/distribution/engine/THIRD-PARTY/org.apache.commons.commons-text-1.10.0/NOTICES b/distribution/engine/THIRD-PARTY/org.apache.commons.commons-text-1.10.0/NOTICES new file mode 100644 index 000000000000..8cd8d66408c4 --- /dev/null +++ b/distribution/engine/THIRD-PARTY/org.apache.commons.commons-text-1.10.0/NOTICES @@ -0,0 +1 @@ +this work for additional information regarding copyright ownership. diff --git a/tools/legal-review/launcher/com.typesafe.akka.akka-protobuf-v3_2.13-2.6.20/files-add/LICENSE b/distribution/engine/THIRD-PARTY/org.apache.httpcomponents.httpclient-4.4.1/LICENSE similarity index 97% rename from tools/legal-review/launcher/com.typesafe.akka.akka-protobuf-v3_2.13-2.6.20/files-add/LICENSE rename to distribution/engine/THIRD-PARTY/org.apache.httpcomponents.httpclient-4.4.1/LICENSE index c7d5a563ccb2..d64569567334 100644 --- a/tools/legal-review/launcher/com.typesafe.akka.akka-protobuf-v3_2.13-2.6.20/files-add/LICENSE +++ b/distribution/engine/THIRD-PARTY/org.apache.httpcomponents.httpclient-4.4.1/LICENSE @@ -1,3 +1,4 @@ + Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ @@ -199,14 +200,3 @@ 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. - ---------------- - -Licenses for dependency projects can be found here: -[http://akka.io/docs/akka/snapshot/project/licenses.html] - ---------------- - -akka-protobuf contains the sources of Google protobuf 2.5.0 runtime support, -moved into the source package `akka.protobuf` so as to avoid version conflicts. -For license information see COPYING.protobuf diff --git a/distribution/engine/THIRD-PARTY/org.apache.httpcomponents.httpclient-4.4.1/NOTICE b/distribution/engine/THIRD-PARTY/org.apache.httpcomponents.httpclient-4.4.1/NOTICE new file mode 100644 index 000000000000..c05d4e6e933f --- /dev/null +++ b/distribution/engine/THIRD-PARTY/org.apache.httpcomponents.httpclient-4.4.1/NOTICE @@ -0,0 +1,8 @@ + +Apache HttpClient +Copyright 1999-2015 The Apache Software Foundation + +This product includes software developed at +The Apache Software Foundation (http://www.apache.org/). + + diff --git a/distribution/engine/THIRD-PARTY/org.apache.httpcomponents.httpclient-4.4.1/NOTICES b/distribution/engine/THIRD-PARTY/org.apache.httpcomponents.httpclient-4.4.1/NOTICES new file mode 100644 index 000000000000..dc34027f6f18 --- /dev/null +++ b/distribution/engine/THIRD-PARTY/org.apache.httpcomponents.httpclient-4.4.1/NOTICES @@ -0,0 +1 @@ +regarding copyright ownership. The ASF licenses this file diff --git a/distribution/engine/THIRD-PARTY/org.apache.httpcomponents.httpcore-4.4.1/LICENSE b/distribution/engine/THIRD-PARTY/org.apache.httpcomponents.httpcore-4.4.1/LICENSE new file mode 100644 index 000000000000..54e4285f2d6a --- /dev/null +++ b/distribution/engine/THIRD-PARTY/org.apache.httpcomponents.httpcore-4.4.1/LICENSE @@ -0,0 +1,266 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed 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. + +========================================================================= + +This project contains annotations in the package org.apache.http.annotation +which are derived from JCIP-ANNOTATIONS +Copyright (c) 2005 Brian Goetz and Tim Peierls. +See http://www.jcip.net and the Creative Commons Attribution License +(http://creativecommons.org/licenses/by/2.5) +Full text: http://creativecommons.org/licenses/by/2.5/legalcode + +License + +THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED. + +BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS. + +1. Definitions + + "Collective Work" means a work, such as a periodical issue, anthology or encyclopedia, in which the Work in its entirety in unmodified form, along with a number of other contributions, constituting separate and independent works in themselves, are assembled into a collective whole. A work that constitutes a Collective Work will not be considered a Derivative Work (as defined below) for the purposes of this License. + "Derivative Work" means a work based upon the Work or upon the Work and other pre-existing works, such as a translation, musical arrangement, dramatization, fictionalization, motion picture version, sound recording, art reproduction, abridgment, condensation, or any other form in which the Work may be recast, transformed, or adapted, except that a work that constitutes a Collective Work will not be considered a Derivative Work for the purpose of this License. For the avoidance of doubt, where the Work is a musical composition or sound recording, the synchronization of the Work in timed-relation with a moving image ("synching") will be considered a Derivative Work for the purpose of this License. + "Licensor" means the individual or entity that offers the Work under the terms of this License. + "Original Author" means the individual or entity who created the Work. + "Work" means the copyrightable work of authorship offered under the terms of this License. + "You" means an individual or entity exercising rights under this License who has not previously violated the terms of this License with respect to the Work, or who has received express permission from the Licensor to exercise rights under this License despite a previous violation. + +2. Fair Use Rights. Nothing in this license is intended to reduce, limit, or restrict any rights arising from fair use, first sale or other limitations on the exclusive rights of the copyright owner under copyright law or other applicable laws. + +3. License Grant. Subject to the terms and conditions of this License, Licensor hereby grants You a worldwide, royalty-free, non-exclusive, perpetual (for the duration of the applicable copyright) license to exercise the rights in the Work as stated below: + + to reproduce the Work, to incorporate the Work into one or more Collective Works, and to reproduce the Work as incorporated in the Collective Works; + to create and reproduce Derivative Works; + to distribute copies or phonorecords of, display publicly, perform publicly, and perform publicly by means of a digital audio transmission the Work including as incorporated in Collective Works; + to distribute copies or phonorecords of, display publicly, perform publicly, and perform publicly by means of a digital audio transmission Derivative Works. + + For the avoidance of doubt, where the work is a musical composition: + Performance Royalties Under Blanket Licenses. Licensor waives the exclusive right to collect, whether individually or via a performance rights society (e.g. ASCAP, BMI, SESAC), royalties for the public performance or public digital performance (e.g. webcast) of the Work. + Mechanical Rights and Statutory Royalties. Licensor waives the exclusive right to collect, whether individually or via a music rights agency or designated agent (e.g. Harry Fox Agency), royalties for any phonorecord You create from the Work ("cover version") and distribute, subject to the compulsory license created by 17 USC Section 115 of the US Copyright Act (or the equivalent in other jurisdictions). + Webcasting Rights and Statutory Royalties. For the avoidance of doubt, where the Work is a sound recording, Licensor waives the exclusive right to collect, whether individually or via a performance-rights society (e.g. SoundExchange), royalties for the public digital performance (e.g. webcast) of the Work, subject to the compulsory license created by 17 USC Section 114 of the US Copyright Act (or the equivalent in other jurisdictions). + +The above rights may be exercised in all media and formats whether now known or hereafter devised. The above rights include the right to make such modifications as are technically necessary to exercise the rights in other media and formats. All rights not expressly granted by Licensor are hereby reserved. + +4. Restrictions.The license granted in Section 3 above is expressly made subject to and limited by the following restrictions: + + You may distribute, publicly display, publicly perform, or publicly digitally perform the Work only under the terms of this License, and You must include a copy of, or the Uniform Resource Identifier for, this License with every copy or phonorecord of the Work You distribute, publicly display, publicly perform, or publicly digitally perform. You may not offer or impose any terms on the Work that alter or restrict the terms of this License or the recipients' exercise of the rights granted hereunder. You may not sublicense the Work. You must keep intact all notices that refer to this License and to the disclaimer of warranties. You may not distribute, publicly display, publicly perform, or publicly digitally perform the Work with any technological measures that control access or use of the Work in a manner inconsistent with the terms of this License Agreement. The above applies to the Work as incorporated in a Collective Work, but this does not require the Collective Work apart from the Work itself to be made subject to the terms of this License. If You create a Collective Work, upon notice from any Licensor You must, to the extent practicable, remove from the Collective Work any credit as required by clause 4(b), as requested. If You create a Derivative Work, upon notice from any Licensor You must, to the extent practicable, remove from the Derivative Work any credit as required by clause 4(b), as requested. + If you distribute, publicly display, publicly perform, or publicly digitally perform the Work or any Derivative Works or Collective Works, You must keep intact all copyright notices for the Work and provide, reasonable to the medium or means You are utilizing: (i) the name of the Original Author (or pseudonym, if applicable) if supplied, and/or (ii) if the Original Author and/or Licensor designate another party or parties (e.g. a sponsor institute, publishing entity, journal) for attribution in Licensor's copyright notice, terms of service or by other reasonable means, the name of such party or parties; the title of the Work if supplied; to the extent reasonably practicable, the Uniform Resource Identifier, if any, that Licensor specifies to be associated with the Work, unless such URI does not refer to the copyright notice or licensing information for the Work; and in the case of a Derivative Work, a credit identifying the use of the Work in the Derivative Work (e.g., "French translation of the Work by Original Author," or "Screenplay based on original Work by Original Author"). Such credit may be implemented in any reasonable manner; provided, however, that in the case of a Derivative Work or Collective Work, at a minimum such credit will appear where any other comparable authorship credit appears and in a manner at least as prominent as such other comparable authorship credit. + +5. Representations, Warranties and Disclaimer + +UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, LICENSOR OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY, FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF LATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS, WHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU. + +6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + +7. Termination + + This License and the rights granted hereunder will terminate automatically upon any breach by You of the terms of this License. Individuals or entities who have received Derivative Works or Collective Works from You under this License, however, will not have their licenses terminated provided such individuals or entities remain in full compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will survive any termination of this License. + Subject to the above terms and conditions, the license granted here is perpetual (for the duration of the applicable copyright in the Work). Notwithstanding the above, Licensor reserves the right to release the Work under different license terms or to stop distributing the Work at any time; provided, however that any such election will not serve to withdraw this License (or any other license that has been, or is required to be, granted under the terms of this License), and this License will continue in full force and effect unless terminated as stated above. + +8. Miscellaneous + + Each time You distribute or publicly digitally perform the Work or a Collective Work, the Licensor offers to the recipient a license to the Work on the same terms and conditions as the license granted to You under this License. + Each time You distribute or publicly digitally perform a Derivative Work, Licensor offers to the recipient a license to the original Work on the same terms and conditions as the license granted to You under this License. + If any provision of this License is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this License, and without further action by the parties to this agreement, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable. + No term or provision of this License shall be deemed waived and no breach consented to unless such waiver or consent shall be in writing and signed by the party to be charged with such waiver or consent. + This License constitutes the entire agreement between the parties with respect to the Work licensed here. There are no understandings, agreements or representations with respect to the Work not specified here. Licensor shall not be bound by any additional provisions that may appear in any communication from You. This License may not be modified without the mutual written agreement of the Licensor and You. diff --git a/distribution/engine/THIRD-PARTY/org.apache.httpcomponents.httpcore-4.4.1/NOTICE b/distribution/engine/THIRD-PARTY/org.apache.httpcomponents.httpcore-4.4.1/NOTICE new file mode 100644 index 000000000000..976db53ee327 --- /dev/null +++ b/distribution/engine/THIRD-PARTY/org.apache.httpcomponents.httpcore-4.4.1/NOTICE @@ -0,0 +1,10 @@ + +Apache HttpCore +Copyright 2005-2015 The Apache Software Foundation + +This product includes software developed at +The Apache Software Foundation (http://www.apache.org/). + + +This project contains annotations derived from JCIP-ANNOTATIONS +Copyright (c) 2005 Brian Goetz and Tim Peierls. See http://www.jcip.net diff --git a/distribution/engine/THIRD-PARTY/org.reactivestreams.reactive-streams-1.0.3/NOTICES b/distribution/engine/THIRD-PARTY/org.reactivestreams.reactive-streams-1.0.3/NOTICES deleted file mode 100644 index bd0a85c0c769..000000000000 --- a/distribution/engine/THIRD-PARTY/org.reactivestreams.reactive-streams-1.0.3/NOTICES +++ /dev/null @@ -1,10 +0,0 @@ -/************************************************************************ - * Licensed under Public Domain (CC0) * - * * - * To the extent possible under law, the person who associated CC0 with * - * this code has waived all copyright and related or neighboring * - * rights to this code. * - * * - * You should have received a copy of the CC0 legalcode along with this * - * work. If not, see .* - ************************************************************************/ diff --git a/distribution/launcher/THIRD-PARTY/NOTICE b/distribution/launcher/THIRD-PARTY/NOTICE index 0584a5a5f8a0..d75ad0fe8c6d 100644 --- a/distribution/launcher/THIRD-PARTY/NOTICE +++ b/distribution/launcher/THIRD-PARTY/NOTICE @@ -21,6 +21,21 @@ The license file can be found at `licenses/APACHE2.0`. Copyright notices related to this dependency can be found in the directory `com.chuusai.shapeless_2.13-2.3.10`. +'jackson-annotations', licensed under the The Apache Software License, Version 2.0, is distributed with the launcher. +The license information can be found along with the copyright notices. +Copyright notices related to this dependency can be found in the directory `com.fasterxml.jackson.core.jackson-annotations-2.15.2`. + + +'jackson-core', licensed under the The Apache Software License, Version 2.0, is distributed with the launcher. +The license information can be found along with the copyright notices. +Copyright notices related to this dependency can be found in the directory `com.fasterxml.jackson.core.jackson-core-2.15.2`. + + +'jackson-databind', licensed under the The Apache Software License, Version 2.0, is distributed with the launcher. +The license information can be found along with the copyright notices. +Copyright notices related to this dependency can be found in the directory `com.fasterxml.jackson.core.jackson-databind-2.15.2`. + + 'akka-actor_2.13', licensed under the Apache-2.0, is distributed with the launcher. The license file can be found at `licenses/APACHE2.0`. Copyright notices related to this dependency can be found in the directory `com.typesafe.akka.akka-actor_2.13-2.6.20`. @@ -41,21 +56,11 @@ The license file can be found at `licenses/APACHE2.0`. Copyright notices related to this dependency can be found in the directory `com.typesafe.akka.akka-parsing_2.13-10.2.10`. -'akka-protobuf-v3_2.13', licensed under the Apache-2.0, is distributed with the launcher. -The license information can be found along with the copyright notices. -Copyright notices related to this dependency can be found in the directory `com.typesafe.akka.akka-protobuf-v3_2.13-2.6.20`. - - 'akka-slf4j_2.13', licensed under the Apache-2.0, is distributed with the launcher. The license file can be found at `licenses/APACHE2.0`. Copyright notices related to this dependency can be found in the directory `com.typesafe.akka.akka-slf4j_2.13-2.6.20`. -'akka-stream_2.13', licensed under the Apache-2.0, is distributed with the launcher. -The license file can be found at `licenses/APACHE2.0`. -Copyright notices related to this dependency can be found in the directory `com.typesafe.akka.akka-stream_2.13-2.6.20`. - - 'config', licensed under the Apache-2.0, is distributed with the launcher. The license file can be found at `licenses/APACHE2.0`. Copyright notices related to this dependency can be found in the directory `com.typesafe.config-1.4.2`. @@ -66,9 +71,9 @@ The license file can be found at `licenses/APACHE2.0`. Copyright notices related to this dependency can be found in the directory `com.typesafe.scala-logging.scala-logging_2.13-3.9.4`. -'ssl-config-core_2.13', licensed under the Apache-2.0, is distributed with the launcher. -The license file can be found at `licenses/APACHE2.0`. -Copyright notices related to this dependency can be found in the directory `com.typesafe.ssl-config-core_2.13-0.4.3`. +'commons-codec', licensed under the The Apache Software License, Version 2.0, is distributed with the launcher. +The license information can be found along with the copyright notices. +Copyright notices related to this dependency can be found in the directory `commons-codec.commons-codec-1.9`. 'commons-io', licensed under the Apache-2.0, is distributed with the launcher. @@ -76,6 +81,11 @@ The license information can be found along with the copyright notices. Copyright notices related to this dependency can be found in the directory `commons-io.commons-io-2.12.0`. +'commons-logging', licensed under the The Apache Software License, Version 2.0, is distributed with the launcher. +The license information can be found along with the copyright notices. +Copyright notices related to this dependency can be found in the directory `commons-logging.commons-logging-1.2`. + + 'circe-core_2.13', licensed under the Apache 2.0, is distributed with the launcher. The license file can be found at `licenses/APACHE2.0`. Copyright notices related to this dependency can be found in the directory `io.circe.circe-core_2.13-0.14.5`. @@ -116,6 +126,26 @@ The license file can be found at `licenses/APACHE2.0`. Copyright notices related to this dependency can be found in the directory `org.apache.commons.commons-compress-1.23.0`. +'commons-lang3', licensed under the Apache License, Version 2.0, is distributed with the launcher. +The license information can be found along with the copyright notices. +Copyright notices related to this dependency can be found in the directory `org.apache.commons.commons-lang3-3.12.0`. + + +'commons-text', licensed under the Apache License, Version 2.0, is distributed with the launcher. +The license information can be found along with the copyright notices. +Copyright notices related to this dependency can be found in the directory `org.apache.commons.commons-text-1.10.0`. + + +'httpclient', licensed under the Apache License, Version 2.0, is distributed with the launcher. +The license information can be found along with the copyright notices. +Copyright notices related to this dependency can be found in the directory `org.apache.httpcomponents.httpclient-4.4.1`. + + +'httpcore', licensed under the Apache License, Version 2.0, is distributed with the launcher. +The license information can be found along with the copyright notices. +Copyright notices related to this dependency can be found in the directory `org.apache.httpcomponents.httpcore-4.4.1`. + + 'polyglot', licensed under the Universal Permissive License, Version 1.0, is distributed with the launcher. The license file can be found at `licenses/Universal_Permissive_License__Version_1.0`. Copyright notices related to this dependency can be found in the directory `org.graalvm.polyglot.polyglot-23.1.0`. @@ -141,11 +171,6 @@ The license file can be found at `licenses/Universal_Permissive_License__Version Copyright notices related to this dependency can be found in the directory `org.graalvm.truffle.truffle-api-23.1.0`. -'reactive-streams', licensed under the CC0, is distributed with the launcher. -The license file can be found at `licenses/CC0`. -Copyright notices related to this dependency can be found in the directory `org.reactivestreams.reactive-streams-1.0.3`. - - 'scala-java8-compat_2.13', licensed under the Apache-2.0, is distributed with the launcher. The license file can be found at `licenses/APACHE2.0`. Copyright notices related to this dependency can be found in the directory `org.scala-lang.modules.scala-java8-compat_2.13-1.0.0`. diff --git a/distribution/launcher/THIRD-PARTY/com.typesafe.akka.akka-protobuf-v3_2.13-2.6.20/LICENSE b/distribution/launcher/THIRD-PARTY/com.fasterxml.jackson.core.jackson-annotations-2.15.2/LICENSE similarity index 97% rename from distribution/launcher/THIRD-PARTY/com.typesafe.akka.akka-protobuf-v3_2.13-2.6.20/LICENSE rename to distribution/launcher/THIRD-PARTY/com.fasterxml.jackson.core.jackson-annotations-2.15.2/LICENSE index c7d5a563ccb2..d64569567334 100644 --- a/distribution/launcher/THIRD-PARTY/com.typesafe.akka.akka-protobuf-v3_2.13-2.6.20/LICENSE +++ b/distribution/launcher/THIRD-PARTY/com.fasterxml.jackson.core.jackson-annotations-2.15.2/LICENSE @@ -1,3 +1,4 @@ + Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ @@ -199,14 +200,3 @@ 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. - ---------------- - -Licenses for dependency projects can be found here: -[http://akka.io/docs/akka/snapshot/project/licenses.html] - ---------------- - -akka-protobuf contains the sources of Google protobuf 2.5.0 runtime support, -moved into the source package `akka.protobuf` so as to avoid version conflicts. -For license information see COPYING.protobuf diff --git a/distribution/launcher/THIRD-PARTY/com.fasterxml.jackson.core.jackson-annotations-2.15.2/NOTICE b/distribution/launcher/THIRD-PARTY/com.fasterxml.jackson.core.jackson-annotations-2.15.2/NOTICE new file mode 100644 index 000000000000..738b11fda42c --- /dev/null +++ b/distribution/launcher/THIRD-PARTY/com.fasterxml.jackson.core.jackson-annotations-2.15.2/NOTICE @@ -0,0 +1,21 @@ +# Jackson JSON processor + +Jackson is a high-performance, Free/Open Source JSON processing library. +It was originally written by Tatu Saloranta (tatu.saloranta@iki.fi), and has +been in development since 2007. +It is currently developed by a community of developers. + +## Copyright + +Copyright 2007-, Tatu Saloranta (tatu.saloranta@iki.fi) + +## Licensing + +Jackson 2.x core and extension components are licensed under Apache License 2.0 +To find the details that apply to this artifact see the accompanying LICENSE file. + +## Credits + +A list of contributors may be found from CREDITS(-2.x) file, which is included +in some artifacts (usually source distributions); but is always available +from the source code management (SCM) system project uses. diff --git a/distribution/launcher/THIRD-PARTY/com.fasterxml.jackson.core.jackson-core-2.15.2/LICENSE b/distribution/launcher/THIRD-PARTY/com.fasterxml.jackson.core.jackson-core-2.15.2/LICENSE new file mode 100644 index 000000000000..d64569567334 --- /dev/null +++ b/distribution/launcher/THIRD-PARTY/com.fasterxml.jackson.core.jackson-core-2.15.2/LICENSE @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed 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. diff --git a/distribution/launcher/THIRD-PARTY/com.fasterxml.jackson.core.jackson-core-2.15.2/NOTICES b/distribution/launcher/THIRD-PARTY/com.fasterxml.jackson.core.jackson-core-2.15.2/NOTICES new file mode 100644 index 000000000000..3dd0b88fd7d6 --- /dev/null +++ b/distribution/launcher/THIRD-PARTY/com.fasterxml.jackson.core.jackson-core-2.15.2/NOTICES @@ -0,0 +1,3 @@ +Copyright (c) 2007- Tatu Saloranta, tatu.saloranta@iki.fi + +Copyright 2018-2020 Raffaello Giulietti diff --git a/distribution/launcher/THIRD-PARTY/com.fasterxml.jackson.core.jackson-core-2.15.2/jackson-core-LICENSE b/distribution/launcher/THIRD-PARTY/com.fasterxml.jackson.core.jackson-core-2.15.2/jackson-core-LICENSE new file mode 100644 index 000000000000..d64569567334 --- /dev/null +++ b/distribution/launcher/THIRD-PARTY/com.fasterxml.jackson.core.jackson-core-2.15.2/jackson-core-LICENSE @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed 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. diff --git a/distribution/launcher/THIRD-PARTY/com.fasterxml.jackson.core.jackson-core-2.15.2/jackson-core-NOTICE b/distribution/launcher/THIRD-PARTY/com.fasterxml.jackson.core.jackson-core-2.15.2/jackson-core-NOTICE new file mode 100644 index 000000000000..e30a4782d710 --- /dev/null +++ b/distribution/launcher/THIRD-PARTY/com.fasterxml.jackson.core.jackson-core-2.15.2/jackson-core-NOTICE @@ -0,0 +1,32 @@ +# Jackson JSON processor + +Jackson is a high-performance, Free/Open Source JSON processing library. +It was originally written by Tatu Saloranta (tatu.saloranta@iki.fi), and has +been in development since 2007. +It is currently developed by a community of developers. + +## Copyright + +Copyright 2007-, Tatu Saloranta (tatu.saloranta@iki.fi) + +## Licensing + +Jackson 2.x core and extension components are licensed under Apache License 2.0 +To find the details that apply to this artifact see the accompanying LICENSE file. + +## Credits + +A list of contributors may be found from CREDITS(-2.x) file, which is included +in some artifacts (usually source distributions); but is always available +from the source code management (SCM) system project uses. + +## FastDoubleParser + +jackson-core bundles a shaded copy of FastDoubleParser . +That code is available under an MIT license +under the following copyright. + +Copyright © 2023 Werner Randelshofer, Switzerland. MIT License. + +See FastDoubleParser-NOTICE for details of other source code included in FastDoubleParser +and the licenses and copyrights that apply to that code. diff --git a/distribution/launcher/THIRD-PARTY/com.fasterxml.jackson.core.jackson-databind-2.15.2/LICENSE b/distribution/launcher/THIRD-PARTY/com.fasterxml.jackson.core.jackson-databind-2.15.2/LICENSE new file mode 100644 index 000000000000..d64569567334 --- /dev/null +++ b/distribution/launcher/THIRD-PARTY/com.fasterxml.jackson.core.jackson-databind-2.15.2/LICENSE @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed 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. diff --git a/distribution/launcher/THIRD-PARTY/com.fasterxml.jackson.core.jackson-databind-2.15.2/NOTICES b/distribution/launcher/THIRD-PARTY/com.fasterxml.jackson.core.jackson-databind-2.15.2/NOTICES new file mode 100644 index 000000000000..a7601ec67aaf --- /dev/null +++ b/distribution/launcher/THIRD-PARTY/com.fasterxml.jackson.core.jackson-databind-2.15.2/NOTICES @@ -0,0 +1,3 @@ +Copyright 2010 Google Inc. All Rights Reserved. + +Copyright 2011 Google Inc. All Rights Reserved. diff --git a/distribution/launcher/THIRD-PARTY/com.typesafe.akka.akka-protobuf-v3_2.13-2.6.20/COPYING.protobuf b/distribution/launcher/THIRD-PARTY/com.typesafe.akka.akka-protobuf-v3_2.13-2.6.20/COPYING.protobuf deleted file mode 100644 index 705db579c94f..000000000000 --- a/distribution/launcher/THIRD-PARTY/com.typesafe.akka.akka-protobuf-v3_2.13-2.6.20/COPYING.protobuf +++ /dev/null @@ -1,33 +0,0 @@ -Copyright 2008, Google Inc. -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are -met: - - * Redistributions of source code must retain the above copyright -notice, this list of conditions and the following disclaimer. - * 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. - * Neither the name of Google Inc. nor the names of its -contributors may be used to endorse or promote products derived from -this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -Code generated by the Protocol Buffer compiler is owned by the owner -of the input file used when generating it. This code is not -standalone and requires a support library to be linked with it. This -support library is itself covered by the above license. diff --git a/distribution/launcher/THIRD-PARTY/com.typesafe.akka.akka-stream_2.13-2.6.20/NOTICES b/distribution/launcher/THIRD-PARTY/com.typesafe.akka.akka-stream_2.13-2.6.20/NOTICES deleted file mode 100644 index 524d999be2a0..000000000000 --- a/distribution/launcher/THIRD-PARTY/com.typesafe.akka.akka-stream_2.13-2.6.20/NOTICES +++ /dev/null @@ -1 +0,0 @@ -Copyright (C) 2009-2022 Lightbend Inc. diff --git a/distribution/launcher/THIRD-PARTY/com.typesafe.ssl-config-core_2.13-0.4.3/NOTICES b/distribution/launcher/THIRD-PARTY/com.typesafe.ssl-config-core_2.13-0.4.3/NOTICES deleted file mode 100644 index cb8bfecd482c..000000000000 --- a/distribution/launcher/THIRD-PARTY/com.typesafe.ssl-config-core_2.13-0.4.3/NOTICES +++ /dev/null @@ -1 +0,0 @@ -Copyright (C) 2015 - 2020 Lightbend Inc. diff --git a/distribution/launcher/THIRD-PARTY/commons-codec.commons-codec-1.9/LICENSE.txt b/distribution/launcher/THIRD-PARTY/commons-codec.commons-codec-1.9/LICENSE.txt new file mode 100644 index 000000000000..d64569567334 --- /dev/null +++ b/distribution/launcher/THIRD-PARTY/commons-codec.commons-codec-1.9/LICENSE.txt @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed 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. diff --git a/distribution/launcher/THIRD-PARTY/commons-codec.commons-codec-1.9/NOTICE.txt b/distribution/launcher/THIRD-PARTY/commons-codec.commons-codec-1.9/NOTICE.txt new file mode 100644 index 000000000000..99edd4d2ee99 --- /dev/null +++ b/distribution/launcher/THIRD-PARTY/commons-codec.commons-codec-1.9/NOTICE.txt @@ -0,0 +1,9 @@ +Apache Commons Codec +Copyright 2002-2013 The Apache Software Foundation + +This product includes software developed at +The Apache Software Foundation (http://www.apache.org/). + +src/test/org/apache/commons/codec/language/DoubleMetaphoneTest.java +contains test data from http://aspell.net/test/orig/batch0.tab. +Copyright (C) 2002 Kevin Atkinson (kevina@gnu.org) diff --git a/distribution/launcher/THIRD-PARTY/commons-codec.commons-codec-1.9/NOTICES b/distribution/launcher/THIRD-PARTY/commons-codec.commons-codec-1.9/NOTICES new file mode 100644 index 000000000000..8cd8d66408c4 --- /dev/null +++ b/distribution/launcher/THIRD-PARTY/commons-codec.commons-codec-1.9/NOTICES @@ -0,0 +1 @@ +this work for additional information regarding copyright ownership. diff --git a/distribution/launcher/THIRD-PARTY/commons-logging.commons-logging-1.2/LICENSE.txt b/distribution/launcher/THIRD-PARTY/commons-logging.commons-logging-1.2/LICENSE.txt new file mode 100644 index 000000000000..d64569567334 --- /dev/null +++ b/distribution/launcher/THIRD-PARTY/commons-logging.commons-logging-1.2/LICENSE.txt @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed 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. diff --git a/distribution/launcher/THIRD-PARTY/commons-logging.commons-logging-1.2/NOTICE.txt b/distribution/launcher/THIRD-PARTY/commons-logging.commons-logging-1.2/NOTICE.txt new file mode 100644 index 000000000000..556bd03951d4 --- /dev/null +++ b/distribution/launcher/THIRD-PARTY/commons-logging.commons-logging-1.2/NOTICE.txt @@ -0,0 +1,6 @@ +Apache Commons Logging +Copyright 2003-2014 The Apache Software Foundation + +This product includes software developed at +The Apache Software Foundation (http://www.apache.org/). + diff --git a/distribution/launcher/THIRD-PARTY/commons-logging.commons-logging-1.2/NOTICES b/distribution/launcher/THIRD-PARTY/commons-logging.commons-logging-1.2/NOTICES new file mode 100644 index 000000000000..8cd8d66408c4 --- /dev/null +++ b/distribution/launcher/THIRD-PARTY/commons-logging.commons-logging-1.2/NOTICES @@ -0,0 +1 @@ +this work for additional information regarding copyright ownership. diff --git a/distribution/launcher/THIRD-PARTY/licenses/CC0 b/distribution/launcher/THIRD-PARTY/licenses/CC0 deleted file mode 100644 index 0e259d42c996..000000000000 --- a/distribution/launcher/THIRD-PARTY/licenses/CC0 +++ /dev/null @@ -1,121 +0,0 @@ -Creative Commons Legal Code - -CC0 1.0 Universal - - CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE - LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN - ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS - INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES - REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS - PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM - THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED - HEREUNDER. - -Statement of Purpose - -The laws of most jurisdictions throughout the world automatically confer -exclusive Copyright and Related Rights (defined below) upon the creator -and subsequent owner(s) (each and all, an "owner") of an original work of -authorship and/or a database (each, a "Work"). - -Certain owners wish to permanently relinquish those rights to a Work for -the purpose of contributing to a commons of creative, cultural and -scientific works ("Commons") that the public can reliably and without fear -of later claims of infringement build upon, modify, incorporate in other -works, reuse and redistribute as freely as possible in any form whatsoever -and for any purposes, including without limitation commercial purposes. -These owners may contribute to the Commons to promote the ideal of a free -culture and the further production of creative, cultural and scientific -works, or to gain reputation or greater distribution for their Work in -part through the use and efforts of others. - -For these and/or other purposes and motivations, and without any -expectation of additional consideration or compensation, the person -associating CC0 with a Work (the "Affirmer"), to the extent that he or she -is an owner of Copyright and Related Rights in the Work, voluntarily -elects to apply CC0 to the Work and publicly distribute the Work under its -terms, with knowledge of his or her Copyright and Related Rights in the -Work and the meaning and intended legal effect of CC0 on those rights. - -1. Copyright and Related Rights. A Work made available under CC0 may be -protected by copyright and related or neighboring rights ("Copyright and -Related Rights"). Copyright and Related Rights include, but are not -limited to, the following: - - i. the right to reproduce, adapt, distribute, perform, display, - communicate, and translate a Work; - ii. moral rights retained by the original author(s) and/or performer(s); -iii. publicity and privacy rights pertaining to a person's image or - likeness depicted in a Work; - iv. rights protecting against unfair competition in regards to a Work, - subject to the limitations in paragraph 4(a), below; - v. rights protecting the extraction, dissemination, use and reuse of data - in a Work; - vi. database rights (such as those arising under Directive 96/9/EC of the - European Parliament and of the Council of 11 March 1996 on the legal - protection of databases, and under any national implementation - thereof, including any amended or successor version of such - directive); and -vii. other similar, equivalent or corresponding rights throughout the - world based on applicable law or treaty, and any national - implementations thereof. - -2. Waiver. To the greatest extent permitted by, but not in contravention -of, applicable law, Affirmer hereby overtly, fully, permanently, -irrevocably and unconditionally waives, abandons, and surrenders all of -Affirmer's Copyright and Related Rights and associated claims and causes -of action, whether now known or unknown (including existing as well as -future claims and causes of action), in the Work (i) in all territories -worldwide, (ii) for the maximum duration provided by applicable law or -treaty (including future time extensions), (iii) in any current or future -medium and for any number of copies, and (iv) for any purpose whatsoever, -including without limitation commercial, advertising or promotional -purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each -member of the public at large and to the detriment of Affirmer's heirs and -successors, fully intending that such Waiver shall not be subject to -revocation, rescission, cancellation, termination, or any other legal or -equitable action to disrupt the quiet enjoyment of the Work by the public -as contemplated by Affirmer's express Statement of Purpose. - -3. Public License Fallback. Should any part of the Waiver for any reason -be judged legally invalid or ineffective under applicable law, then the -Waiver shall be preserved to the maximum extent permitted taking into -account Affirmer's express Statement of Purpose. In addition, to the -extent the Waiver is so judged Affirmer hereby grants to each affected -person a royalty-free, non transferable, non sublicensable, non exclusive, -irrevocable and unconditional license to exercise Affirmer's Copyright and -Related Rights in the Work (i) in all territories worldwide, (ii) for the -maximum duration provided by applicable law or treaty (including future -time extensions), (iii) in any current or future medium and for any number -of copies, and (iv) for any purpose whatsoever, including without -limitation commercial, advertising or promotional purposes (the -"License"). The License shall be deemed effective as of the date CC0 was -applied by Affirmer to the Work. Should any part of the License for any -reason be judged legally invalid or ineffective under applicable law, such -partial invalidity or ineffectiveness shall not invalidate the remainder -of the License, and in such case Affirmer hereby affirms that he or she -will not (i) exercise any of his or her remaining Copyright and Related -Rights in the Work or (ii) assert any associated claims and causes of -action with respect to the Work, in either case contrary to Affirmer's -express Statement of Purpose. - -4. Limitations and Disclaimers. - - a. No trademark or patent rights held by Affirmer are waived, abandoned, - surrendered, licensed or otherwise affected by this document. - b. Affirmer offers the Work as-is and makes no representations or - warranties of any kind concerning the Work, express, implied, - statutory or otherwise, including without limitation warranties of - title, merchantability, fitness for a particular purpose, non - infringement, or the absence of latent or other defects, accuracy, or - the present or absence of errors, whether or not discoverable, all to - the greatest extent permissible under applicable law. - c. Affirmer disclaims responsibility for clearing rights of other persons - that may apply to the Work or any use thereof, including without - limitation any person's Copyright and Related Rights in the Work. - Further, Affirmer disclaims responsibility for obtaining any necessary - consents, permissions or other rights required for any use of the - Work. - d. Affirmer understands and acknowledges that Creative Commons is not a - party to this document and has no duty or obligation with respect to - this CC0 or use of the Work. diff --git a/distribution/launcher/THIRD-PARTY/org.apache.commons.commons-lang3-3.12.0/LICENSE.txt b/distribution/launcher/THIRD-PARTY/org.apache.commons.commons-lang3-3.12.0/LICENSE.txt new file mode 100644 index 000000000000..d64569567334 --- /dev/null +++ b/distribution/launcher/THIRD-PARTY/org.apache.commons.commons-lang3-3.12.0/LICENSE.txt @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed 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. diff --git a/distribution/launcher/THIRD-PARTY/org.apache.commons.commons-lang3-3.12.0/NOTICES b/distribution/launcher/THIRD-PARTY/org.apache.commons.commons-lang3-3.12.0/NOTICES new file mode 100644 index 000000000000..8cd8d66408c4 --- /dev/null +++ b/distribution/launcher/THIRD-PARTY/org.apache.commons.commons-lang3-3.12.0/NOTICES @@ -0,0 +1 @@ +this work for additional information regarding copyright ownership. diff --git a/distribution/launcher/THIRD-PARTY/org.apache.commons.commons-text-1.10.0/LICENSE.txt b/distribution/launcher/THIRD-PARTY/org.apache.commons.commons-text-1.10.0/LICENSE.txt new file mode 100644 index 000000000000..d64569567334 --- /dev/null +++ b/distribution/launcher/THIRD-PARTY/org.apache.commons.commons-text-1.10.0/LICENSE.txt @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed 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. diff --git a/distribution/launcher/THIRD-PARTY/org.apache.commons.commons-text-1.10.0/NOTICE.txt b/distribution/launcher/THIRD-PARTY/org.apache.commons.commons-text-1.10.0/NOTICE.txt new file mode 100644 index 000000000000..4e1f8dbb8dec --- /dev/null +++ b/distribution/launcher/THIRD-PARTY/org.apache.commons.commons-text-1.10.0/NOTICE.txt @@ -0,0 +1,5 @@ +Apache Commons Text +Copyright 2014-2022 The Apache Software Foundation + +This product includes software developed at +The Apache Software Foundation (https://www.apache.org/). diff --git a/distribution/launcher/THIRD-PARTY/org.apache.commons.commons-text-1.10.0/NOTICES b/distribution/launcher/THIRD-PARTY/org.apache.commons.commons-text-1.10.0/NOTICES new file mode 100644 index 000000000000..8cd8d66408c4 --- /dev/null +++ b/distribution/launcher/THIRD-PARTY/org.apache.commons.commons-text-1.10.0/NOTICES @@ -0,0 +1 @@ +this work for additional information regarding copyright ownership. diff --git a/distribution/launcher/THIRD-PARTY/org.apache.httpcomponents.httpclient-4.4.1/LICENSE b/distribution/launcher/THIRD-PARTY/org.apache.httpcomponents.httpclient-4.4.1/LICENSE new file mode 100644 index 000000000000..d64569567334 --- /dev/null +++ b/distribution/launcher/THIRD-PARTY/org.apache.httpcomponents.httpclient-4.4.1/LICENSE @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed 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. diff --git a/distribution/launcher/THIRD-PARTY/org.apache.httpcomponents.httpclient-4.4.1/NOTICE b/distribution/launcher/THIRD-PARTY/org.apache.httpcomponents.httpclient-4.4.1/NOTICE new file mode 100644 index 000000000000..c05d4e6e933f --- /dev/null +++ b/distribution/launcher/THIRD-PARTY/org.apache.httpcomponents.httpclient-4.4.1/NOTICE @@ -0,0 +1,8 @@ + +Apache HttpClient +Copyright 1999-2015 The Apache Software Foundation + +This product includes software developed at +The Apache Software Foundation (http://www.apache.org/). + + diff --git a/distribution/launcher/THIRD-PARTY/org.apache.httpcomponents.httpclient-4.4.1/NOTICES b/distribution/launcher/THIRD-PARTY/org.apache.httpcomponents.httpclient-4.4.1/NOTICES new file mode 100644 index 000000000000..dc34027f6f18 --- /dev/null +++ b/distribution/launcher/THIRD-PARTY/org.apache.httpcomponents.httpclient-4.4.1/NOTICES @@ -0,0 +1 @@ +regarding copyright ownership. The ASF licenses this file diff --git a/distribution/launcher/THIRD-PARTY/org.apache.httpcomponents.httpcore-4.4.1/LICENSE b/distribution/launcher/THIRD-PARTY/org.apache.httpcomponents.httpcore-4.4.1/LICENSE new file mode 100644 index 000000000000..54e4285f2d6a --- /dev/null +++ b/distribution/launcher/THIRD-PARTY/org.apache.httpcomponents.httpcore-4.4.1/LICENSE @@ -0,0 +1,266 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed 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. + +========================================================================= + +This project contains annotations in the package org.apache.http.annotation +which are derived from JCIP-ANNOTATIONS +Copyright (c) 2005 Brian Goetz and Tim Peierls. +See http://www.jcip.net and the Creative Commons Attribution License +(http://creativecommons.org/licenses/by/2.5) +Full text: http://creativecommons.org/licenses/by/2.5/legalcode + +License + +THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED. + +BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS. + +1. Definitions + + "Collective Work" means a work, such as a periodical issue, anthology or encyclopedia, in which the Work in its entirety in unmodified form, along with a number of other contributions, constituting separate and independent works in themselves, are assembled into a collective whole. A work that constitutes a Collective Work will not be considered a Derivative Work (as defined below) for the purposes of this License. + "Derivative Work" means a work based upon the Work or upon the Work and other pre-existing works, such as a translation, musical arrangement, dramatization, fictionalization, motion picture version, sound recording, art reproduction, abridgment, condensation, or any other form in which the Work may be recast, transformed, or adapted, except that a work that constitutes a Collective Work will not be considered a Derivative Work for the purpose of this License. For the avoidance of doubt, where the Work is a musical composition or sound recording, the synchronization of the Work in timed-relation with a moving image ("synching") will be considered a Derivative Work for the purpose of this License. + "Licensor" means the individual or entity that offers the Work under the terms of this License. + "Original Author" means the individual or entity who created the Work. + "Work" means the copyrightable work of authorship offered under the terms of this License. + "You" means an individual or entity exercising rights under this License who has not previously violated the terms of this License with respect to the Work, or who has received express permission from the Licensor to exercise rights under this License despite a previous violation. + +2. Fair Use Rights. Nothing in this license is intended to reduce, limit, or restrict any rights arising from fair use, first sale or other limitations on the exclusive rights of the copyright owner under copyright law or other applicable laws. + +3. License Grant. Subject to the terms and conditions of this License, Licensor hereby grants You a worldwide, royalty-free, non-exclusive, perpetual (for the duration of the applicable copyright) license to exercise the rights in the Work as stated below: + + to reproduce the Work, to incorporate the Work into one or more Collective Works, and to reproduce the Work as incorporated in the Collective Works; + to create and reproduce Derivative Works; + to distribute copies or phonorecords of, display publicly, perform publicly, and perform publicly by means of a digital audio transmission the Work including as incorporated in Collective Works; + to distribute copies or phonorecords of, display publicly, perform publicly, and perform publicly by means of a digital audio transmission Derivative Works. + + For the avoidance of doubt, where the work is a musical composition: + Performance Royalties Under Blanket Licenses. Licensor waives the exclusive right to collect, whether individually or via a performance rights society (e.g. ASCAP, BMI, SESAC), royalties for the public performance or public digital performance (e.g. webcast) of the Work. + Mechanical Rights and Statutory Royalties. Licensor waives the exclusive right to collect, whether individually or via a music rights agency or designated agent (e.g. Harry Fox Agency), royalties for any phonorecord You create from the Work ("cover version") and distribute, subject to the compulsory license created by 17 USC Section 115 of the US Copyright Act (or the equivalent in other jurisdictions). + Webcasting Rights and Statutory Royalties. For the avoidance of doubt, where the Work is a sound recording, Licensor waives the exclusive right to collect, whether individually or via a performance-rights society (e.g. SoundExchange), royalties for the public digital performance (e.g. webcast) of the Work, subject to the compulsory license created by 17 USC Section 114 of the US Copyright Act (or the equivalent in other jurisdictions). + +The above rights may be exercised in all media and formats whether now known or hereafter devised. The above rights include the right to make such modifications as are technically necessary to exercise the rights in other media and formats. All rights not expressly granted by Licensor are hereby reserved. + +4. Restrictions.The license granted in Section 3 above is expressly made subject to and limited by the following restrictions: + + You may distribute, publicly display, publicly perform, or publicly digitally perform the Work only under the terms of this License, and You must include a copy of, or the Uniform Resource Identifier for, this License with every copy or phonorecord of the Work You distribute, publicly display, publicly perform, or publicly digitally perform. You may not offer or impose any terms on the Work that alter or restrict the terms of this License or the recipients' exercise of the rights granted hereunder. You may not sublicense the Work. You must keep intact all notices that refer to this License and to the disclaimer of warranties. You may not distribute, publicly display, publicly perform, or publicly digitally perform the Work with any technological measures that control access or use of the Work in a manner inconsistent with the terms of this License Agreement. The above applies to the Work as incorporated in a Collective Work, but this does not require the Collective Work apart from the Work itself to be made subject to the terms of this License. If You create a Collective Work, upon notice from any Licensor You must, to the extent practicable, remove from the Collective Work any credit as required by clause 4(b), as requested. If You create a Derivative Work, upon notice from any Licensor You must, to the extent practicable, remove from the Derivative Work any credit as required by clause 4(b), as requested. + If you distribute, publicly display, publicly perform, or publicly digitally perform the Work or any Derivative Works or Collective Works, You must keep intact all copyright notices for the Work and provide, reasonable to the medium or means You are utilizing: (i) the name of the Original Author (or pseudonym, if applicable) if supplied, and/or (ii) if the Original Author and/or Licensor designate another party or parties (e.g. a sponsor institute, publishing entity, journal) for attribution in Licensor's copyright notice, terms of service or by other reasonable means, the name of such party or parties; the title of the Work if supplied; to the extent reasonably practicable, the Uniform Resource Identifier, if any, that Licensor specifies to be associated with the Work, unless such URI does not refer to the copyright notice or licensing information for the Work; and in the case of a Derivative Work, a credit identifying the use of the Work in the Derivative Work (e.g., "French translation of the Work by Original Author," or "Screenplay based on original Work by Original Author"). Such credit may be implemented in any reasonable manner; provided, however, that in the case of a Derivative Work or Collective Work, at a minimum such credit will appear where any other comparable authorship credit appears and in a manner at least as prominent as such other comparable authorship credit. + +5. Representations, Warranties and Disclaimer + +UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, LICENSOR OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY, FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF LATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS, WHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU. + +6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + +7. Termination + + This License and the rights granted hereunder will terminate automatically upon any breach by You of the terms of this License. Individuals or entities who have received Derivative Works or Collective Works from You under this License, however, will not have their licenses terminated provided such individuals or entities remain in full compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will survive any termination of this License. + Subject to the above terms and conditions, the license granted here is perpetual (for the duration of the applicable copyright in the Work). Notwithstanding the above, Licensor reserves the right to release the Work under different license terms or to stop distributing the Work at any time; provided, however that any such election will not serve to withdraw this License (or any other license that has been, or is required to be, granted under the terms of this License), and this License will continue in full force and effect unless terminated as stated above. + +8. Miscellaneous + + Each time You distribute or publicly digitally perform the Work or a Collective Work, the Licensor offers to the recipient a license to the Work on the same terms and conditions as the license granted to You under this License. + Each time You distribute or publicly digitally perform a Derivative Work, Licensor offers to the recipient a license to the original Work on the same terms and conditions as the license granted to You under this License. + If any provision of this License is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this License, and without further action by the parties to this agreement, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable. + No term or provision of this License shall be deemed waived and no breach consented to unless such waiver or consent shall be in writing and signed by the party to be charged with such waiver or consent. + This License constitutes the entire agreement between the parties with respect to the Work licensed here. There are no understandings, agreements or representations with respect to the Work not specified here. Licensor shall not be bound by any additional provisions that may appear in any communication from You. This License may not be modified without the mutual written agreement of the Licensor and You. diff --git a/distribution/launcher/THIRD-PARTY/org.apache.httpcomponents.httpcore-4.4.1/NOTICE b/distribution/launcher/THIRD-PARTY/org.apache.httpcomponents.httpcore-4.4.1/NOTICE new file mode 100644 index 000000000000..976db53ee327 --- /dev/null +++ b/distribution/launcher/THIRD-PARTY/org.apache.httpcomponents.httpcore-4.4.1/NOTICE @@ -0,0 +1,10 @@ + +Apache HttpCore +Copyright 2005-2015 The Apache Software Foundation + +This product includes software developed at +The Apache Software Foundation (http://www.apache.org/). + + +This project contains annotations derived from JCIP-ANNOTATIONS +Copyright (c) 2005 Brian Goetz and Tim Peierls. See http://www.jcip.net diff --git a/distribution/launcher/THIRD-PARTY/org.apache.httpcomponents.httpcore-4.4.1/NOTICES b/distribution/launcher/THIRD-PARTY/org.apache.httpcomponents.httpcore-4.4.1/NOTICES new file mode 100644 index 000000000000..dc34027f6f18 --- /dev/null +++ b/distribution/launcher/THIRD-PARTY/org.apache.httpcomponents.httpcore-4.4.1/NOTICES @@ -0,0 +1 @@ +regarding copyright ownership. The ASF licenses this file diff --git a/distribution/launcher/THIRD-PARTY/org.reactivestreams.reactive-streams-1.0.3/NOTICES b/distribution/launcher/THIRD-PARTY/org.reactivestreams.reactive-streams-1.0.3/NOTICES deleted file mode 100644 index bd0a85c0c769..000000000000 --- a/distribution/launcher/THIRD-PARTY/org.reactivestreams.reactive-streams-1.0.3/NOTICES +++ /dev/null @@ -1,10 +0,0 @@ -/************************************************************************ - * Licensed under Public Domain (CC0) * - * * - * To the extent possible under law, the person who associated CC0 with * - * this code has waived all copyright and related or neighboring * - * rights to this code. * - * * - * You should have received a copy of the CC0 legalcode along with this * - * work. If not, see .* - ************************************************************************/ diff --git a/distribution/project-manager/THIRD-PARTY/NOTICE b/distribution/project-manager/THIRD-PARTY/NOTICE index baebff70cde4..696453d3e885 100644 --- a/distribution/project-manager/THIRD-PARTY/NOTICE +++ b/distribution/project-manager/THIRD-PARTY/NOTICE @@ -156,11 +156,21 @@ The license file can be found at `licenses/APACHE2.0`. Copyright notices related to this dependency can be found in the directory `commons-cli.commons-cli-1.5.0`. +'commons-codec', licensed under the The Apache Software License, Version 2.0, is distributed with the project-manager. +The license information can be found along with the copyright notices. +Copyright notices related to this dependency can be found in the directory `commons-codec.commons-codec-1.9`. + + 'commons-io', licensed under the Apache-2.0, is distributed with the project-manager. The license information can be found along with the copyright notices. Copyright notices related to this dependency can be found in the directory `commons-io.commons-io-2.12.0`. +'commons-logging', licensed under the The Apache Software License, Version 2.0, is distributed with the project-manager. +The license information can be found along with the copyright notices. +Copyright notices related to this dependency can be found in the directory `commons-logging.commons-logging-1.2`. + + 'izumi-reflect-thirdparty-boopickle-shaded_2.13', licensed under the Apache-2.0, is distributed with the project-manager. The license file can be found at `licenses/APACHE2.0`. Copyright notices related to this dependency can be found in the directory `dev.zio.izumi-reflect-thirdparty-boopickle-shaded_2.13-2.3.8`. @@ -246,6 +256,21 @@ The license information can be found along with the copyright notices. Copyright notices related to this dependency can be found in the directory `org.apache.commons.commons-lang3-3.12.0`. +'commons-text', licensed under the Apache License, Version 2.0, is distributed with the project-manager. +The license information can be found along with the copyright notices. +Copyright notices related to this dependency can be found in the directory `org.apache.commons.commons-text-1.10.0`. + + +'httpclient', licensed under the Apache License, Version 2.0, is distributed with the project-manager. +The license information can be found along with the copyright notices. +Copyright notices related to this dependency can be found in the directory `org.apache.httpcomponents.httpclient-4.4.1`. + + +'httpcore', licensed under the Apache License, Version 2.0, is distributed with the project-manager. +The license information can be found along with the copyright notices. +Copyright notices related to this dependency can be found in the directory `org.apache.httpcomponents.httpcore-4.4.1`. + + 'polyglot', licensed under the Universal Permissive License, Version 1.0, is distributed with the project-manager. The license file can be found at `licenses/Universal_Permissive_License__Version_1.0`. Copyright notices related to this dependency can be found in the directory `org.graalvm.polyglot.polyglot-23.1.0`. diff --git a/distribution/project-manager/THIRD-PARTY/commons-codec.commons-codec-1.9/LICENSE.txt b/distribution/project-manager/THIRD-PARTY/commons-codec.commons-codec-1.9/LICENSE.txt new file mode 100644 index 000000000000..d64569567334 --- /dev/null +++ b/distribution/project-manager/THIRD-PARTY/commons-codec.commons-codec-1.9/LICENSE.txt @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed 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. diff --git a/distribution/project-manager/THIRD-PARTY/commons-codec.commons-codec-1.9/NOTICE.txt b/distribution/project-manager/THIRD-PARTY/commons-codec.commons-codec-1.9/NOTICE.txt new file mode 100644 index 000000000000..99edd4d2ee99 --- /dev/null +++ b/distribution/project-manager/THIRD-PARTY/commons-codec.commons-codec-1.9/NOTICE.txt @@ -0,0 +1,9 @@ +Apache Commons Codec +Copyright 2002-2013 The Apache Software Foundation + +This product includes software developed at +The Apache Software Foundation (http://www.apache.org/). + +src/test/org/apache/commons/codec/language/DoubleMetaphoneTest.java +contains test data from http://aspell.net/test/orig/batch0.tab. +Copyright (C) 2002 Kevin Atkinson (kevina@gnu.org) diff --git a/distribution/project-manager/THIRD-PARTY/commons-codec.commons-codec-1.9/NOTICES b/distribution/project-manager/THIRD-PARTY/commons-codec.commons-codec-1.9/NOTICES new file mode 100644 index 000000000000..8cd8d66408c4 --- /dev/null +++ b/distribution/project-manager/THIRD-PARTY/commons-codec.commons-codec-1.9/NOTICES @@ -0,0 +1 @@ +this work for additional information regarding copyright ownership. diff --git a/distribution/project-manager/THIRD-PARTY/commons-logging.commons-logging-1.2/LICENSE.txt b/distribution/project-manager/THIRD-PARTY/commons-logging.commons-logging-1.2/LICENSE.txt new file mode 100644 index 000000000000..d64569567334 --- /dev/null +++ b/distribution/project-manager/THIRD-PARTY/commons-logging.commons-logging-1.2/LICENSE.txt @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed 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. diff --git a/distribution/project-manager/THIRD-PARTY/commons-logging.commons-logging-1.2/NOTICE.txt b/distribution/project-manager/THIRD-PARTY/commons-logging.commons-logging-1.2/NOTICE.txt new file mode 100644 index 000000000000..556bd03951d4 --- /dev/null +++ b/distribution/project-manager/THIRD-PARTY/commons-logging.commons-logging-1.2/NOTICE.txt @@ -0,0 +1,6 @@ +Apache Commons Logging +Copyright 2003-2014 The Apache Software Foundation + +This product includes software developed at +The Apache Software Foundation (http://www.apache.org/). + diff --git a/distribution/project-manager/THIRD-PARTY/commons-logging.commons-logging-1.2/NOTICES b/distribution/project-manager/THIRD-PARTY/commons-logging.commons-logging-1.2/NOTICES new file mode 100644 index 000000000000..8cd8d66408c4 --- /dev/null +++ b/distribution/project-manager/THIRD-PARTY/commons-logging.commons-logging-1.2/NOTICES @@ -0,0 +1 @@ +this work for additional information regarding copyright ownership. diff --git a/distribution/project-manager/THIRD-PARTY/org.apache.commons.commons-text-1.10.0/LICENSE.txt b/distribution/project-manager/THIRD-PARTY/org.apache.commons.commons-text-1.10.0/LICENSE.txt new file mode 100644 index 000000000000..d64569567334 --- /dev/null +++ b/distribution/project-manager/THIRD-PARTY/org.apache.commons.commons-text-1.10.0/LICENSE.txt @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed 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. diff --git a/distribution/project-manager/THIRD-PARTY/org.apache.commons.commons-text-1.10.0/NOTICE.txt b/distribution/project-manager/THIRD-PARTY/org.apache.commons.commons-text-1.10.0/NOTICE.txt new file mode 100644 index 000000000000..4e1f8dbb8dec --- /dev/null +++ b/distribution/project-manager/THIRD-PARTY/org.apache.commons.commons-text-1.10.0/NOTICE.txt @@ -0,0 +1,5 @@ +Apache Commons Text +Copyright 2014-2022 The Apache Software Foundation + +This product includes software developed at +The Apache Software Foundation (https://www.apache.org/). diff --git a/distribution/project-manager/THIRD-PARTY/org.apache.commons.commons-text-1.10.0/NOTICES b/distribution/project-manager/THIRD-PARTY/org.apache.commons.commons-text-1.10.0/NOTICES new file mode 100644 index 000000000000..8cd8d66408c4 --- /dev/null +++ b/distribution/project-manager/THIRD-PARTY/org.apache.commons.commons-text-1.10.0/NOTICES @@ -0,0 +1 @@ +this work for additional information regarding copyright ownership. diff --git a/distribution/project-manager/THIRD-PARTY/org.apache.httpcomponents.httpclient-4.4.1/LICENSE b/distribution/project-manager/THIRD-PARTY/org.apache.httpcomponents.httpclient-4.4.1/LICENSE new file mode 100644 index 000000000000..d64569567334 --- /dev/null +++ b/distribution/project-manager/THIRD-PARTY/org.apache.httpcomponents.httpclient-4.4.1/LICENSE @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed 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. diff --git a/distribution/project-manager/THIRD-PARTY/org.apache.httpcomponents.httpclient-4.4.1/NOTICE b/distribution/project-manager/THIRD-PARTY/org.apache.httpcomponents.httpclient-4.4.1/NOTICE new file mode 100644 index 000000000000..c05d4e6e933f --- /dev/null +++ b/distribution/project-manager/THIRD-PARTY/org.apache.httpcomponents.httpclient-4.4.1/NOTICE @@ -0,0 +1,8 @@ + +Apache HttpClient +Copyright 1999-2015 The Apache Software Foundation + +This product includes software developed at +The Apache Software Foundation (http://www.apache.org/). + + diff --git a/distribution/project-manager/THIRD-PARTY/org.apache.httpcomponents.httpclient-4.4.1/NOTICES b/distribution/project-manager/THIRD-PARTY/org.apache.httpcomponents.httpclient-4.4.1/NOTICES new file mode 100644 index 000000000000..dc34027f6f18 --- /dev/null +++ b/distribution/project-manager/THIRD-PARTY/org.apache.httpcomponents.httpclient-4.4.1/NOTICES @@ -0,0 +1 @@ +regarding copyright ownership. The ASF licenses this file diff --git a/distribution/project-manager/THIRD-PARTY/org.apache.httpcomponents.httpcore-4.4.1/LICENSE b/distribution/project-manager/THIRD-PARTY/org.apache.httpcomponents.httpcore-4.4.1/LICENSE new file mode 100644 index 000000000000..54e4285f2d6a --- /dev/null +++ b/distribution/project-manager/THIRD-PARTY/org.apache.httpcomponents.httpcore-4.4.1/LICENSE @@ -0,0 +1,266 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed 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. + +========================================================================= + +This project contains annotations in the package org.apache.http.annotation +which are derived from JCIP-ANNOTATIONS +Copyright (c) 2005 Brian Goetz and Tim Peierls. +See http://www.jcip.net and the Creative Commons Attribution License +(http://creativecommons.org/licenses/by/2.5) +Full text: http://creativecommons.org/licenses/by/2.5/legalcode + +License + +THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED. + +BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS. + +1. Definitions + + "Collective Work" means a work, such as a periodical issue, anthology or encyclopedia, in which the Work in its entirety in unmodified form, along with a number of other contributions, constituting separate and independent works in themselves, are assembled into a collective whole. A work that constitutes a Collective Work will not be considered a Derivative Work (as defined below) for the purposes of this License. + "Derivative Work" means a work based upon the Work or upon the Work and other pre-existing works, such as a translation, musical arrangement, dramatization, fictionalization, motion picture version, sound recording, art reproduction, abridgment, condensation, or any other form in which the Work may be recast, transformed, or adapted, except that a work that constitutes a Collective Work will not be considered a Derivative Work for the purpose of this License. For the avoidance of doubt, where the Work is a musical composition or sound recording, the synchronization of the Work in timed-relation with a moving image ("synching") will be considered a Derivative Work for the purpose of this License. + "Licensor" means the individual or entity that offers the Work under the terms of this License. + "Original Author" means the individual or entity who created the Work. + "Work" means the copyrightable work of authorship offered under the terms of this License. + "You" means an individual or entity exercising rights under this License who has not previously violated the terms of this License with respect to the Work, or who has received express permission from the Licensor to exercise rights under this License despite a previous violation. + +2. Fair Use Rights. Nothing in this license is intended to reduce, limit, or restrict any rights arising from fair use, first sale or other limitations on the exclusive rights of the copyright owner under copyright law or other applicable laws. + +3. License Grant. Subject to the terms and conditions of this License, Licensor hereby grants You a worldwide, royalty-free, non-exclusive, perpetual (for the duration of the applicable copyright) license to exercise the rights in the Work as stated below: + + to reproduce the Work, to incorporate the Work into one or more Collective Works, and to reproduce the Work as incorporated in the Collective Works; + to create and reproduce Derivative Works; + to distribute copies or phonorecords of, display publicly, perform publicly, and perform publicly by means of a digital audio transmission the Work including as incorporated in Collective Works; + to distribute copies or phonorecords of, display publicly, perform publicly, and perform publicly by means of a digital audio transmission Derivative Works. + + For the avoidance of doubt, where the work is a musical composition: + Performance Royalties Under Blanket Licenses. Licensor waives the exclusive right to collect, whether individually or via a performance rights society (e.g. ASCAP, BMI, SESAC), royalties for the public performance or public digital performance (e.g. webcast) of the Work. + Mechanical Rights and Statutory Royalties. Licensor waives the exclusive right to collect, whether individually or via a music rights agency or designated agent (e.g. Harry Fox Agency), royalties for any phonorecord You create from the Work ("cover version") and distribute, subject to the compulsory license created by 17 USC Section 115 of the US Copyright Act (or the equivalent in other jurisdictions). + Webcasting Rights and Statutory Royalties. For the avoidance of doubt, where the Work is a sound recording, Licensor waives the exclusive right to collect, whether individually or via a performance-rights society (e.g. SoundExchange), royalties for the public digital performance (e.g. webcast) of the Work, subject to the compulsory license created by 17 USC Section 114 of the US Copyright Act (or the equivalent in other jurisdictions). + +The above rights may be exercised in all media and formats whether now known or hereafter devised. The above rights include the right to make such modifications as are technically necessary to exercise the rights in other media and formats. All rights not expressly granted by Licensor are hereby reserved. + +4. Restrictions.The license granted in Section 3 above is expressly made subject to and limited by the following restrictions: + + You may distribute, publicly display, publicly perform, or publicly digitally perform the Work only under the terms of this License, and You must include a copy of, or the Uniform Resource Identifier for, this License with every copy or phonorecord of the Work You distribute, publicly display, publicly perform, or publicly digitally perform. You may not offer or impose any terms on the Work that alter or restrict the terms of this License or the recipients' exercise of the rights granted hereunder. You may not sublicense the Work. You must keep intact all notices that refer to this License and to the disclaimer of warranties. You may not distribute, publicly display, publicly perform, or publicly digitally perform the Work with any technological measures that control access or use of the Work in a manner inconsistent with the terms of this License Agreement. The above applies to the Work as incorporated in a Collective Work, but this does not require the Collective Work apart from the Work itself to be made subject to the terms of this License. If You create a Collective Work, upon notice from any Licensor You must, to the extent practicable, remove from the Collective Work any credit as required by clause 4(b), as requested. If You create a Derivative Work, upon notice from any Licensor You must, to the extent practicable, remove from the Derivative Work any credit as required by clause 4(b), as requested. + If you distribute, publicly display, publicly perform, or publicly digitally perform the Work or any Derivative Works or Collective Works, You must keep intact all copyright notices for the Work and provide, reasonable to the medium or means You are utilizing: (i) the name of the Original Author (or pseudonym, if applicable) if supplied, and/or (ii) if the Original Author and/or Licensor designate another party or parties (e.g. a sponsor institute, publishing entity, journal) for attribution in Licensor's copyright notice, terms of service or by other reasonable means, the name of such party or parties; the title of the Work if supplied; to the extent reasonably practicable, the Uniform Resource Identifier, if any, that Licensor specifies to be associated with the Work, unless such URI does not refer to the copyright notice or licensing information for the Work; and in the case of a Derivative Work, a credit identifying the use of the Work in the Derivative Work (e.g., "French translation of the Work by Original Author," or "Screenplay based on original Work by Original Author"). Such credit may be implemented in any reasonable manner; provided, however, that in the case of a Derivative Work or Collective Work, at a minimum such credit will appear where any other comparable authorship credit appears and in a manner at least as prominent as such other comparable authorship credit. + +5. Representations, Warranties and Disclaimer + +UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, LICENSOR OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY, FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF LATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS, WHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU. + +6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + +7. Termination + + This License and the rights granted hereunder will terminate automatically upon any breach by You of the terms of this License. Individuals or entities who have received Derivative Works or Collective Works from You under this License, however, will not have their licenses terminated provided such individuals or entities remain in full compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will survive any termination of this License. + Subject to the above terms and conditions, the license granted here is perpetual (for the duration of the applicable copyright in the Work). Notwithstanding the above, Licensor reserves the right to release the Work under different license terms or to stop distributing the Work at any time; provided, however that any such election will not serve to withdraw this License (or any other license that has been, or is required to be, granted under the terms of this License), and this License will continue in full force and effect unless terminated as stated above. + +8. Miscellaneous + + Each time You distribute or publicly digitally perform the Work or a Collective Work, the Licensor offers to the recipient a license to the Work on the same terms and conditions as the license granted to You under this License. + Each time You distribute or publicly digitally perform a Derivative Work, Licensor offers to the recipient a license to the original Work on the same terms and conditions as the license granted to You under this License. + If any provision of this License is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this License, and without further action by the parties to this agreement, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable. + No term or provision of this License shall be deemed waived and no breach consented to unless such waiver or consent shall be in writing and signed by the party to be charged with such waiver or consent. + This License constitutes the entire agreement between the parties with respect to the Work licensed here. There are no understandings, agreements or representations with respect to the Work not specified here. Licensor shall not be bound by any additional provisions that may appear in any communication from You. This License may not be modified without the mutual written agreement of the Licensor and You. diff --git a/distribution/project-manager/THIRD-PARTY/org.apache.httpcomponents.httpcore-4.4.1/NOTICE b/distribution/project-manager/THIRD-PARTY/org.apache.httpcomponents.httpcore-4.4.1/NOTICE new file mode 100644 index 000000000000..976db53ee327 --- /dev/null +++ b/distribution/project-manager/THIRD-PARTY/org.apache.httpcomponents.httpcore-4.4.1/NOTICE @@ -0,0 +1,10 @@ + +Apache HttpCore +Copyright 2005-2015 The Apache Software Foundation + +This product includes software developed at +The Apache Software Foundation (http://www.apache.org/). + + +This project contains annotations derived from JCIP-ANNOTATIONS +Copyright (c) 2005 Brian Goetz and Tim Peierls. See http://www.jcip.net diff --git a/distribution/project-manager/THIRD-PARTY/org.apache.httpcomponents.httpcore-4.4.1/NOTICES b/distribution/project-manager/THIRD-PARTY/org.apache.httpcomponents.httpcore-4.4.1/NOTICES new file mode 100644 index 000000000000..dc34027f6f18 --- /dev/null +++ b/distribution/project-manager/THIRD-PARTY/org.apache.httpcomponents.httpcore-4.4.1/NOTICES @@ -0,0 +1 @@ +regarding copyright ownership. The ASF licenses this file diff --git a/tools/legal-review/engine/commons-codec.commons-codec-1.9/copyright-keep b/tools/legal-review/engine/commons-codec.commons-codec-1.9/copyright-keep new file mode 100644 index 000000000000..8cd8d66408c4 --- /dev/null +++ b/tools/legal-review/engine/commons-codec.commons-codec-1.9/copyright-keep @@ -0,0 +1 @@ +this work for additional information regarding copyright ownership. diff --git a/tools/legal-review/engine/commons-codec.commons-codec-1.9/custom-license b/tools/legal-review/engine/commons-codec.commons-codec-1.9/custom-license new file mode 100644 index 000000000000..35252fda76e8 --- /dev/null +++ b/tools/legal-review/engine/commons-codec.commons-codec-1.9/custom-license @@ -0,0 +1 @@ +LICENSE.txt diff --git a/tools/legal-review/engine/commons-codec.commons-codec-1.9/files-keep b/tools/legal-review/engine/commons-codec.commons-codec-1.9/files-keep new file mode 100644 index 000000000000..e5a53c1b1767 --- /dev/null +++ b/tools/legal-review/engine/commons-codec.commons-codec-1.9/files-keep @@ -0,0 +1,2 @@ +META-INF/LICENSE.txt +META-INF/NOTICE.txt diff --git a/tools/legal-review/engine/commons-logging.commons-logging-1.2/copyright-keep b/tools/legal-review/engine/commons-logging.commons-logging-1.2/copyright-keep new file mode 100644 index 000000000000..8cd8d66408c4 --- /dev/null +++ b/tools/legal-review/engine/commons-logging.commons-logging-1.2/copyright-keep @@ -0,0 +1 @@ +this work for additional information regarding copyright ownership. diff --git a/tools/legal-review/engine/commons-logging.commons-logging-1.2/custom-license b/tools/legal-review/engine/commons-logging.commons-logging-1.2/custom-license new file mode 100644 index 000000000000..35252fda76e8 --- /dev/null +++ b/tools/legal-review/engine/commons-logging.commons-logging-1.2/custom-license @@ -0,0 +1 @@ +LICENSE.txt diff --git a/tools/legal-review/engine/commons-logging.commons-logging-1.2/files-keep b/tools/legal-review/engine/commons-logging.commons-logging-1.2/files-keep new file mode 100644 index 000000000000..6de1a981f47b --- /dev/null +++ b/tools/legal-review/engine/commons-logging.commons-logging-1.2/files-keep @@ -0,0 +1,2 @@ +META-INF/NOTICE.txt +META-INF/LICENSE.txt diff --git a/tools/legal-review/engine/org.apache.commons.commons-text-1.10.0/copyright-ignore b/tools/legal-review/engine/org.apache.commons.commons-text-1.10.0/copyright-ignore new file mode 100644 index 000000000000..9b4074024947 --- /dev/null +++ b/tools/legal-review/engine/org.apache.commons.commons-text-1.10.0/copyright-ignore @@ -0,0 +1 @@ +initialMap.put("\u00A9", "©"); // © - copyright sign diff --git a/tools/legal-review/engine/org.apache.commons.commons-text-1.10.0/copyright-keep b/tools/legal-review/engine/org.apache.commons.commons-text-1.10.0/copyright-keep new file mode 100644 index 000000000000..8cd8d66408c4 --- /dev/null +++ b/tools/legal-review/engine/org.apache.commons.commons-text-1.10.0/copyright-keep @@ -0,0 +1 @@ +this work for additional information regarding copyright ownership. diff --git a/tools/legal-review/engine/org.apache.commons.commons-text-1.10.0/custom-license b/tools/legal-review/engine/org.apache.commons.commons-text-1.10.0/custom-license new file mode 100644 index 000000000000..35252fda76e8 --- /dev/null +++ b/tools/legal-review/engine/org.apache.commons.commons-text-1.10.0/custom-license @@ -0,0 +1 @@ +LICENSE.txt diff --git a/tools/legal-review/engine/org.apache.commons.commons-text-1.10.0/files-keep b/tools/legal-review/engine/org.apache.commons.commons-text-1.10.0/files-keep new file mode 100644 index 000000000000..e5a53c1b1767 --- /dev/null +++ b/tools/legal-review/engine/org.apache.commons.commons-text-1.10.0/files-keep @@ -0,0 +1,2 @@ +META-INF/LICENSE.txt +META-INF/NOTICE.txt diff --git a/tools/legal-review/engine/org.apache.httpcomponents.httpclient-4.4.1/copyright-keep b/tools/legal-review/engine/org.apache.httpcomponents.httpclient-4.4.1/copyright-keep new file mode 100644 index 000000000000..dc34027f6f18 --- /dev/null +++ b/tools/legal-review/engine/org.apache.httpcomponents.httpclient-4.4.1/copyright-keep @@ -0,0 +1 @@ +regarding copyright ownership. The ASF licenses this file diff --git a/tools/legal-review/launcher/com.typesafe.akka.akka-protobuf-v3_2.13-2.6.20/custom-license b/tools/legal-review/engine/org.apache.httpcomponents.httpclient-4.4.1/custom-license similarity index 100% rename from tools/legal-review/launcher/com.typesafe.akka.akka-protobuf-v3_2.13-2.6.20/custom-license rename to tools/legal-review/engine/org.apache.httpcomponents.httpclient-4.4.1/custom-license diff --git a/tools/legal-review/engine/org.apache.httpcomponents.httpclient-4.4.1/files-keep b/tools/legal-review/engine/org.apache.httpcomponents.httpclient-4.4.1/files-keep new file mode 100644 index 000000000000..26e9c87b6125 --- /dev/null +++ b/tools/legal-review/engine/org.apache.httpcomponents.httpclient-4.4.1/files-keep @@ -0,0 +1,2 @@ +META-INF/NOTICE +META-INF/LICENSE diff --git a/tools/legal-review/engine/org.apache.httpcomponents.httpcore-4.4.1/copyright-ignore b/tools/legal-review/engine/org.apache.httpcomponents.httpcore-4.4.1/copyright-ignore new file mode 100644 index 000000000000..dc34027f6f18 --- /dev/null +++ b/tools/legal-review/engine/org.apache.httpcomponents.httpcore-4.4.1/copyright-ignore @@ -0,0 +1 @@ +regarding copyright ownership. The ASF licenses this file diff --git a/tools/legal-review/engine/org.apache.httpcomponents.httpcore-4.4.1/custom-license b/tools/legal-review/engine/org.apache.httpcomponents.httpcore-4.4.1/custom-license new file mode 100644 index 000000000000..6b1d0bfabc3c --- /dev/null +++ b/tools/legal-review/engine/org.apache.httpcomponents.httpcore-4.4.1/custom-license @@ -0,0 +1 @@ +LICENSE diff --git a/tools/legal-review/engine/org.apache.httpcomponents.httpcore-4.4.1/files-keep b/tools/legal-review/engine/org.apache.httpcomponents.httpcore-4.4.1/files-keep new file mode 100644 index 000000000000..26e9c87b6125 --- /dev/null +++ b/tools/legal-review/engine/org.apache.httpcomponents.httpcore-4.4.1/files-keep @@ -0,0 +1,2 @@ +META-INF/NOTICE +META-INF/LICENSE diff --git a/tools/legal-review/engine/org.reactivestreams.reactive-streams-1.0.3/copyright-keep-context b/tools/legal-review/engine/org.reactivestreams.reactive-streams-1.0.3/copyright-keep-context deleted file mode 100644 index 2d1291cd5315..000000000000 --- a/tools/legal-review/engine/org.reactivestreams.reactive-streams-1.0.3/copyright-keep-context +++ /dev/null @@ -1 +0,0 @@ -this code has waived all copyright and related or neighboring * diff --git a/tools/legal-review/engine/report-state b/tools/legal-review/engine/report-state index 769657194d34..1226e9f6cf97 100644 --- a/tools/legal-review/engine/report-state +++ b/tools/legal-review/engine/report-state @@ -1,3 +1,3 @@ -D8B011DD7E11E226FD042DCDEE28B22C5D74D2B7A666346317619CCB487832C4 -0035ED295654FAACCD79D0DA6D2CDDA8E2EC8D0BA9254722FB55C6F622A68B94 +9D4A89A8F80E6F07E66CA7135685EB4463596F7E9FA110DDDC1FCE1ADF77ACA0 +43B92FA2A02B8E1C08763E382CE34F3398CBB31E256B5D80994608F661C1FF80 0 diff --git a/tools/legal-review/launcher/com.fasterxml.jackson.core.jackson-annotations-2.15.2/custom-license b/tools/legal-review/launcher/com.fasterxml.jackson.core.jackson-annotations-2.15.2/custom-license new file mode 100644 index 000000000000..6b1d0bfabc3c --- /dev/null +++ b/tools/legal-review/launcher/com.fasterxml.jackson.core.jackson-annotations-2.15.2/custom-license @@ -0,0 +1 @@ +LICENSE diff --git a/tools/legal-review/launcher/com.fasterxml.jackson.core.jackson-annotations-2.15.2/files-keep b/tools/legal-review/launcher/com.fasterxml.jackson.core.jackson-annotations-2.15.2/files-keep new file mode 100644 index 000000000000..26e9c87b6125 --- /dev/null +++ b/tools/legal-review/launcher/com.fasterxml.jackson.core.jackson-annotations-2.15.2/files-keep @@ -0,0 +1,2 @@ +META-INF/NOTICE +META-INF/LICENSE diff --git a/tools/legal-review/launcher/com.fasterxml.jackson.core.jackson-core-2.15.2/copyright-keep b/tools/legal-review/launcher/com.fasterxml.jackson.core.jackson-core-2.15.2/copyright-keep new file mode 100644 index 000000000000..841ee99764e1 --- /dev/null +++ b/tools/legal-review/launcher/com.fasterxml.jackson.core.jackson-core-2.15.2/copyright-keep @@ -0,0 +1,2 @@ +Copyright (c) 2007- Tatu Saloranta, tatu.saloranta@iki.fi +Copyright 2018-2020 Raffaello Giulietti diff --git a/tools/legal-review/launcher/com.fasterxml.jackson.core.jackson-core-2.15.2/custom-license b/tools/legal-review/launcher/com.fasterxml.jackson.core.jackson-core-2.15.2/custom-license new file mode 100644 index 000000000000..6b1d0bfabc3c --- /dev/null +++ b/tools/legal-review/launcher/com.fasterxml.jackson.core.jackson-core-2.15.2/custom-license @@ -0,0 +1 @@ +LICENSE diff --git a/tools/legal-review/launcher/com.fasterxml.jackson.core.jackson-core-2.15.2/files-keep b/tools/legal-review/launcher/com.fasterxml.jackson.core.jackson-core-2.15.2/files-keep new file mode 100644 index 000000000000..bda60d5f21cb --- /dev/null +++ b/tools/legal-review/launcher/com.fasterxml.jackson.core.jackson-core-2.15.2/files-keep @@ -0,0 +1,3 @@ +META-INF/jackson-core-LICENSE +META-INF/jackson-core-NOTICE +META-INF/LICENSE diff --git a/tools/legal-review/launcher/com.fasterxml.jackson.core.jackson-databind-2.15.2/copyright-keep b/tools/legal-review/launcher/com.fasterxml.jackson.core.jackson-databind-2.15.2/copyright-keep new file mode 100644 index 000000000000..83abb6b6ce3d --- /dev/null +++ b/tools/legal-review/launcher/com.fasterxml.jackson.core.jackson-databind-2.15.2/copyright-keep @@ -0,0 +1,2 @@ +Copyright 2010 Google Inc. All Rights Reserved. +Copyright 2011 Google Inc. All Rights Reserved. diff --git a/tools/legal-review/launcher/com.fasterxml.jackson.core.jackson-databind-2.15.2/custom-license b/tools/legal-review/launcher/com.fasterxml.jackson.core.jackson-databind-2.15.2/custom-license new file mode 100644 index 000000000000..6b1d0bfabc3c --- /dev/null +++ b/tools/legal-review/launcher/com.fasterxml.jackson.core.jackson-databind-2.15.2/custom-license @@ -0,0 +1 @@ +LICENSE diff --git a/tools/legal-review/launcher/com.fasterxml.jackson.core.jackson-databind-2.15.2/files-ignore b/tools/legal-review/launcher/com.fasterxml.jackson.core.jackson-databind-2.15.2/files-ignore new file mode 100644 index 000000000000..0d1c51375183 --- /dev/null +++ b/tools/legal-review/launcher/com.fasterxml.jackson.core.jackson-databind-2.15.2/files-ignore @@ -0,0 +1 @@ +META-INF/NOTICE diff --git a/tools/legal-review/launcher/com.fasterxml.jackson.core.jackson-databind-2.15.2/files-keep b/tools/legal-review/launcher/com.fasterxml.jackson.core.jackson-databind-2.15.2/files-keep new file mode 100644 index 000000000000..b9005a4d5ae7 --- /dev/null +++ b/tools/legal-review/launcher/com.fasterxml.jackson.core.jackson-databind-2.15.2/files-keep @@ -0,0 +1 @@ +META-INF/LICENSE diff --git a/tools/legal-review/launcher/com.typesafe.akka.akka-protobuf-v3_2.13-2.6.20/files-add/COPYING.protobuf b/tools/legal-review/launcher/com.typesafe.akka.akka-protobuf-v3_2.13-2.6.20/files-add/COPYING.protobuf deleted file mode 100644 index 705db579c94f..000000000000 --- a/tools/legal-review/launcher/com.typesafe.akka.akka-protobuf-v3_2.13-2.6.20/files-add/COPYING.protobuf +++ /dev/null @@ -1,33 +0,0 @@ -Copyright 2008, Google Inc. -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are -met: - - * Redistributions of source code must retain the above copyright -notice, this list of conditions and the following disclaimer. - * 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. - * Neither the name of Google Inc. nor the names of its -contributors may be used to endorse or promote products derived from -this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -Code generated by the Protocol Buffer compiler is owned by the owner -of the input file used when generating it. This code is not -standalone and requires a support library to be linked with it. This -support library is itself covered by the above license. diff --git a/tools/legal-review/launcher/com.typesafe.akka.akka-stream_2.13-2.6.20/copyright-ignore b/tools/legal-review/launcher/com.typesafe.akka.akka-stream_2.13-2.6.20/copyright-ignore deleted file mode 100644 index 4c3b3d7f85de..000000000000 --- a/tools/legal-review/launcher/com.typesafe.akka.akka-stream_2.13-2.6.20/copyright-ignore +++ /dev/null @@ -1,8 +0,0 @@ -Copyright (C) 2014-2022 Lightbend Inc. -Copyright (C) 2015-2022 Lightbend Inc. -Copyright (C) 2016-2022 Lightbend Inc. -Copyright (C) 2017-2022 Lightbend Inc. -Copyright (C) 2018-2022 Lightbend Inc. -Copyright (C) 2019-2022 Lightbend Inc. -Copyright (C) 2020-2022 Lightbend Inc. -Copyright (C) 2021-2022 Lightbend Inc. diff --git a/tools/legal-review/launcher/com.typesafe.akka.akka-stream_2.13-2.6.20/copyright-keep b/tools/legal-review/launcher/com.typesafe.akka.akka-stream_2.13-2.6.20/copyright-keep deleted file mode 100644 index 524d999be2a0..000000000000 --- a/tools/legal-review/launcher/com.typesafe.akka.akka-stream_2.13-2.6.20/copyright-keep +++ /dev/null @@ -1 +0,0 @@ -Copyright (C) 2009-2022 Lightbend Inc. diff --git a/tools/legal-review/launcher/com.typesafe.ssl-config-core_2.13-0.4.3/copyright-keep b/tools/legal-review/launcher/com.typesafe.ssl-config-core_2.13-0.4.3/copyright-keep deleted file mode 100644 index cb8bfecd482c..000000000000 --- a/tools/legal-review/launcher/com.typesafe.ssl-config-core_2.13-0.4.3/copyright-keep +++ /dev/null @@ -1 +0,0 @@ -Copyright (C) 2015 - 2020 Lightbend Inc. diff --git a/tools/legal-review/launcher/commons-codec.commons-codec-1.9/copyright-keep b/tools/legal-review/launcher/commons-codec.commons-codec-1.9/copyright-keep new file mode 100644 index 000000000000..8cd8d66408c4 --- /dev/null +++ b/tools/legal-review/launcher/commons-codec.commons-codec-1.9/copyright-keep @@ -0,0 +1 @@ +this work for additional information regarding copyright ownership. diff --git a/tools/legal-review/launcher/commons-codec.commons-codec-1.9/custom-license b/tools/legal-review/launcher/commons-codec.commons-codec-1.9/custom-license new file mode 100644 index 000000000000..35252fda76e8 --- /dev/null +++ b/tools/legal-review/launcher/commons-codec.commons-codec-1.9/custom-license @@ -0,0 +1 @@ +LICENSE.txt diff --git a/tools/legal-review/launcher/commons-codec.commons-codec-1.9/files-keep b/tools/legal-review/launcher/commons-codec.commons-codec-1.9/files-keep new file mode 100644 index 000000000000..6de1a981f47b --- /dev/null +++ b/tools/legal-review/launcher/commons-codec.commons-codec-1.9/files-keep @@ -0,0 +1,2 @@ +META-INF/NOTICE.txt +META-INF/LICENSE.txt diff --git a/tools/legal-review/launcher/commons-logging.commons-logging-1.2/copyright-keep b/tools/legal-review/launcher/commons-logging.commons-logging-1.2/copyright-keep new file mode 100644 index 000000000000..8cd8d66408c4 --- /dev/null +++ b/tools/legal-review/launcher/commons-logging.commons-logging-1.2/copyright-keep @@ -0,0 +1 @@ +this work for additional information regarding copyright ownership. diff --git a/tools/legal-review/launcher/commons-logging.commons-logging-1.2/custom-license b/tools/legal-review/launcher/commons-logging.commons-logging-1.2/custom-license new file mode 100644 index 000000000000..35252fda76e8 --- /dev/null +++ b/tools/legal-review/launcher/commons-logging.commons-logging-1.2/custom-license @@ -0,0 +1 @@ +LICENSE.txt diff --git a/tools/legal-review/launcher/commons-logging.commons-logging-1.2/files-keep b/tools/legal-review/launcher/commons-logging.commons-logging-1.2/files-keep new file mode 100644 index 000000000000..e5a53c1b1767 --- /dev/null +++ b/tools/legal-review/launcher/commons-logging.commons-logging-1.2/files-keep @@ -0,0 +1,2 @@ +META-INF/LICENSE.txt +META-INF/NOTICE.txt diff --git a/tools/legal-review/launcher/org.apache.commons.commons-lang3-3.12.0/copyright-ignore b/tools/legal-review/launcher/org.apache.commons.commons-lang3-3.12.0/copyright-ignore new file mode 100644 index 000000000000..c5b4944d9be1 --- /dev/null +++ b/tools/legal-review/launcher/org.apache.commons.commons-lang3-3.12.0/copyright-ignore @@ -0,0 +1 @@ +{"\u00A9", "©"}, // © - copyright sign diff --git a/tools/legal-review/launcher/org.apache.commons.commons-lang3-3.12.0/copyright-keep b/tools/legal-review/launcher/org.apache.commons.commons-lang3-3.12.0/copyright-keep new file mode 100644 index 000000000000..8cd8d66408c4 --- /dev/null +++ b/tools/legal-review/launcher/org.apache.commons.commons-lang3-3.12.0/copyright-keep @@ -0,0 +1 @@ +this work for additional information regarding copyright ownership. diff --git a/tools/legal-review/launcher/org.apache.commons.commons-lang3-3.12.0/custom-license b/tools/legal-review/launcher/org.apache.commons.commons-lang3-3.12.0/custom-license new file mode 100644 index 000000000000..35252fda76e8 --- /dev/null +++ b/tools/legal-review/launcher/org.apache.commons.commons-lang3-3.12.0/custom-license @@ -0,0 +1 @@ +LICENSE.txt diff --git a/tools/legal-review/launcher/org.apache.commons.commons-lang3-3.12.0/files-ignore b/tools/legal-review/launcher/org.apache.commons.commons-lang3-3.12.0/files-ignore new file mode 100644 index 000000000000..f9a3ec844f02 --- /dev/null +++ b/tools/legal-review/launcher/org.apache.commons.commons-lang3-3.12.0/files-ignore @@ -0,0 +1 @@ +META-INF/NOTICE.txt diff --git a/tools/legal-review/launcher/org.apache.commons.commons-lang3-3.12.0/files-keep b/tools/legal-review/launcher/org.apache.commons.commons-lang3-3.12.0/files-keep new file mode 100644 index 000000000000..0256724c8d06 --- /dev/null +++ b/tools/legal-review/launcher/org.apache.commons.commons-lang3-3.12.0/files-keep @@ -0,0 +1 @@ +META-INF/LICENSE.txt diff --git a/tools/legal-review/launcher/org.apache.commons.commons-text-1.10.0/copyright-ignore b/tools/legal-review/launcher/org.apache.commons.commons-text-1.10.0/copyright-ignore new file mode 100644 index 000000000000..9b4074024947 --- /dev/null +++ b/tools/legal-review/launcher/org.apache.commons.commons-text-1.10.0/copyright-ignore @@ -0,0 +1 @@ +initialMap.put("\u00A9", "©"); // © - copyright sign diff --git a/tools/legal-review/launcher/org.apache.commons.commons-text-1.10.0/copyright-keep b/tools/legal-review/launcher/org.apache.commons.commons-text-1.10.0/copyright-keep new file mode 100644 index 000000000000..8cd8d66408c4 --- /dev/null +++ b/tools/legal-review/launcher/org.apache.commons.commons-text-1.10.0/copyright-keep @@ -0,0 +1 @@ +this work for additional information regarding copyright ownership. diff --git a/tools/legal-review/launcher/org.apache.commons.commons-text-1.10.0/custom-license b/tools/legal-review/launcher/org.apache.commons.commons-text-1.10.0/custom-license new file mode 100644 index 000000000000..35252fda76e8 --- /dev/null +++ b/tools/legal-review/launcher/org.apache.commons.commons-text-1.10.0/custom-license @@ -0,0 +1 @@ +LICENSE.txt diff --git a/tools/legal-review/launcher/org.apache.commons.commons-text-1.10.0/files-keep b/tools/legal-review/launcher/org.apache.commons.commons-text-1.10.0/files-keep new file mode 100644 index 000000000000..e5a53c1b1767 --- /dev/null +++ b/tools/legal-review/launcher/org.apache.commons.commons-text-1.10.0/files-keep @@ -0,0 +1,2 @@ +META-INF/LICENSE.txt +META-INF/NOTICE.txt diff --git a/tools/legal-review/launcher/org.apache.httpcomponents.httpclient-4.4.1/copyright-keep b/tools/legal-review/launcher/org.apache.httpcomponents.httpclient-4.4.1/copyright-keep new file mode 100644 index 000000000000..dc34027f6f18 --- /dev/null +++ b/tools/legal-review/launcher/org.apache.httpcomponents.httpclient-4.4.1/copyright-keep @@ -0,0 +1 @@ +regarding copyright ownership. The ASF licenses this file diff --git a/tools/legal-review/launcher/org.apache.httpcomponents.httpclient-4.4.1/custom-license b/tools/legal-review/launcher/org.apache.httpcomponents.httpclient-4.4.1/custom-license new file mode 100644 index 000000000000..6b1d0bfabc3c --- /dev/null +++ b/tools/legal-review/launcher/org.apache.httpcomponents.httpclient-4.4.1/custom-license @@ -0,0 +1 @@ +LICENSE diff --git a/tools/legal-review/launcher/org.apache.httpcomponents.httpclient-4.4.1/files-keep b/tools/legal-review/launcher/org.apache.httpcomponents.httpclient-4.4.1/files-keep new file mode 100644 index 000000000000..26e9c87b6125 --- /dev/null +++ b/tools/legal-review/launcher/org.apache.httpcomponents.httpclient-4.4.1/files-keep @@ -0,0 +1,2 @@ +META-INF/NOTICE +META-INF/LICENSE diff --git a/tools/legal-review/launcher/org.apache.httpcomponents.httpcore-4.4.1/copyright-keep b/tools/legal-review/launcher/org.apache.httpcomponents.httpcore-4.4.1/copyright-keep new file mode 100644 index 000000000000..dc34027f6f18 --- /dev/null +++ b/tools/legal-review/launcher/org.apache.httpcomponents.httpcore-4.4.1/copyright-keep @@ -0,0 +1 @@ +regarding copyright ownership. The ASF licenses this file diff --git a/tools/legal-review/launcher/org.apache.httpcomponents.httpcore-4.4.1/custom-license b/tools/legal-review/launcher/org.apache.httpcomponents.httpcore-4.4.1/custom-license new file mode 100644 index 000000000000..6b1d0bfabc3c --- /dev/null +++ b/tools/legal-review/launcher/org.apache.httpcomponents.httpcore-4.4.1/custom-license @@ -0,0 +1 @@ +LICENSE diff --git a/tools/legal-review/launcher/org.apache.httpcomponents.httpcore-4.4.1/files-keep b/tools/legal-review/launcher/org.apache.httpcomponents.httpcore-4.4.1/files-keep new file mode 100644 index 000000000000..26e9c87b6125 --- /dev/null +++ b/tools/legal-review/launcher/org.apache.httpcomponents.httpcore-4.4.1/files-keep @@ -0,0 +1,2 @@ +META-INF/NOTICE +META-INF/LICENSE diff --git a/tools/legal-review/launcher/org.reactivestreams.reactive-streams-1.0.3/copyright-keep-context b/tools/legal-review/launcher/org.reactivestreams.reactive-streams-1.0.3/copyright-keep-context deleted file mode 100644 index 2d1291cd5315..000000000000 --- a/tools/legal-review/launcher/org.reactivestreams.reactive-streams-1.0.3/copyright-keep-context +++ /dev/null @@ -1 +0,0 @@ -this code has waived all copyright and related or neighboring * diff --git a/tools/legal-review/launcher/report-state b/tools/legal-review/launcher/report-state index 47cbd8faa811..ac80cebd5c2e 100644 --- a/tools/legal-review/launcher/report-state +++ b/tools/legal-review/launcher/report-state @@ -1,3 +1,3 @@ -7FD6B2CEF25DA9C73D447AAFC64AB53637F764914391B1A08BE19DC78C9A30E8 -BBDB37A47F71427476C52022158EA9E9BC3FF9AEFB6705E2BE56D8AF09A6A621 +CD8D1C223A2405ABD1C1A08130349A5D42025AB79E2248289BFAF95D8BE70163 +CE8B68903E75CA510CF4CBFD8D6D9DA35BAB8146D7FECF4523056370679E4224 0 diff --git a/tools/legal-review/launcher/reviewed-licenses/The_Apache_Software_License__Version_2.0 b/tools/legal-review/launcher/reviewed-licenses/The_Apache_Software_License__Version_2.0 new file mode 100644 index 000000000000..ff46ef6ff419 --- /dev/null +++ b/tools/legal-review/launcher/reviewed-licenses/The_Apache_Software_License__Version_2.0 @@ -0,0 +1 @@ +tools/legal-review/license-texts/APACHE2.0 diff --git a/tools/legal-review/project-manager/commons-codec.commons-codec-1.9/copyright-keep b/tools/legal-review/project-manager/commons-codec.commons-codec-1.9/copyright-keep new file mode 100644 index 000000000000..8cd8d66408c4 --- /dev/null +++ b/tools/legal-review/project-manager/commons-codec.commons-codec-1.9/copyright-keep @@ -0,0 +1 @@ +this work for additional information regarding copyright ownership. diff --git a/tools/legal-review/project-manager/commons-codec.commons-codec-1.9/custom-license b/tools/legal-review/project-manager/commons-codec.commons-codec-1.9/custom-license new file mode 100644 index 000000000000..35252fda76e8 --- /dev/null +++ b/tools/legal-review/project-manager/commons-codec.commons-codec-1.9/custom-license @@ -0,0 +1 @@ +LICENSE.txt diff --git a/tools/legal-review/project-manager/commons-codec.commons-codec-1.9/files-keep b/tools/legal-review/project-manager/commons-codec.commons-codec-1.9/files-keep new file mode 100644 index 000000000000..6de1a981f47b --- /dev/null +++ b/tools/legal-review/project-manager/commons-codec.commons-codec-1.9/files-keep @@ -0,0 +1,2 @@ +META-INF/NOTICE.txt +META-INF/LICENSE.txt diff --git a/tools/legal-review/project-manager/commons-logging.commons-logging-1.2/copyright-keep b/tools/legal-review/project-manager/commons-logging.commons-logging-1.2/copyright-keep new file mode 100644 index 000000000000..8cd8d66408c4 --- /dev/null +++ b/tools/legal-review/project-manager/commons-logging.commons-logging-1.2/copyright-keep @@ -0,0 +1 @@ +this work for additional information regarding copyright ownership. diff --git a/tools/legal-review/project-manager/commons-logging.commons-logging-1.2/custom-license b/tools/legal-review/project-manager/commons-logging.commons-logging-1.2/custom-license new file mode 100644 index 000000000000..35252fda76e8 --- /dev/null +++ b/tools/legal-review/project-manager/commons-logging.commons-logging-1.2/custom-license @@ -0,0 +1 @@ +LICENSE.txt diff --git a/tools/legal-review/project-manager/commons-logging.commons-logging-1.2/files-keep b/tools/legal-review/project-manager/commons-logging.commons-logging-1.2/files-keep new file mode 100644 index 000000000000..6de1a981f47b --- /dev/null +++ b/tools/legal-review/project-manager/commons-logging.commons-logging-1.2/files-keep @@ -0,0 +1,2 @@ +META-INF/NOTICE.txt +META-INF/LICENSE.txt diff --git a/tools/legal-review/project-manager/org.apache.commons.commons-text-1.10.0/copyright-ignore b/tools/legal-review/project-manager/org.apache.commons.commons-text-1.10.0/copyright-ignore new file mode 100644 index 000000000000..9b4074024947 --- /dev/null +++ b/tools/legal-review/project-manager/org.apache.commons.commons-text-1.10.0/copyright-ignore @@ -0,0 +1 @@ +initialMap.put("\u00A9", "©"); // © - copyright sign diff --git a/tools/legal-review/project-manager/org.apache.commons.commons-text-1.10.0/copyright-keep b/tools/legal-review/project-manager/org.apache.commons.commons-text-1.10.0/copyright-keep new file mode 100644 index 000000000000..8cd8d66408c4 --- /dev/null +++ b/tools/legal-review/project-manager/org.apache.commons.commons-text-1.10.0/copyright-keep @@ -0,0 +1 @@ +this work for additional information regarding copyright ownership. diff --git a/tools/legal-review/project-manager/org.apache.commons.commons-text-1.10.0/custom-license b/tools/legal-review/project-manager/org.apache.commons.commons-text-1.10.0/custom-license new file mode 100644 index 000000000000..35252fda76e8 --- /dev/null +++ b/tools/legal-review/project-manager/org.apache.commons.commons-text-1.10.0/custom-license @@ -0,0 +1 @@ +LICENSE.txt diff --git a/tools/legal-review/project-manager/org.apache.commons.commons-text-1.10.0/files-keep b/tools/legal-review/project-manager/org.apache.commons.commons-text-1.10.0/files-keep new file mode 100644 index 000000000000..e5a53c1b1767 --- /dev/null +++ b/tools/legal-review/project-manager/org.apache.commons.commons-text-1.10.0/files-keep @@ -0,0 +1,2 @@ +META-INF/LICENSE.txt +META-INF/NOTICE.txt diff --git a/tools/legal-review/project-manager/org.apache.httpcomponents.httpclient-4.4.1/copyright-keep b/tools/legal-review/project-manager/org.apache.httpcomponents.httpclient-4.4.1/copyright-keep new file mode 100644 index 000000000000..dc34027f6f18 --- /dev/null +++ b/tools/legal-review/project-manager/org.apache.httpcomponents.httpclient-4.4.1/copyright-keep @@ -0,0 +1 @@ +regarding copyright ownership. The ASF licenses this file diff --git a/tools/legal-review/project-manager/org.apache.httpcomponents.httpclient-4.4.1/custom-license b/tools/legal-review/project-manager/org.apache.httpcomponents.httpclient-4.4.1/custom-license new file mode 100644 index 000000000000..6b1d0bfabc3c --- /dev/null +++ b/tools/legal-review/project-manager/org.apache.httpcomponents.httpclient-4.4.1/custom-license @@ -0,0 +1 @@ +LICENSE diff --git a/tools/legal-review/project-manager/org.apache.httpcomponents.httpclient-4.4.1/files-keep b/tools/legal-review/project-manager/org.apache.httpcomponents.httpclient-4.4.1/files-keep new file mode 100644 index 000000000000..26e9c87b6125 --- /dev/null +++ b/tools/legal-review/project-manager/org.apache.httpcomponents.httpclient-4.4.1/files-keep @@ -0,0 +1,2 @@ +META-INF/NOTICE +META-INF/LICENSE diff --git a/tools/legal-review/project-manager/org.apache.httpcomponents.httpcore-4.4.1/copyright-keep b/tools/legal-review/project-manager/org.apache.httpcomponents.httpcore-4.4.1/copyright-keep new file mode 100644 index 000000000000..dc34027f6f18 --- /dev/null +++ b/tools/legal-review/project-manager/org.apache.httpcomponents.httpcore-4.4.1/copyright-keep @@ -0,0 +1 @@ +regarding copyright ownership. The ASF licenses this file diff --git a/tools/legal-review/project-manager/org.apache.httpcomponents.httpcore-4.4.1/custom-license b/tools/legal-review/project-manager/org.apache.httpcomponents.httpcore-4.4.1/custom-license new file mode 100644 index 000000000000..6b1d0bfabc3c --- /dev/null +++ b/tools/legal-review/project-manager/org.apache.httpcomponents.httpcore-4.4.1/custom-license @@ -0,0 +1 @@ +LICENSE diff --git a/tools/legal-review/project-manager/org.apache.httpcomponents.httpcore-4.4.1/files-keep b/tools/legal-review/project-manager/org.apache.httpcomponents.httpcore-4.4.1/files-keep new file mode 100644 index 000000000000..26e9c87b6125 --- /dev/null +++ b/tools/legal-review/project-manager/org.apache.httpcomponents.httpcore-4.4.1/files-keep @@ -0,0 +1,2 @@ +META-INF/NOTICE +META-INF/LICENSE diff --git a/tools/legal-review/project-manager/report-state b/tools/legal-review/project-manager/report-state index 5d65f231dd65..ba59460c8155 100644 --- a/tools/legal-review/project-manager/report-state +++ b/tools/legal-review/project-manager/report-state @@ -1,3 +1,3 @@ -578C28B786B877E41559F52CBDFBF45DE798CEB12FDF9632A93CC4B1B30C72C6 -D1B18FEE4514908AD689F9B25D7E4445E5F3D75296F136BED478DB855D891F88 +9ABEDE2270356FF29723C7C78CE8F9B5A2DFD42E1B571C2C15D25B8EE0B1358A +F0EFB3E29A0C610CE1F9C4F5FF0A9AC23124D67EC0695FE7C9566ADA6CC5E0A4 0 From 4f1e54cf332236c9c6b47ab28070e155311110a9 Mon Sep 17 00:00:00 2001 From: Pavel Marek Date: Wed, 14 Feb 2024 12:56:47 +0100 Subject: [PATCH 25/31] Change line-endings of some license files --- .../LICENSE.txt | 404 +++++++++--------- .../NOTICE.txt | 18 +- .../LICENSE.txt | 404 +++++++++--------- .../NOTICE.txt | 18 +- .../LICENSE.txt | 404 +++++++++--------- .../NOTICE.txt | 18 +- 6 files changed, 633 insertions(+), 633 deletions(-) diff --git a/distribution/engine/THIRD-PARTY/commons-codec.commons-codec-1.9/LICENSE.txt b/distribution/engine/THIRD-PARTY/commons-codec.commons-codec-1.9/LICENSE.txt index d64569567334..75b52484ea47 100644 --- a/distribution/engine/THIRD-PARTY/commons-codec.commons-codec-1.9/LICENSE.txt +++ b/distribution/engine/THIRD-PARTY/commons-codec.commons-codec-1.9/LICENSE.txt @@ -1,202 +1,202 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed 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. + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed 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. diff --git a/distribution/engine/THIRD-PARTY/commons-codec.commons-codec-1.9/NOTICE.txt b/distribution/engine/THIRD-PARTY/commons-codec.commons-codec-1.9/NOTICE.txt index 99edd4d2ee99..147f78a298e5 100644 --- a/distribution/engine/THIRD-PARTY/commons-codec.commons-codec-1.9/NOTICE.txt +++ b/distribution/engine/THIRD-PARTY/commons-codec.commons-codec-1.9/NOTICE.txt @@ -1,9 +1,9 @@ -Apache Commons Codec -Copyright 2002-2013 The Apache Software Foundation - -This product includes software developed at -The Apache Software Foundation (http://www.apache.org/). - -src/test/org/apache/commons/codec/language/DoubleMetaphoneTest.java -contains test data from http://aspell.net/test/orig/batch0.tab. -Copyright (C) 2002 Kevin Atkinson (kevina@gnu.org) +Apache Commons Codec +Copyright 2002-2013 The Apache Software Foundation + +This product includes software developed at +The Apache Software Foundation (http://www.apache.org/). + +src/test/org/apache/commons/codec/language/DoubleMetaphoneTest.java +contains test data from http://aspell.net/test/orig/batch0.tab. +Copyright (C) 2002 Kevin Atkinson (kevina@gnu.org) diff --git a/distribution/launcher/THIRD-PARTY/commons-codec.commons-codec-1.9/LICENSE.txt b/distribution/launcher/THIRD-PARTY/commons-codec.commons-codec-1.9/LICENSE.txt index d64569567334..75b52484ea47 100644 --- a/distribution/launcher/THIRD-PARTY/commons-codec.commons-codec-1.9/LICENSE.txt +++ b/distribution/launcher/THIRD-PARTY/commons-codec.commons-codec-1.9/LICENSE.txt @@ -1,202 +1,202 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed 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. + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed 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. diff --git a/distribution/launcher/THIRD-PARTY/commons-codec.commons-codec-1.9/NOTICE.txt b/distribution/launcher/THIRD-PARTY/commons-codec.commons-codec-1.9/NOTICE.txt index 99edd4d2ee99..147f78a298e5 100644 --- a/distribution/launcher/THIRD-PARTY/commons-codec.commons-codec-1.9/NOTICE.txt +++ b/distribution/launcher/THIRD-PARTY/commons-codec.commons-codec-1.9/NOTICE.txt @@ -1,9 +1,9 @@ -Apache Commons Codec -Copyright 2002-2013 The Apache Software Foundation - -This product includes software developed at -The Apache Software Foundation (http://www.apache.org/). - -src/test/org/apache/commons/codec/language/DoubleMetaphoneTest.java -contains test data from http://aspell.net/test/orig/batch0.tab. -Copyright (C) 2002 Kevin Atkinson (kevina@gnu.org) +Apache Commons Codec +Copyright 2002-2013 The Apache Software Foundation + +This product includes software developed at +The Apache Software Foundation (http://www.apache.org/). + +src/test/org/apache/commons/codec/language/DoubleMetaphoneTest.java +contains test data from http://aspell.net/test/orig/batch0.tab. +Copyright (C) 2002 Kevin Atkinson (kevina@gnu.org) diff --git a/distribution/project-manager/THIRD-PARTY/commons-codec.commons-codec-1.9/LICENSE.txt b/distribution/project-manager/THIRD-PARTY/commons-codec.commons-codec-1.9/LICENSE.txt index d64569567334..75b52484ea47 100644 --- a/distribution/project-manager/THIRD-PARTY/commons-codec.commons-codec-1.9/LICENSE.txt +++ b/distribution/project-manager/THIRD-PARTY/commons-codec.commons-codec-1.9/LICENSE.txt @@ -1,202 +1,202 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed 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. + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed 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. diff --git a/distribution/project-manager/THIRD-PARTY/commons-codec.commons-codec-1.9/NOTICE.txt b/distribution/project-manager/THIRD-PARTY/commons-codec.commons-codec-1.9/NOTICE.txt index 99edd4d2ee99..147f78a298e5 100644 --- a/distribution/project-manager/THIRD-PARTY/commons-codec.commons-codec-1.9/NOTICE.txt +++ b/distribution/project-manager/THIRD-PARTY/commons-codec.commons-codec-1.9/NOTICE.txt @@ -1,9 +1,9 @@ -Apache Commons Codec -Copyright 2002-2013 The Apache Software Foundation - -This product includes software developed at -The Apache Software Foundation (http://www.apache.org/). - -src/test/org/apache/commons/codec/language/DoubleMetaphoneTest.java -contains test data from http://aspell.net/test/orig/batch0.tab. -Copyright (C) 2002 Kevin Atkinson (kevina@gnu.org) +Apache Commons Codec +Copyright 2002-2013 The Apache Software Foundation + +This product includes software developed at +The Apache Software Foundation (http://www.apache.org/). + +src/test/org/apache/commons/codec/language/DoubleMetaphoneTest.java +contains test data from http://aspell.net/test/orig/batch0.tab. +Copyright (C) 2002 Kevin Atkinson (kevina@gnu.org) From 0d305557e575b35a3f01b915359a244edc2a57e4 Mon Sep 17 00:00:00 2001 From: Pavel Marek Date: Wed, 14 Feb 2024 15:57:11 +0100 Subject: [PATCH 26/31] Fix compilation of connected-lock-manager/Test --- build.sbt | 1 + 1 file changed, 1 insertion(+) diff --git a/build.sbt b/build.sbt index ee7d4b7b4778..c9c6fbb0794b 100644 --- a/build.sbt +++ b/build.sbt @@ -2571,6 +2571,7 @@ lazy val `connected-lock-manager` = project ) ) .dependsOn(`distribution-manager`) + .dependsOn(`connected-lock-manager-server` % "test->test") .dependsOn(`polyglot-api`) /** Unlike `connected-lock-manager` project, has a dependency on akka. From c5cc2dc4481ff64ab6c0b8bb4fb8da55001eab58 Mon Sep 17 00:00:00 2001 From: Pavel Marek Date: Fri, 16 Feb 2024 14:19:50 +0100 Subject: [PATCH 27/31] URIBuilder handles special characters --- .../org/enso/downloader/http/URIBuilder.scala | 19 +++++++++++-------- .../enso/downloader/http/URIBuilderSpec.scala | 6 ++++++ 2 files changed, 17 insertions(+), 8 deletions(-) diff --git a/lib/scala/downloader/src/main/scala/org/enso/downloader/http/URIBuilder.scala b/lib/scala/downloader/src/main/scala/org/enso/downloader/http/URIBuilder.scala index 7ac3f159ec89..ff653e30e4d9 100644 --- a/lib/scala/downloader/src/main/scala/org/enso/downloader/http/URIBuilder.scala +++ b/lib/scala/downloader/src/main/scala/org/enso/downloader/http/URIBuilder.scala @@ -1,6 +1,7 @@ package org.enso.downloader.http -import java.net.URI +import java.net.{URI, URLEncoder} +import java.nio.charset.StandardCharsets /** A simple immutable builder for URIs based on URLs. * @@ -25,13 +26,15 @@ case class URIBuilder private (uri: URI) { * The query is appended at the end. */ def addQuery(key: String, value: String): URIBuilder = { - val scheme = uri.getScheme - val authority = uri.getAuthority - val path = uri.getPath - val query = if (uri.getQuery == null) "" else uri.getQuery + "&" - val fragment = uri.getFragment - val newQuery = query + key + "=" + value - val newUri = new URI(scheme, authority, path, newQuery, fragment) + val scheme = uri.getScheme + val authority = uri.getAuthority + val path = uri.getPath + val query = if (uri.getQuery == null) "" else uri.getQuery + "&" + val fragment = uri.getFragment + val encodedKey = URLEncoder.encode(key, StandardCharsets.UTF_8) + val encodedValue = URLEncoder.encode(value, StandardCharsets.UTF_8) + val newQuery = query + encodedKey + "=" + encodedValue + val newUri = new URI(scheme, authority, path, newQuery, fragment) copy(newUri) } diff --git a/lib/scala/downloader/src/test/scala/org/enso/downloader/http/URIBuilderSpec.scala b/lib/scala/downloader/src/test/scala/org/enso/downloader/http/URIBuilderSpec.scala index 49b7c3a2d599..d62ba5274215 100644 --- a/lib/scala/downloader/src/test/scala/org/enso/downloader/http/URIBuilderSpec.scala +++ b/lib/scala/downloader/src/test/scala/org/enso/downloader/http/URIBuilderSpec.scala @@ -16,6 +16,12 @@ class URIBuilderSpec extends AnyWordSpec with Matchers { val uri = bldr.addQuery("foo", "bar").addQuery("baz", "qux").build() uri.toString mustEqual "http://google.com?foo=bar&baz=qux" } + + "Handle non-standard symbols in queries" in { + val bldr = URIBuilder.fromUri("http://google.com") + val uri = bldr.addQuery("foo", "bar baz").addQuery("baz", "qux").build() + uri.toString mustEqual "http://google.com?foo=bar+baz&baz=qux" + } } } From 743e167aa4e795d5fdb3feaab124de8994202189 Mon Sep 17 00:00:00 2001 From: Pavel Marek Date: Fri, 16 Feb 2024 14:36:30 +0100 Subject: [PATCH 28/31] Capture the output from native-image build. --- project/NativeImage.scala | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/project/NativeImage.scala b/project/NativeImage.scala index 1b2601d78702..9dc6912efb1a 100644 --- a/project/NativeImage.scala +++ b/project/NativeImage.scala @@ -225,12 +225,23 @@ object NativeImage { val process = Process(cmd, None, "PATH" -> newPath) - if (process.! != 0) { - log.error("Native Image build failed.") + // All the output from native-image is redirected into a StringBuilder, and printed + // at the end of the build. This mitigates the problem when there are multiple sbt + // commands running in parallel and the output is intertwined. + val sb = new StringBuilder + val processLogger = ProcessLogger(str => { + sb.append(str + System.lineSeparator()) + }) + log.info( + s"Started building $artifactName native image. The output is captured." + ) + val retCode = process.!(processLogger) + if (retCode != 0) { + log.error("Native Image build failed, with output: ") + println(sb.toString()) throw new RuntimeException("Native Image build failed") } - - log.info("Native Image build successful.") + log.info(s"$artifactName native image build successful.") } .dependsOn(Compile / compile) From 6a9fff2d552a183e021b1225f54c2c0ba0657533 Mon Sep 17 00:00:00 2001 From: Pavel Marek Date: Fri, 16 Feb 2024 18:59:48 +0100 Subject: [PATCH 29/31] fmt --- tools/simple-library-server/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/simple-library-server/main.js b/tools/simple-library-server/main.js index 9a81f401be67..14a142a96ccc 100755 --- a/tools/simple-library-server/main.js +++ b/tools/simple-library-server/main.js @@ -47,7 +47,7 @@ if (LOG_REQUESTS) { console.log(` Query: ${JSON.stringify(req.query)}`) console.log(` Body: ${JSON.stringify(req.body)}`) next() - }); + }) } const tmpDir = path.join(os.tmpdir(), 'enso-library-repo-uploads') From ba0a69de6e715340dfc912368054dfbc9c48ad57 Mon Sep 17 00:00:00 2001 From: Pavel Marek Date: Mon, 19 Feb 2024 13:33:34 +0100 Subject: [PATCH 30/31] Pass arguments to native-image via argfile --- project/NativeImage.scala | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/project/NativeImage.scala b/project/NativeImage.scala index 9dc6912efb1a..292530a58691 100644 --- a/project/NativeImage.scala +++ b/project/NativeImage.scala @@ -40,6 +40,8 @@ object NativeImage { "ch.qos.logback" ) + val NATIVE_IMAGE_ARG_FILE = "native-image-args.txt" + /** Creates a task that builds a native image for the current project. * * This task must be setup in such a way that the assembly JAR is built @@ -193,9 +195,7 @@ object NativeImage { val verboseOpt = if (verbose) Seq("--verbose") else Seq() - var cmd: Seq[String] = - Seq(nativeImagePath) ++ - verboseOpt ++ + var args: Seq[String] = Seq("-cp", cpStr) ++ quickBuildOption ++ debugParameters ++ staticParameters ++ configs ++ @@ -208,18 +208,27 @@ object NativeImage { additionalOptions ++ Seq("-o", artifactName) - cmd = mainClass match { + args = mainClass match { case Some(main) => - cmd ++ + args ++ Seq(main) case None => - cmd ++ + args ++ Seq("-jar", pathToJAR.toString) } + val targetDir = (Compile / target).value + val argFile = targetDir.toPath.resolve(NATIVE_IMAGE_ARG_FILE) + IO.writeLines(argFile.toFile, args, append = false) + val pathParts = pathExts ++ Option(System.getenv("PATH")).toSeq val newPath = pathParts.mkString(File.pathSeparator) + val cmd = + Seq(nativeImagePath) ++ + verboseOpt ++ + Seq("@" + argFile.toAbsolutePath.toString) + log.debug(s"""PATH="$newPath" ${cmd.mkString(" ")}""") val process = From 9965c4c86cebcfc0731dbd18588add163ee55024 Mon Sep 17 00:00:00 2001 From: Pavel Marek Date: Mon, 19 Feb 2024 15:54:01 +0100 Subject: [PATCH 31/31] Update report-state in license review --- tools/legal-review/engine/report-state | 4 ++-- tools/legal-review/launcher/report-state | 4 ++-- tools/legal-review/project-manager/report-state | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tools/legal-review/engine/report-state b/tools/legal-review/engine/report-state index 8f4a434c3e24..09fde8eed801 100644 --- a/tools/legal-review/engine/report-state +++ b/tools/legal-review/engine/report-state @@ -1,3 +1,3 @@ -6833A9EED918805113BD1177678C1FF1EB9CCF8AFCCF857F35EBBDC0F0F3F0F0 -37D2333BCB98AF28C3DCFAB020950FCEE7BAD01D9287AF4BDDB1D859E78F86A2 +68780FA7845FE7F72720229D01042C2C5EC76BF66D08A5B5E21246D0ED812183 +2941888092873F2422CBCED652C2447B3E2C97D1F9A1BF05E5F199ABBF4F29FF 0 diff --git a/tools/legal-review/launcher/report-state b/tools/legal-review/launcher/report-state index b072922632c2..f066855a7170 100644 --- a/tools/legal-review/launcher/report-state +++ b/tools/legal-review/launcher/report-state @@ -1,3 +1,3 @@ -6377D131E01C27868989472EC0E9E6BF00A6E4C908C46E125377135B12951858 -041766A0DBC4157B5B5D814069DE2F66CC9EEF5833B5156073A9F852ACF1D778 +C49545C8DFD98C51865B610229964C7928C54083FCEDD7D93E7717E143BC7588 +D6CA91D1A825AEF54C9BF56F7135A039F721C5D4C7D880E574A6D7D54A368703 0 diff --git a/tools/legal-review/project-manager/report-state b/tools/legal-review/project-manager/report-state index ed9447697478..fe122516d5ce 100644 --- a/tools/legal-review/project-manager/report-state +++ b/tools/legal-review/project-manager/report-state @@ -1,3 +1,3 @@ -DF3A7C072085362B8D9DAA68A115C182E2EBD6E17191932A56FA10272C135BC1 -1FA74ED538D76E223FDEF2DCA2A21F81FF477406F006E854AAA3BECE938AACD1 +57CDE17A9A15AFC75319B666469F71D4EBED3D6FAA13877AE6FE7D91C0E03ABE +0E5B6BCB3D9E1E60120B2FE248AEF3A7EA6A38A9DBF7EC4C7DA779604D21063E 0