diff --git a/.mvn/settings.xml b/.mvn/settings.xml index f486db5f..f523b5b4 100644 --- a/.mvn/settings.xml +++ b/.mvn/settings.xml @@ -29,8 +29,30 @@ + + snapshots + + false + + + + sonatype-snapshots + OSS Sonatype repo (snapshots) + https://oss.sonatype.org/content/repositories/snapshots/ + + false + + + true + always + warn + + + + central-https + diff --git a/NEWS.md b/NEWS.md index b895d780..5c1a8444 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,32 @@ +Changes in release v1.14.15 +=========================== + +## Framework + +- **FIX** Some vulnerable dependencies were eliminated +- Bugfixes + +## Modules + +- **NEW** Support for Microsoft Azure Cognitive Speech Services +- **NEW** Options for the DAISY 3 and DAISY 2.02 MegaVoice multi-level scripts to choose the player + type and book folder level. +- **FIX** Better support for HTML with other encodings than UTF-8 +- **FIX** Retain master.smil if present in a DAISY 2.02 publication +- **FIX** Preserve indentation and DOCTYPE declaration of documents in a DAISY 2.02 publication +- **FIX** Better marking of page breaks in EPUB 3 output +- **FIX** Issues in SAPI adapter +- Other bugfixes +- Changes to braille production scripts, see [release notes of braille modules v1.14.14](https://github.com/daisy/pipeline-modules/blob/master/braille/NEWS.md#v11414) + +Backwards incompatibility note: some script options were renamed. Please check the [script +documentation](http://daisy.github.io/pipeline/Get-Help/User-Guide/Scripts/) and update your client +code if needed. + +## Details + +See [all the closed issues of this release](https://github.com/orgs/daisy/projects/2). + Changes in release v1.14.14 =========================== diff --git a/pom.xml b/pom.xml index 5ce51de8..ad6d16a3 100644 --- a/pom.xml +++ b/pom.xml @@ -9,7 +9,7 @@ org.daisy.pipeline assembly - 1.14.15-SNAPSHOT + 1.14.16-SNAPSHOT pom DAISY Pipeline 2 :: Assembly Builds the main distribution of the DAISY Pipeline 2. @@ -69,14 +69,14 @@ org.daisy.pipeline framework-bom - 1.14.13 + 1.14.15 pom import org.daisy.pipeline.modules modules-bom - 1.14.14 + 1.14.17 pom import @@ -147,16 +147,6 @@ - - org.daisy.pipeline - logging-activator - - - * - * - - - org.daisy.pipeline modules-registry @@ -986,6 +976,16 @@ + + org.daisy.pipeline.modules + tts-adapter-azure + + + * + * + + + org.daisy.pipeline.modules tts-adapter-cereproc @@ -1357,18 +1357,8 @@ - org.codehaus.jackson - jackson-core-asl - - - * - * - - - - - org.codehaus.jackson - jackson-mapper-asl + com.microsoft.cognitiveservices.speech + client-sdk * @@ -1819,10 +1809,6 @@ org.daisy.pipeline logging-appender - - org.daisy.pipeline - logging-activator - org.daisy.pipeline modules-registry @@ -1902,6 +1888,12 @@ org.slf4j slf4j-api + org.slf4j jul-to-slf4j @@ -2368,6 +2360,10 @@ org.daisy.pipeline.modules tts-adapter-acapela + + org.daisy.pipeline.modules + tts-adapter-azure + org.daisy.pipeline.modules tts-adapter-cereproc @@ -2527,13 +2523,14 @@ org.apache.commons commons-compress + - org.codehaus.jackson - jackson-core-asl - - - org.codehaus.jackson - jackson-mapper-asl + com.microsoft.cognitiveservices.speech + client-sdk + + org.codehaus.jackson + jackson-core-asl + + + org.codehaus.jackson + jackson-mapper-asl + @@ -3339,6 +3347,7 @@ felix.properties, logback.xml, + logging.properties, pipeline.properties @@ -3363,6 +3372,11 @@ src/main/resources/etc/logback.xml ${deb.pipeline.config}/logback.xml + + file + src/main/resources/etc/logging.properties + ${deb.pipeline.config}/logging.properties + link true diff --git a/src/main/assembly/components/base-linux.xml b/src/main/assembly/components/bin-linux.xml similarity index 100% rename from src/main/assembly/components/base-linux.xml rename to src/main/assembly/components/bin-linux.xml diff --git a/src/main/assembly/components/base-mac.xml b/src/main/assembly/components/bin-mac.xml similarity index 100% rename from src/main/assembly/components/base-mac.xml rename to src/main/assembly/components/bin-mac.xml diff --git a/src/main/assembly/components/base-win.xml b/src/main/assembly/components/bin-win.xml similarity index 100% rename from src/main/assembly/components/base-win.xml rename to src/main/assembly/components/bin-win.xml diff --git a/src/main/assembly/dist-linux.xml b/src/main/assembly/dist-linux.xml index 27d2038c..cbdaf6c0 100644 --- a/src/main/assembly/dist-linux.xml +++ b/src/main/assembly/dist-linux.xml @@ -8,7 +8,7 @@ daisy-pipeline src/main/assembly/components/base.xml - src/main/assembly/components/base-linux.xml + src/main/assembly/components/bin-linux.xml src/main/assembly/components/jars.xml src/main/assembly/components/jars-linux.xml src/main/assembly/components/cli-linux.xml diff --git a/src/main/assembly/dist-mac.xml b/src/main/assembly/dist-mac.xml index 52d3ea24..5cb61040 100644 --- a/src/main/assembly/dist-mac.xml +++ b/src/main/assembly/dist-mac.xml @@ -8,7 +8,7 @@ daisy-pipeline src/main/assembly/components/base.xml - src/main/assembly/components/base-mac.xml + src/main/assembly/components/bin-mac.xml src/main/assembly/components/jars.xml src/main/assembly/components/jars-mac.xml src/main/assembly/components/cli-mac.xml diff --git a/src/main/assembly/dist-minimal.xml b/src/main/assembly/dist-minimal.xml index fc1600c9..2eb61d0b 100644 --- a/src/main/assembly/dist-minimal.xml +++ b/src/main/assembly/dist-minimal.xml @@ -8,8 +8,8 @@ daisy-pipeline src/main/assembly/components/base.xml - src/main/assembly/components/base-linux.xml - src/main/assembly/components/base-win.xml + src/main/assembly/components/bin-linux.xml + src/main/assembly/components/bin-win.xml src/main/assembly/components/updater-all.xml diff --git a/src/main/assembly/dist-win.xml b/src/main/assembly/dist-win.xml index ffd6bb8b..6dbd73c9 100644 --- a/src/main/assembly/dist-win.xml +++ b/src/main/assembly/dist-win.xml @@ -8,7 +8,7 @@ daisy-pipeline src/main/assembly/components/base.xml - src/main/assembly/components/base-win.xml + src/main/assembly/components/bin-win.xml src/main/assembly/components/jars.xml src/main/assembly/components/jars-win.xml src/main/assembly/components/cli-win.xml diff --git a/src/main/deb/DEBIAN/conffiles b/src/main/deb/DEBIAN/conffiles index c3a92e8d..fedd11c6 100644 --- a/src/main/deb/DEBIAN/conffiles +++ b/src/main/deb/DEBIAN/conffiles @@ -1,2 +1,3 @@ ${deb.pipeline.config}/logback.xml +${deb.pipeline.config}/logging.properties /etc/default/daisy-pipeline2 \ No newline at end of file diff --git a/src/main/resources/README.txt b/src/main/resources/README.txt index c526298e..10740fae 100644 --- a/src/main/resources/README.txt +++ b/src/main/resources/README.txt @@ -1,4 +1,4 @@ - DAISY Pipeline 2 - 1.14.14 - June 27, 2023 + DAISY Pipeline 2 - 1.14.15 - October 20, 2023 ============================================================================== @@ -72,10 +72,10 @@ The package includes: 3. Release Notes ------------------------------------------------------------------------------ -The package includes the 1.14.14 version of the project. +The package includes the 1.14.15 version of the project. See the release notes on this page: - https://github.com/daisy/pipeline-assembly/blob/master/NEWS.md#changes-in-release-v11414 + https://github.com/daisy/pipeline-assembly/blob/master/NEWS.md#changes-in-release-v11415 4. Prerequisites ------------------------------------------------------------------------------ diff --git a/src/main/resources/bin/pipeline2 b/src/main/resources/bin/pipeline2 index cf4d8dfb..b0c41400 100755 --- a/src/main/resources/bin/pipeline2 +++ b/src/main/resources/bin/pipeline2 @@ -464,7 +464,7 @@ run() { CLASSPATH="$CLASSPATH:system/simple-api" fi if [ "$MODE" = "webservice" ]; then - MAIN=org.daisy.pipeline.webservice.impl.PipelineWebService + MAIN=org.daisy.pipeline.webservice.restlet.impl.PipelineWebService else MAIN=SimpleAPI fi @@ -492,6 +492,7 @@ run() { # Logback configuration file SYSTEM_PROPS="${SYSTEM_PROPS} -Dlogback.configurationFile=\"file:${PIPELINE2_CONFIG}/logback.xml\"" + SYSTEM_PROPS="${SYSTEM_PROPS} -Djava.util.logging.config.file=${PIPELINE2_CONFIG}/logging.properties" # to make ${org.daisy.pipeline.data} available in felix.properties (for felix.cache.rootdir) if [ "$ENABLE_OSGI" = "true" ]; then diff --git a/src/main/resources/bin/pipeline2.bat b/src/main/resources/bin/pipeline2.bat index 051ca60a..e4e46a2c 100755 --- a/src/main/resources/bin/pipeline2.bat +++ b/src/main/resources/bin/pipeline2.bat @@ -216,7 +216,7 @@ goto :RUN_LOOP rem ) ) ) - set MAIN=org.daisy.pipeline.webservice.impl.PipelineWebService + set MAIN=org.daisy.pipeline.webservice.restlet.impl.PipelineWebService ) rem Execute the Java Virtual Machine @@ -224,8 +224,7 @@ goto :RUN_LOOP rem Logback configuration file set SYSTEM_PROPS=%SYSTEM_PROPS% -Dlogback.configurationFile="file:%PIPELINE2_HOME:\=/%/etc/logback.xml" - rem Workaround for encoding bugs on Windows - set SYSTEM_PROPS=%SYSTEM_PROPS% -Dfile.encoding=UTF8 + set SYSTEM_PROPS=%SYSTEM_PROPS% -Djava.util.logging.config.file="%PIPELINE2_HOME:\=/%/etc/logging.properties" rem to make ${org.daisy.pipeline.data} available in felix.properties (for felix.cache.rootdir) if %ENABLE_OSGI% == true ( set SYSTEM_PROPS=%SYSTEM_PROPS% -Dorg.daisy.pipeline.data="%PIPELINE2_DATA%" diff --git a/src/main/resources/etc/logging.properties b/src/main/resources/etc/logging.properties new file mode 100644 index 00000000..aeef676f --- /dev/null +++ b/src/main/resources/etc/logging.properties @@ -0,0 +1,7 @@ +handlers= java.util.logging.ConsoleHandler +.level= FINE +java.util.logging.ConsoleHandler.level = FINE +java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter +org.restlet.level = SEVERE +com.sun.jna.level = INFO +sun.rmi.level = INFO