build a KAR and use that for the assembly
authorAlex Heneveld <alex.heneveld@cloudsoftcorp.com>
Tue, 30 Mar 2021 13:07:20 +0000 (14:07 +0100)
committerAlex Heneveld <alex.heneveld@cloudsoftcorp.com>
Tue, 30 Mar 2021 13:19:22 +0000 (14:19 +0100)
commit151265a3a99015daca8e31ebb0eefc7fc04c1cfc
treeb6d0706e17c6dd5bb58cb980509f5ee302ddf9a1
parent8e9f33709498eb092e63a2ce2db4a02fbb4dbffb
build a KAR and use that for the assembly

moves all the resources to the features (kar) build, and the assembly is then pretty trivial

The resulting assembly has no significant differences, but the slight differences for reference are:

* excludes old versions of four libraries (com/hierynomus/sshj:0.20.0, net/i2p/crypto/eddsa:0.1.0, bcpkix-jdk15on:1.51, org/bouncycastle/bcprov-ext-jdk15on:1.5)
* includes two brooklyn libraries which were previously excluded; they are mostly superfluous but perhaps handy as bundles that could be installed (rest-client, camp-server)
* includes maven-metadata-local.xml in the brooklyn bundles in the system/ repository
* redeclares upstream features in brooklyn-dist-features-1.1.0-SNAPSHOT-features.xml

There is no apparent difference in operation and no difference to the started bundles (`bundle:list -s -t 0` after starting the server produces identical output).
18 files changed:
karaf/apache-brooklyn/pom.xml
karaf/features/pom.xml
karaf/features/src/main/filtered-resources/resources/bin/generate-password.sh [moved from karaf/apache-brooklyn/src/main/filtered-resources/bin/generate-password.sh with 100% similarity]
karaf/features/src/main/filtered-resources/resources/etc/branding.properties [moved from karaf/apache-brooklyn/src/main/filtered-resources/etc/branding.properties with 100% similarity]
karaf/features/src/main/filtered-resources/resources/etc/brooklyn.cfg [moved from karaf/apache-brooklyn/src/main/filtered-resources/etc/brooklyn.cfg with 100% similarity]
karaf/features/src/main/filtered-resources/resources/etc/org.apache.karaf.features.xml [moved from karaf/apache-brooklyn/src/main/filtered-resources/etc/org.apache.karaf.features.xml with 100% similarity]
karaf/features/src/main/resources/resources/LICENSE [moved from karaf/apache-brooklyn/src/main/resources/LICENSE with 100% similarity]
karaf/features/src/main/resources/resources/NOTICE [moved from karaf/apache-brooklyn/src/main/resources/NOTICE with 100% similarity]
karaf/features/src/main/resources/resources/bin/runbrooklyn [moved from karaf/apache-brooklyn/src/main/resources/bin/runbrooklyn with 100% similarity]
karaf/features/src/main/resources/resources/bin/setenv [moved from karaf/apache-brooklyn/src/main/resources/bin/setenv with 100% similarity]
karaf/features/src/main/resources/resources/bin/setenv.bat [moved from karaf/apache-brooklyn/src/main/resources/bin/setenv.bat with 100% similarity]
karaf/features/src/main/resources/resources/etc/custom.properties [moved from karaf/apache-brooklyn/src/main/resources/etc/custom.properties with 100% similarity]
karaf/features/src/main/resources/resources/etc/default.catalog.bom [moved from karaf/apache-brooklyn/src/main/resources/etc/default.catalog.bom with 100% similarity]
karaf/features/src/main/resources/resources/etc/org.apache.karaf.shell.cfg [moved from karaf/apache-brooklyn/src/main/resources/etc/org.apache.karaf.shell.cfg with 100% similarity]
karaf/features/src/main/resources/resources/etc/org.ops4j.pax.logging.cfg [moved from karaf/apache-brooklyn/src/main/resources/etc/org.ops4j.pax.logging.cfg with 100% similarity]
karaf/features/src/main/resources/resources/etc/org.ops4j.pax.url.mvn.repositories.cfg [moved from karaf/apache-brooklyn/src/main/resources/etc/org.ops4j.pax.url.mvn.repositories.cfg with 100% similarity]
karaf/features/src/main/resources/resources/etc/org.ops4j.pax.web.cfg [moved from karaf/apache-brooklyn/src/main/resources/etc/org.ops4j.pax.web.cfg with 100% similarity]
karaf/features/src/main/resources/resources/etc/system.properties [moved from karaf/apache-brooklyn/src/main/resources/etc/system.properties with 100% similarity]