diff --git a/build.gradle b/build.gradle new file mode 100644 index 00000000..01630d06 --- /dev/null +++ b/build.gradle @@ -0,0 +1,20 @@ +apply plugin: 'se.mtm.artifactory-rpm' + +buildscript { + repositories { + maven { + url "http://artifactory.mtm.se:8081/artifactory/libs-both" + } + } + dependencies { + classpath 'se.mtm.gradle:gradle-artifactory-rpm-plugin:1.0.11' + } +} + +artifactoryRpm { + distributionDir = "target/rpm/pipeline2/RPMS/x86_64" +} + +task wrapper(type: Wrapper) { + gradleVersion = '2.3' +} \ No newline at end of file diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar new file mode 100644 index 00000000..b7612167 Binary files /dev/null and b/gradle/wrapper/gradle-wrapper.jar differ diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties new file mode 100644 index 00000000..da62ebc5 --- /dev/null +++ b/gradle/wrapper/gradle-wrapper.properties @@ -0,0 +1,6 @@ +#Mon Apr 20 13:48:15 CEST 2015 +distributionBase=GRADLE_USER_HOME +distributionPath=wrapper/dists +zipStoreBase=GRADLE_USER_HOME +zipStorePath=wrapper/dists +distributionUrl=https\://services.gradle.org/distributions/gradle-2.3-all.zip diff --git a/gradlew b/gradlew new file mode 100644 index 00000000..91a7e269 --- /dev/null +++ b/gradlew @@ -0,0 +1,164 @@ +#!/usr/bin/env bash + +############################################################################## +## +## Gradle start up script for UN*X +## +############################################################################## + +# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. +DEFAULT_JVM_OPTS="" + +APP_NAME="Gradle" +APP_BASE_NAME=`basename "$0"` + +# Use the maximum available, or set MAX_FD != -1 to use that value. +MAX_FD="maximum" + +warn ( ) { + echo "$*" +} + +die ( ) { + echo + echo "$*" + echo + exit 1 +} + +# OS specific support (must be 'true' or 'false'). +cygwin=false +msys=false +darwin=false +case "`uname`" in + CYGWIN* ) + cygwin=true + ;; + Darwin* ) + darwin=true + ;; + MINGW* ) + msys=true + ;; +esac + +# For Cygwin, ensure paths are in UNIX format before anything is touched. +if $cygwin ; then + [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"` +fi + +# Attempt to set APP_HOME +# Resolve links: $0 may be a link +PRG="$0" +# Need this for relative symlinks. +while [ -h "$PRG" ] ; do + ls=`ls -ld "$PRG"` + link=`expr "$ls" : '.*-> \(.*\)$'` + if expr "$link" : '/.*' > /dev/null; then + PRG="$link" + else + PRG=`dirname "$PRG"`"/$link" + fi +done +SAVED="`pwd`" +cd "`dirname \"$PRG\"`/" >&- +APP_HOME="`pwd -P`" +cd "$SAVED" >&- + +CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar + +# Determine the Java command to use to start the JVM. +if [ -n "$JAVA_HOME" ] ; then + if [ -x "$JAVA_HOME/jre/sh/java" ] ; then + # IBM's JDK on AIX uses strange locations for the executables + JAVACMD="$JAVA_HOME/jre/sh/java" + else + JAVACMD="$JAVA_HOME/bin/java" + fi + if [ ! -x "$JAVACMD" ] ; then + die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME + +Please set the JAVA_HOME variable in your environment to match the +location of your Java installation." + fi +else + JAVACMD="java" + which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. + +Please set the JAVA_HOME variable in your environment to match the +location of your Java installation." +fi + +# Increase the maximum file descriptors if we can. +if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then + MAX_FD_LIMIT=`ulimit -H -n` + if [ $? -eq 0 ] ; then + if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then + MAX_FD="$MAX_FD_LIMIT" + fi + ulimit -n $MAX_FD + if [ $? -ne 0 ] ; then + warn "Could not set maximum file descriptor limit: $MAX_FD" + fi + else + warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" + fi +fi + +# For Darwin, add options to specify how the application appears in the dock +if $darwin; then + GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" +fi + +# For Cygwin, switch paths to Windows format before running java +if $cygwin ; then + APP_HOME=`cygpath --path --mixed "$APP_HOME"` + CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` + + # We build the pattern for arguments to be converted via cygpath + ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` + SEP="" + for dir in $ROOTDIRSRAW ; do + ROOTDIRS="$ROOTDIRS$SEP$dir" + SEP="|" + done + OURCYGPATTERN="(^($ROOTDIRS))" + # Add a user-defined pattern to the cygpath arguments + if [ "$GRADLE_CYGPATTERN" != "" ] ; then + OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)" + fi + # Now convert the arguments - kludge to limit ourselves to /bin/sh + i=0 + for arg in "$@" ; do + CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` + CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option + + if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition + eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` + else + eval `echo args$i`="\"$arg\"" + fi + i=$((i+1)) + done + case $i in + (0) set -- ;; + (1) set -- "$args0" ;; + (2) set -- "$args0" "$args1" ;; + (3) set -- "$args0" "$args1" "$args2" ;; + (4) set -- "$args0" "$args1" "$args2" "$args3" ;; + (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; + (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; + (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; + (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; + (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; + esac +fi + +# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules +function splitJvmOpts() { + JVM_OPTS=("$@") +} +eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS +JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME" + +exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@" diff --git a/gradlew.bat b/gradlew.bat new file mode 100644 index 00000000..8a0b282a --- /dev/null +++ b/gradlew.bat @@ -0,0 +1,90 @@ +@if "%DEBUG%" == "" @echo off +@rem ########################################################################## +@rem +@rem Gradle startup script for Windows +@rem +@rem ########################################################################## + +@rem Set local scope for the variables with windows NT shell +if "%OS%"=="Windows_NT" setlocal + +@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. +set DEFAULT_JVM_OPTS= + +set DIRNAME=%~dp0 +if "%DIRNAME%" == "" set DIRNAME=. +set APP_BASE_NAME=%~n0 +set APP_HOME=%DIRNAME% + +@rem Find java.exe +if defined JAVA_HOME goto findJavaFromJavaHome + +set JAVA_EXE=java.exe +%JAVA_EXE% -version >NUL 2>&1 +if "%ERRORLEVEL%" == "0" goto init + +echo. +echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. +echo. +echo Please set the JAVA_HOME variable in your environment to match the +echo location of your Java installation. + +goto fail + +:findJavaFromJavaHome +set JAVA_HOME=%JAVA_HOME:"=% +set JAVA_EXE=%JAVA_HOME%/bin/java.exe + +if exist "%JAVA_EXE%" goto init + +echo. +echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% +echo. +echo Please set the JAVA_HOME variable in your environment to match the +echo location of your Java installation. + +goto fail + +:init +@rem Get command-line arguments, handling Windowz variants + +if not "%OS%" == "Windows_NT" goto win9xME_args +if "%@eval[2+2]" == "4" goto 4NT_args + +:win9xME_args +@rem Slurp the command line arguments. +set CMD_LINE_ARGS= +set _SKIP=2 + +:win9xME_args_slurp +if "x%~1" == "x" goto execute + +set CMD_LINE_ARGS=%* +goto execute + +:4NT_args +@rem Get arguments from the 4NT Shell from JP Software +set CMD_LINE_ARGS=%$ + +:execute +@rem Setup the command line + +set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar + +@rem Execute Gradle +"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS% + +:end +@rem End local scope for the variables with windows NT shell +if "%ERRORLEVEL%"=="0" goto mainEnd + +:fail +rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of +rem the _cmd.exe /c_ return code! +if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 +exit /b 1 + +:mainEnd +if "%OS%"=="Windows_NT" endlocal + +:omega diff --git a/pom.xml b/pom.xml index d9ac3e0e..296c7301 100644 --- a/pom.xml +++ b/pom.xml @@ -9,7 +9,7 @@ org.daisy.pipeline assembly - 1.9.10-SNAPSHOT + 1.9.13 pom DAISY Pipeline 2 :: Assembly Builds the main distribution of the DAISY Pipeline 2. @@ -65,7 +65,7 @@ org.daisy.pipeline.modules.braille braille-modules-bom - 1.9.10-SNAPSHOT + 1.9.13 pom import @@ -90,6 +90,11 @@ pom import + + org.daisy.pipeline.modules.braille + mod-mtm + 1.6.0 + @@ -315,6 +320,11 @@ com.xmlcalabash 1.0.23 + + org.daisy.libs + logback-osgi-adapter + 1.0.0 + org.daisy.libs saxon-he @@ -839,6 +849,10 @@ org.daisy.pipeline.modules zip-utils + + org.daisy.pipeline.modules.braille + mod-mtm + org.daisy.pipeline.modules.braille common-utils @@ -1098,20 +1112,95 @@ + + mac + + + mac + + + + + + maven-dependency-plugin + + + unpack-cli-mac + + unpack + + + + + org.daisy.pipeline + cli + zip + darwin_386 + ${project.build.directory}/cli/mac32 + + + + + + + + maven-assembly-plugin + + + dist-mac + package + + single + + + + src/main/assembly/dist-mac.xml + + + src/main/assembly/dist.properties + src/main/assembly/dist-nix.properties + + false + pipeline2-${project.version}_mac + + + + + + + - - rpm - - root - root - /opt/daisy-pipeline2 - system/felix - system/bootstrap - modules - + linux + + + linux + + + + maven-dependency-plugin + + + unpack-cli-linux + + unpack + + + + + org.daisy.pipeline + cli + zip + linux_386 + ${project.build.directory}/cli/linux32 + + + + + + maven-assembly-plugin @@ -1134,601 +1223,69 @@ + + + + + + + win + + + windows + + + + + + maven-dependency-plugin + + + unpack-cli-win + + unpack + + + + + org.daisy.pipeline + cli + 2.0.0 + zip + windows_386 + ${project.build.directory}/cli/win32 + + + + + - org.codehaus.mojo - rpm-maven-plugin - 2.0.1 + maven-assembly-plugin - generate-rpm + dist-win + package - rpm + single - - - - pipeline2 - daisy-pipeline2 - daisy-pipeline2 - x86_64 - - - ${pipeline.home} - 0644 - ${pipeline.user} - ${pipeline.group} - - - src/main/resources - - etc/** - NOTICE.txt - README.txt - - - etc/system.properties - etc/config.properties - etc/org.apache.felix.fileinstall-modules.cfg - etc/org.apache.felix.fileinstall-libs.cfg - - - - src/main/resources - - samples/daisy202/** - samples/daisy3/** - samples/dtbook/** - samples/zedai/** - - - samples/html/** - - - - - - ${pipeline.home} - 0640 - ${pipeline.user} - ${pipeline.group} - - - src/main/resources - - etc/system.properties - etc/config.properties - etc/org.apache.felix.fileinstall-modules.cfg - - true - - - - - ${pipeline.home} - 0550 - ${pipeline.user} - ${pipeline.group} - - - src/main/resources - - bin/** - - - bin/pipeline2.bat - - true - - - - - ${pipeline.home}/${bundles.bootstrap} - 0644 - ${pipeline.user} - ${pipeline.group} - - - ${project.basedir}/target/bundles/bootstrap - - - - - ${pipeline.home}/${bundles.auto.deploy} - 0644 - ${pipeline.user} - ${pipeline.group} - - - ${project.basedir}/target/bundles/felix - - org.apache.felix.org.apache.felix.gogo* - - - - - - ${pipeline.home}/${bundles.auto.deploy}/gogo - 0644 - ${pipeline.user} - ${pipeline.group} - - - ${project.basedir}/target/bundles/felix - - org.apache.felix.org.apache.felix.gogo* - - - - - - ${pipeline.home}/system/framework - 0644 - ${pipeline.user} - ${pipeline.group} - - - ${project.basedir}/target/bundles/libs - - - - - ${pipeline.home}/system/framework - 0644 - ${pipeline.user} - ${pipeline.group} - - - ${project.basedir}/target/bundles/pipeline - - - - - ${pipeline.home}/system/frontend - 0644 - ${pipeline.user} - ${pipeline.group} - - - ${project.basedir}/target/bundles/frontend - - - - - ${pipeline.home}/${bundles.modules} - 0644 - ${pipeline.user} - ${pipeline.group} - - - ${project.basedir}/target/bundles/modules - - linux - linux/* - win - win/* - mac - mac/* - - - - ${project.basedir}/target/bundles/modules/linux - - - - - - src/main/assembly/dist.properties - src/main/assembly/dist-nix.properties - - - - - - - - - - - - - rpm-cli - - root - root - /opt/daisy-pipeline2 - ${pipeline.home}/cli - - - - - maven-dependency-plugin - - - unpack-cli-linux - - unpack - - - - - org.daisy.pipeline - cli - zip - linux_386 - ${project.build.directory}/cli/linux32 - - - - - - - - org.codehaus.mojo - rpm-maven-plugin - 2.0.1 - - - generate-rpm - - rpm - - - - - pipeline2-cli - daisy-pipeline2-cli - daisy-pipeline2-cli - x86_64 - - - ${pipeline.cli.home} - 0640 - ${pipeline.user} - ${pipeline.group} - - - src/main/resources/cli - - config.yml - - - - - - ${pipeline.cli.home} - 0640 - ${pipeline.user} - ${pipeline.group} - - - ${project.basedir}/target/cli/linux32 - - dp2 - - - - - - - - - - - - - - - - - rpm-webui - - 1.8.1 - root - root - /opt/daisy-pipeline2-webui - - - - - maven-dependency-plugin - - - unpack - package - - unpack - - - - - org.daisy.pipeline - webui - 1.8.1 - zip - true - target/webui - - - false - true - - - - - - org.codehaus.mojo - rpm-maven-plugin - 2.0.1 - - - generate-rpm-webui - - rpm - - - - - pipeline2-webui - daisy-pipeline2-webui - daisy-pipeline2-webui - ${pipeline.webui-version} - noarch - - - ${pipeline.webui.home} - 660 - ${pipeline.webui.user} - ${pipeline.webui.group} - - - ${project.basedir}/target/webui/daisy-pipeline-webui - - dp2webui/** - lib/** - startui/** - themes/** - - - application.conf - logger.xml - uninstall - uninstall.bat - start - start.bat - - - - - - ${pipeline.webui.home} - 660 - ${pipeline.webui.user} - ${pipeline.webui.group} - - - ${project.basedir}/target/webui/daisy-pipeline-webui - - application.conf - logger.xml - - - dp2webui/** - lib/** - startui/** - themes/** - uninstall - uninstall.bat - start - start.bat - - - - - - ${pipeline.webui.home} - 550 - ${pipeline.webui.user} - ${pipeline.webui.group} - - - ${project.basedir}/target/webui/daisy-pipeline-webui - - start - - - - - - - - - - - - - - - - mac - - - mac - - - - - - maven-dependency-plugin - - - unpack-cli-mac - - unpack - - - - - org.daisy.pipeline - cli - zip - darwin_386 - ${project.build.directory}/cli/mac32 - - - - - - - - maven-assembly-plugin - - - dist-mac - package - - single - - - - src/main/assembly/dist-mac.xml - - - src/main/assembly/dist.properties - src/main/assembly/dist-nix.properties - - false - pipeline2-${project.version}_mac - + + + src/main/assembly/dist-win.xml + + + src/main/assembly/dist.properties + src/main/assembly/dist-win.properties + + false + pipeline2-${project.version}_win + - - linux - - - linux - - - - - - maven-dependency-plugin - - - unpack-cli-linux - - unpack - - - - - org.daisy.pipeline - cli - zip - linux_386 - ${project.build.directory}/cli/linux32 - - - - - - - - maven-assembly-plugin - - - dist-linux - package - - single - - - - src/main/assembly/dist-linux.xml - - - src/main/assembly/dist.properties - src/main/assembly/dist-nix.properties - - false - pipeline2-${project.version}_linux - - - - - - - - - win - - - windows - - - - - - maven-dependency-plugin - - - unpack-cli-win - - unpack - - - - - org.daisy.pipeline - cli - 2.0.0 - zip - windows_386 - ${project.build.directory}/cli/win32 - - - - - - - - maven-assembly-plugin - - - dist-win - package - - single - - - - src/main/assembly/dist-win.xml - - - src/main/assembly/dist.properties - src/main/assembly/dist-win.properties - - false - pipeline2-${project.version}_win - - - - - - - - - dev-launcher @@ -1808,12 +1365,99 @@ rm -rf /opt/daisy-pipeline2-webui - - - - - - + + + + + + + + + + + + + + net.sf.saxon + Saxon-HE + 9.5.1-5 + + + + + maven-assembly-plugin + + + dist-mac + none + + + dist-linux + none + + + dist-win + none + + + dev-launcher-assembly + package + + single + + + + src/main/assembly/dev.xml + + + src/main/assembly/dev.properties + + false + dev-launcher + false + + + + + + + + + + releaseDescriptor + + + + maven-help-plugin + 2.1.1 + + + generate-effective-pom + generate-resources + + effective-pom + + + target/tmp/effective-pom.xml + + + + + + maven-antrun-plugin + + + generate-release-descriptor + generate-resources + + run + + + + + + + @@ -1866,8 +1510,6 @@ rm -rf /opt/daisy-pipeline2-webui - - deb @@ -1878,9 +1520,6 @@ rm -rf /opt/daisy-pipeline2-webui /etc/opt/daisy-pipeline2 /opt/daisy-pipeline2-cli /etc/opt/daisy-pipeline2-cli - pipeline2-webui - /opt/daisy-pipeline2-webui - /var/opt/daisy-pipeline2-webui system/felix system/bootstrap modules @@ -1895,29 +1534,13 @@ rm -rf /opt/daisy-pipeline2-webui supersecret /dev/null false + org.daisy.pipeline.logging.IgnoreSiftAppender maven-dependency-plugin - - copy-pipeline-webui - - unpack - - - - - org.daisy.pipeline - webui - 1.8.1 - zip - ${project.build.directory}/webui - - - - unpack-cli-linux @@ -1958,6 +1581,7 @@ rm -rf /opt/daisy-pipeline2-webui etc/config.properties etc/org.apache.felix.fileinstall-modules.cfg etc/system.properties + etc/config-logback.xml @@ -1995,7 +1619,6 @@ rm -rf /opt/daisy-pipeline2-webui all target/daisy-pipeline2_${project.version}_all.deb - @@ -2016,7 +1639,6 @@ rm -rf /opt/daisy-pipeline2-webui target/filtered-resources/deb${pipeline.home}/bin/debian.cfg ${pipeline.home}/bin/debian.cfg - @@ -2029,7 +1651,6 @@ rm -rf /opt/daisy-pipeline2-webui 755 - @@ -2063,7 +1684,7 @@ rm -rf /opt/daisy-pipeline2-webui file - src/main/resources/etc/config-logback.xml + target/filtered-resources/resources/etc/config-logback.xml ${pipeline.config}/config-logback.xml @@ -2077,7 +1698,6 @@ rm -rf /opt/daisy-pipeline2-webui src/main/deb/etc/default/pipeline2d /etc/default/pipeline2d - @@ -2135,7 +1755,6 @@ rm -rf /opt/daisy-pipeline2-webui perm - @@ -2160,7 +1779,6 @@ rm -rf /opt/daisy-pipeline2-webui perm - @@ -2170,7 +1788,6 @@ rm -rf /opt/daisy-pipeline2-webui ${pipeline.log} - @@ -2186,7 +1803,6 @@ rm -rf /opt/daisy-pipeline2-webui cli_all target/daisy-pipeline2-cli_${project.version}_all.deb - @@ -2194,122 +1810,389 @@ rm -rf /opt/daisy-pipeline2-webui directory target/cli/linux32 - dp2 + dp2 + + + perm + ${pipeline.cli.home} + 755 + + + + + + + file + target/filtered-resources/cli/config.yml + ${pipeline.cli.home}/config.yml + + + link + true + ${pipeline.cli.config}/config.yml + ${pipeline.cli.home}/config.yml + + + + + + + + maven-assembly-plugin + + + dist-mac + none + + + dist-linux + none + + + dist-win + none + + + + + + + + + + rpm + + root + root + /opt/daisy-pipeline2 + system/felix + system/bootstrap + modules + org.daisy.pipeline.logging.IgnoreSiftAppender + + + + + maven-assembly-plugin + + + dist-linux + package + + single + + + + + src/main/assembly/dist-linux.xml + + + src/main/assembly/dist.properties + src/main/assembly/dist-nix.properties + + false + pipeline2-${project.version}_linux + + + + dist-mac + none + + + dist-win + none + + + + + org.codehaus.mojo + rpm-maven-plugin + 2.0.1 + + + generate-rpm + + attached-rpm + + + + + pipeline2 + daisy-pipeline2 + daisy-pipeline2 + x86_64 + + + ${pipeline.home} + 0644 + ${pipeline.user} + ${pipeline.group} + + + src/main/resources + + etc/** + NOTICE.txt + README.txt + + + etc/system.properties + etc/config.properties + etc/org.apache.felix.fileinstall-modules.cfg + etc/org.apache.felix.fileinstall-libs.cfg + + + + src/main/resources + + samples/daisy202/** + samples/daisy3/** + samples/dtbook/** + samples/zedai/** + + + samples/html/** + + + + + + ${pipeline.home} + 0640 + ${pipeline.user} + ${pipeline.group} + + + src/main/resources + + etc/system.properties + etc/config.properties + etc/org.apache.felix.fileinstall-modules.cfg + etc/config-logback.xml + + true + + + + + ${pipeline.home} + 0550 + ${pipeline.user} + ${pipeline.group} + + + src/main/resources + + bin/** + + + bin/pipeline2.bat + + true + + + + + ${pipeline.home}/${bundles.bootstrap} + 0755 + ${pipeline.user} + ${pipeline.group} + + + ${project.basedir}/target/bundles/bootstrap + + + + + ${pipeline.home}/${bundles.auto.deploy} + 0755 + ${pipeline.user} + ${pipeline.group} + + + ${project.basedir}/target/bundles/felix + + org.apache.felix.org.apache.felix.gogo* + + + + + + ${pipeline.home}/${bundles.auto.deploy}/gogo + 0755 + ${pipeline.user} + ${pipeline.group} + + + ${project.basedir}/target/bundles/felix + + org.apache.felix.org.apache.felix.gogo* - - perm - ${pipeline.cli.home} - 755 - - + + + + + ${pipeline.home}/system/framework + 0755 + ${pipeline.user} + ${pipeline.group} + + + ${project.basedir}/target/bundles/libs + + + + + ${pipeline.home}/system/framework + 0755 + ${pipeline.user} + ${pipeline.group} + + + ${project.basedir}/target/bundles/pipeline + + + + + ${pipeline.home}/system/frontend + 0755 + ${pipeline.user} + ${pipeline.group} + + + ${project.basedir}/target/bundles/frontend + + + + + ${pipeline.home}/${bundles.modules} + 0755 + ${pipeline.user} + ${pipeline.group} + + + ${project.basedir}/target/bundles/modules + + linux + linux/* + win + win/* + mac + mac/* + + + + ${project.basedir}/target/bundles/modules/linux + + + + + + src/main/assembly/dist.properties + src/main/assembly/dist-nix.properties + + + + + + + + + - - - - - file - target/filtered-resources/cli/config.yml - ${pipeline.cli.home}/config.yml - - - link - true - ${pipeline.cli.config}/config.yml - ${pipeline.cli.home}/config.yml - - - - + + + rpm-cli + + root + root + /opt/daisy-pipeline2 + ${pipeline.home}/cli + + + + + maven-dependency-plugin + - package-deb-webui - none + unpack-cli-linux - jdeb + unpack - target/filtered-resources/deb/DEBIAN.webui - true - webui_all - target/daisy-pipeline2-webui_${project.version}_all.deb - - - - - - - directory - target/webui/daisy-pipeline-webui - - start, - start.bat, - uninstall, - uninstall.bat, - dp2webui/* - - - perm - ${pipeline.webui.home} - - - - target/filtered-resources/deb${pipeline.webui.home}/start - file - - perm - ${pipeline.webui.home} - 755 - - - - - - - - directory - target/webui/daisy-pipeline-webui/dp2webui - - perm - ${pipeline.webui.data}/webui/dp2webui - - - - - - - - target/filtered-resources/deb/etc/init.d/pipeline2-webuid - file - - perm - /etc/init.d - 755 - - - + + + org.daisy.pipeline + cli + zip + linux_386 + ${project.build.directory}/cli/linux32 + + - maven-assembly-plugin + org.codehaus.mojo + rpm-maven-plugin + 2.0.1 - dist-mac - none - - - dist-linux - none - - - dist-win - none + generate-rpm + + rpm + + + pipeline2-cli + daisy-pipeline2-cli + daisy-pipeline2-cli + x86_64 + + + ${pipeline.cli.home} + 0640 + ${pipeline.user} + ${pipeline.group} + + + src/main/resources/cli + + config.yml + + + + + + ${pipeline.cli.home} + 0640 + ${pipeline.user} + ${pipeline.group} + + + ${project.basedir}/target/cli/linux32 + + dp2 + + + + + + + + + + webui @@ -2402,6 +2285,32 @@ rm -rf /opt/daisy-pipeline2-webui + + releaseDesciptor + + + + + + + maven-help-plugin + + + copy-resources + process-resources + + effective-pom + + + + + + + + + + + installer @@ -2499,5 +2408,11 @@ rm -rf /opt/daisy-pipeline2-webui SpringSource Enterprise Bundle Repository - External Bundle Releases http://repository.springsource.com/maven/bundles/external + + + sonatype-nexus-staging-not-released + Nexus Release Repository + http://oss.sonatype.org/content/groups/staging/ + - + \ No newline at end of file