From 95364738c97ab6f50c8fe79081a7db4785ecddf8 Mon Sep 17 00:00:00 2001 From: Samuel Langlois Date: Mon, 20 Jul 2015 10:48:58 +0000 Subject: [PATCH] RA-482 First commit of new codebase to build full (Platform + Share) distribution of Alfresco git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/services/full-installer/trunk@108563 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261 --- distribution/pom.xml | 100 ++++++ .../src/assembly/full-distribution.xml | 40 +++ installer/pom.xml | 327 ++++++++++++++++++ pom.xml | 36 ++ 4 files changed, 503 insertions(+) create mode 100644 distribution/pom.xml create mode 100644 distribution/src/assembly/full-distribution.xml create mode 100644 installer/pom.xml create mode 100644 pom.xml diff --git a/distribution/pom.xml b/distribution/pom.xml new file mode 100644 index 0000000000..d33b5ee816 --- /dev/null +++ b/distribution/pom.xml @@ -0,0 +1,100 @@ + + 4.0.0 + + org.alfresco + alfresco-full-installation + 2015-1-EA-SNAPSHOT + + alfresco-distribution + jar + Alfresco Full Distribution (Community Edition) + + + + 8080 + + + + + + org.alfresco + alfresco-platform-distribution + ${alfresco.platform.version} + zip + + + * + * + + + + + + + org.alfresco + alfresco-share-distribution + ${alfresco.share.version} + zip + + + * + * + + + + + + + alfresco-community-${project.version} + + + maven-dependency-plugin + + + extract-keystore + generate-resources + + unpack + + + + + org.alfresco + alfresco-platform-distribution + ${alfresco.platform.version} + zip + + + org.alfresco + alfresco-share-distribution + ${alfresco.share.version} + zip + + + + + + + + + maven-assembly-plugin + + + make-assembly + package + + single + + + + src/assembly/full-distribution.xml + + + + + + + + + diff --git a/distribution/src/assembly/full-distribution.xml b/distribution/src/assembly/full-distribution.xml new file mode 100644 index 0000000000..3017ca6a9e --- /dev/null +++ b/distribution/src/assembly/full-distribution.xml @@ -0,0 +1,40 @@ + + distribution + + zip + + + + + + target/classes + + + + + + ${project.build.directory}/dependency/alfresco-platform-community-${alfresco.platform.version} + + + + + + ${project.build.directory}/dependency/alfresco-share-distribution-${alfresco.platform.version} + + share.war + + web-server/webapps + + + + + ${project.build.directory}/dependency/alfresco-share-distribution-${alfresco.platform.version} + + *.amp + + amps_share + + + + diff --git a/installer/pom.xml b/installer/pom.xml new file mode 100644 index 0000000000..c0c13ddef0 --- /dev/null +++ b/installer/pom.xml @@ -0,0 +1,327 @@ + + 4.0.0 + + org.alfresco + alfresco-full-installation + 2015-1-EA-SNAPSHOT + + alfresco-full-installer + pom + Alfresco Enterprise Installers + + + 2015-1-EA + ${user.home}/binaries + ${binaries.folder}/bitrock/bitrock-9.5.1 + ${binaries.folder}/build-classpath/alfresco-code-sign + + --license + ${binaries.folder}/build-classpath/license.xml + --setvars + project.outputDirectory=${project.build.directory} + project.version=${installer.version} + project.fullName='Alfresco One ${installer.version}' + alfresco_edition=enterprise + distribution_folder=${project.build.directory}/distribution/alfresco-enterprise-${project.version} + wcmqs_folder=${project.build.directory}/wcmqs + alfresco_amps_source_directory=${project.build.directory}/dependency + alfrescosharepoint_component_enabled=0 + + + + + + + org.alfresco + alfresco-installer + ${project.version} + pom + + + + + + + maven-dependency-plugin + + + get-distribution + prepare-package + + unpack + + + + + org.alfresco + alfresco-installer + ${project.version} + ${project.build.directory} + + + org.alfresco + alfresco-enterprise-distribution + ${project.version} + zip + ${project.build.directory}/distribution + + + + org.alfresco + alfresco-wcmqs-distribution + ${project.version} + zip + ${project.build.directory}/wcmqs + + + + org.alfresco + alfresco-wcmqs-web + ${project.version} + classes + ${project.build.directory}/wcmqs + alfresco/web-extension/** + + + + org.alfresco + alfresco-wcmqs-client-api + ${project.version} + ${project.build.directory}/wcmqs + alfresco/extension/** + + + + org.alfresco + alfresco-solr1-distribution + ${project.version} + zip + ${project.build.directory}/distribution/alfresco-enterprise-${project.version}/alf_data/solr + + + + + + get-amps + prepare-package + + copy + + + + + org.alfresco.integrations + alfresco-googledocs-repo + ${alfresco.googledocs.version} + enterprise + amp + alfresco-googledocs-repo-${alfresco.googledocs.version}.amp + + + org.alfresco.integrations + alfresco-googledocs-share + ${alfresco.googledocs.version} + enterprise + alfresco-googledocs-share-${alfresco.googledocs.version}.amp + amp + + + + + + + + + + maven-resources-plugin + + + override-local-resources + prepare-package + + resources + + + ${project.build.directory} + true + + properties + + + + + + + + + maven-antrun-plugin + + + extract-binaries-tgz + prepare-package + + run + + + + + + + + + + + + org.codehaus.mojo + exec-maven-plugin + + ${bitrock.executable} + ${project.build.directory}/bitrock + + + + + win32-installer + package + + exec + + + ${skipWinInstaller} + + build project.xml + windows + ${bitrock.arguments} + binaries_folder=${binaries.folder}/bitrock/binaries-windows + local_binaries_folder=${project.build.directory}/binaries-windows + project.installerFilename=alfresco-enterprise-${project.version}-installer-win-x32.exe + + + + + + + win64-installer + package + + exec + + + ${skipWinInstaller} + + build project.xml + windows + ${bitrock.arguments} + binaries_folder=${binaries.folder}/bitrock/binaries-windows-x64 + local_binaries_folder=${project.build.directory}/binaries-windows-x64 + project.installerFilename=alfresco-enterprise-${project.version}-installer-win-x64.exe + + + + + + + linux-installer + package + + exec + + + ${skipLinInstaller} + + build project.xml + linux-x64 + ${bitrock.arguments} + binaries_folder=${binaries.folder}/bitrock/binaries-linux-x64 + local_binaries_folder=${project.build.directory}/binaries-linux-x64 + project.installerFilename=alfresco-enterprise-${project.version}-installer-linux-x64.bin + + + + + + + osx-installer + package + + exec + + + ${skipOSXInstaller} + + build project.xml + osx + ${bitrock.arguments} + binaries_folder=${binaries.folder}/bitrock/binaries-osx-x64 + local_binaries_folder=${project.build.directory}/binaries-osx-x64 + project.installerFilename=alfresco-enterprise-${project.version}-installer-osx-x64.app + + + + + + + + + + + + win-bitrock + + + windows + + + + ${bitrock.folder}/win/bin/builder-cli.exe + + + + linux-bitrock + + + linux + + + + ${bitrock.folder}/linux/bin/builder + + + + + + sign + + + ${user.home}/binaries/build-classpath/alfresco-code-sign.der + + + + + + maven-antrun-plugin + + + sign-windows-installers + verify + + run + + + ${skipWinInstaller} + + + + + + + + + + + + + + + diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000000..4a6db3b2cc --- /dev/null +++ b/pom.xml @@ -0,0 +1,36 @@ + + 4.0.0 + + org.alfresco + alfresco-super-pom + 6 + + alfresco-full-installation + 2015-1-EA-SNAPSHOT + pom + Alfresco Full Installation + + + 5.1-AIR1-SNAPSHOT + 5.1-AIR1-SNAPSHOT + + + + distribution + installer + + + + + enterprise + + ear + enterprise-distribution + enterprise-installer + + + + + +