From 6a31b037637826cf99eec52699e8964e842ea08e Mon Sep 17 00:00:00 2001 From: Bert Frees Date: Thu, 7 Dec 2017 13:15:56 +0100 Subject: [PATCH] [assembly] Put some framework and libs bundles in felix.auto.deploy.dir in order to solve startup issues. It doesn't make sense to use file install for these bundles because they can not be reloaded dynamically without breaking things. see https://github.com/daisy/pipeline-assembly/issues/104 --- assembly/pom.xml | 80 ++++++++++++++-------- assembly/src/main/xslt/pom-to-release.xslt | 24 ++++--- 2 files changed, 67 insertions(+), 37 deletions(-) diff --git a/assembly/pom.xml b/assembly/pom.xml index 78f423c62d..a27bdba9cb 100644 --- a/assembly/pom.xml +++ b/assembly/pom.xml @@ -296,12 +296,12 @@ - copy-libs-bundles + copy-framework-libs-bundles copy - ${project.build.directory}/bundles/libs + ${project.build.directory}/bundles/felix javax.xml.crypto @@ -421,6 +421,17 @@ com.mysql.jdbc com.springsource.com.mysql.jdbc + + + + + copy-modules-libs-bundles + + copy + + + ${project.build.directory}/bundles/libs + net.java.dev.jna jna @@ -541,7 +552,7 @@ - copy-volatile-pipeline-bundles + copy-volatile-bundles copy @@ -556,32 +567,49 @@ - copy-pipeline-bundles + copy-logging-bundles copy - ${project.build.directory}/bundles/pipeline + ${project.build.directory}/bundles/felix + org.daisy.pipeline - calabash-adapter + common-utils org.daisy.pipeline - common-utils + framework-core org.daisy.pipeline - framework-core + logging-appender org.daisy.pipeline - logging-activator + xproc-api + + + + + copy-framework-pipeline-bundles + + copy + + + ${project.build.directory}/bundles/pipeline + org.daisy.pipeline - logging-appender + calabash-adapter org.daisy.pipeline @@ -611,15 +639,11 @@ org.daisy.pipeline xpath-registry - - org.daisy.pipeline - xproc-api - - copy-frontend + copy-webservice-bundles copy @@ -634,7 +658,7 @@ - copy-gui + copy-gui-bundles copy @@ -686,7 +710,7 @@ - copy-pipeline-modules + copy-modules-pipeline-bundles copy @@ -1107,7 +1131,7 @@ - copy-pipeline-modules-linux + copy-modules-linux-bundles copy @@ -1128,7 +1152,7 @@ - copy-pipeline-modules-mac + copy-modules-mac-bundles copy @@ -1149,7 +1173,7 @@ - copy-pipeline-modules-win + copy-modules-win-bundles copy @@ -1907,7 +1931,7 @@ - + @@ -1916,7 +1940,7 @@ - + @@ -1925,7 +1949,7 @@ - + @@ -1934,7 +1958,7 @@ - + @@ -1943,7 +1967,7 @@ - + @@ -1952,7 +1976,7 @@ - + @@ -1961,7 +1985,7 @@ - + @@ -1970,7 +1994,7 @@ - + diff --git a/assembly/src/main/xslt/pom-to-release.xslt b/assembly/src/main/xslt/pom-to-release.xslt index 63b2fe6818..f8aa668d01 100644 --- a/assembly/src/main/xslt/pom-to-release.xslt +++ b/assembly/src/main/xslt/pom-to-release.xslt @@ -26,25 +26,31 @@ - + + + + - + - + - + + + + - + - + - + @@ -53,10 +59,10 @@ - + - +