mirror of
https://github.com/corda/corda.git
synced 2024-12-28 00:38:55 +00:00
Capsule fat JAR now contains a CDDL notice.
This commit is contained in:
parent
a72fb28571
commit
209ec1b1a0
@ -1,17 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
# Creates three nodes. A network map and notary node and two regular nodes that can be extended with cordapps.
|
||||
|
||||
set -euo pipefail
|
||||
trap 'kill $(jobs -p)' SIGINT SIGTERM EXIT
|
||||
export CAPSULE_CACHE_DIR=cache
|
||||
pushd nameserver
|
||||
( java -jar JAR_NAME )&
|
||||
popd
|
||||
pushd nodea
|
||||
( java -jar JAR_NAME )&
|
||||
popd
|
||||
pushd nodeb
|
||||
( java -jar JAR_NAME )&
|
||||
popd
|
||||
read -p 'Any key to exit'
|
||||
kill $(jobs -p)
|
15
node/capsule/NOTICE
Normal file
15
node/capsule/NOTICE
Normal file
@ -0,0 +1,15 @@
|
||||
This JAR contains executable versions of 'Covered Software' distributed under the terms of the Common Development and Distribution License and/or the GNU General Public License with ClassPath exception.
|
||||
|
||||
Source code versions of the Covered Software are available online from their source projects via the links indicated below.
|
||||
|
||||
--------------------
|
||||
|
||||
JAX-RS API - licensed under CDDL-1.0 (https://opensource.org/licenses/cddl1.php)
|
||||
Source code available at: https://java.net/projects/jax-rs-spec/sources/api/show
|
||||
|
||||
Jersey - dual-licensed under CDDL-1.0 and GPL 2.0 with ClassPath exception (https://jersey.java.net/license.html)
|
||||
Source code available at: https://maven.java.net/content/repositories/releases/org/glassfish/jersey/
|
||||
|
||||
HK2 - dual-licensed under CDDL-1.0 and GPL 2.0 with ClassPath exception (https://hk2.java.net/2.5.0-b32/license.html)
|
||||
Source code available at: https://java.net/projects/hk2/sources/git/show
|
||||
|
@ -52,6 +52,7 @@ task buildCordaJAR(type: FatCapsule, dependsOn: ['buildCertSigningRequestUtility
|
||||
applicationClass 'net.corda.node.Corda'
|
||||
archiveName "corda-${corda_version}.jar"
|
||||
applicationSource = files(project.tasks.findByName('jar'), '../build/classes/main/CordaCaplet.class', 'config/dev/log4j2.xml')
|
||||
from 'NOTICE' // Copy CDDL notice
|
||||
|
||||
capsuleManifest {
|
||||
applicationVersion = corda_version
|
||||
|
Loading…
Reference in New Issue
Block a user