mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
REPO-2886 Change bitrock command arguments to a single line
This commit is contained in:
@@ -1,375 +1,368 @@
|
|||||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>org.alfresco</groupId>
|
<groupId>org.alfresco</groupId>
|
||||||
<artifactId>full-community-packaging</artifactId>
|
<artifactId>full-community-packaging</artifactId>
|
||||||
<version>6.0.0-SNAPSHOT</version>
|
<version>6.0.0-SNAPSHOT</version>
|
||||||
<relativePath>../pom.xml</relativePath>
|
<relativePath>../pom.xml</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>alfresco-content-services-community-full-installer</artifactId>
|
<artifactId>alfresco-content-services-community-full-installer</artifactId>
|
||||||
<packaging>pom</packaging>
|
<packaging>pom</packaging>
|
||||||
<name>Alfresco Content Services Community Full Installers</name>
|
<name>Alfresco Content Services Community Full Installers</name>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<binaries.folder>${user.home}/binaries</binaries.folder>
|
<binaries.folder>${user.home}/binaries</binaries.folder>
|
||||||
<bitrock.folder>${project.build.directory}/installbuilder</bitrock.folder>
|
<bitrock.folder>${project.build.directory}/installbuilder</bitrock.folder>
|
||||||
<alfresco.package.name>alfresco-content-services-community-full</alfresco.package.name>
|
<alfresco.package.name>alfresco-content-services-community-full</alfresco.package.name>
|
||||||
<bitrock.arguments>
|
<!-- it is a single line because it is sensitive to line endings -->
|
||||||
project.version=${installer.version.name}
|
<bitrock.arguments>project.version=${installer.version.name} project.fullName='Alfresco Content Services Community' project.windowsSigningPkcs12File=${signing.key.location} project.windowsSigningPkcs12Password=${p12Password} alfresco_edition=community alfresco_package='${alfresco.package.name}' project.outputDirectory=${project.build.directory}</bitrock.arguments>
|
||||||
project.fullName='Alfresco Content Services Community'
|
</properties>
|
||||||
project.windowsSigningPkcs12File=${signing.key.location}
|
|
||||||
project.windowsSigningPkcs12Password=${p12Password}
|
<dependencies>
|
||||||
alfresco_edition=community
|
<dependency>
|
||||||
alfresco_package='${alfresco.package.name}'
|
<groupId>org.alfresco</groupId>
|
||||||
project.outputDirectory=${project.build.directory}
|
<artifactId>alfresco-installer-resources</artifactId>
|
||||||
</bitrock.arguments>
|
<version>${project.version}</version>
|
||||||
</properties>
|
</dependency>
|
||||||
|
<dependency>
|
||||||
<dependencies>
|
<groupId>org.alfresco</groupId>
|
||||||
<dependency>
|
<artifactId>alfresco-content-services-community-full-distribution</artifactId>
|
||||||
<groupId>org.alfresco</groupId>
|
<version>${project.version}</version>
|
||||||
<artifactId>alfresco-installer-resources</artifactId>
|
<type>zip</type>
|
||||||
<version>${project.version}</version>
|
</dependency>
|
||||||
</dependency>
|
<dependency>
|
||||||
<dependency>
|
<groupId>org.alfresco</groupId>
|
||||||
<groupId>org.alfresco</groupId>
|
<artifactId>alfresco-solr1-distribution</artifactId>
|
||||||
<artifactId>alfresco-content-services-community-full-distribution</artifactId>
|
<type>zip</type>
|
||||||
<version>${project.version}</version>
|
</dependency>
|
||||||
<type>zip</type>
|
<dependency>
|
||||||
</dependency>
|
<groupId>org.alfresco</groupId>
|
||||||
<dependency>
|
<artifactId>alfresco-wcmqs-distribution</artifactId>
|
||||||
<groupId>org.alfresco</groupId>
|
<type>zip</type>
|
||||||
<artifactId>alfresco-solr1-distribution</artifactId>
|
</dependency>
|
||||||
<type>zip</type>
|
<dependency>
|
||||||
</dependency>
|
<groupId>org.alfresco</groupId>
|
||||||
<dependency>
|
<artifactId>alfresco-wcmqs-web</artifactId>
|
||||||
<groupId>org.alfresco</groupId>
|
<classifier>classes</classifier>
|
||||||
<artifactId>alfresco-wcmqs-distribution</artifactId>
|
</dependency>
|
||||||
<type>zip</type>
|
<dependency>
|
||||||
</dependency>
|
<groupId>org.alfresco</groupId>
|
||||||
<dependency>
|
<artifactId>alfresco-wcmqs-client-api</artifactId>
|
||||||
<groupId>org.alfresco</groupId>
|
</dependency>
|
||||||
<artifactId>alfresco-wcmqs-web</artifactId>
|
<dependency>
|
||||||
<classifier>classes</classifier>
|
<groupId>org.alfresco.aos-module</groupId>
|
||||||
</dependency>
|
<artifactId>alfresco-aos-module-distributionzip</artifactId>
|
||||||
<dependency>
|
<type>zip</type>
|
||||||
<groupId>org.alfresco</groupId>
|
</dependency>
|
||||||
<artifactId>alfresco-wcmqs-client-api</artifactId>
|
<dependency>
|
||||||
</dependency>
|
<groupId>org.alfresco.integrations</groupId>
|
||||||
<dependency>
|
<artifactId>alfresco-googledocs-repo</artifactId>
|
||||||
<groupId>org.alfresco.aos-module</groupId>
|
<type>amp</type>
|
||||||
<artifactId>alfresco-aos-module-distributionzip</artifactId>
|
</dependency>
|
||||||
<type>zip</type>
|
<dependency>
|
||||||
</dependency>
|
<groupId>org.alfresco.integrations</groupId>
|
||||||
<dependency>
|
<artifactId>alfresco-googledocs-share</artifactId>
|
||||||
<groupId>org.alfresco.integrations</groupId>
|
<type>amp</type>
|
||||||
<artifactId>alfresco-googledocs-repo</artifactId>
|
</dependency>
|
||||||
<type>amp</type>
|
|
||||||
</dependency>
|
<!-- These binaries are extracted using tar, to preserve symlinks -->
|
||||||
<dependency>
|
|
||||||
<groupId>org.alfresco.integrations</groupId>
|
<!-- Common -->
|
||||||
<artifactId>alfresco-googledocs-share</artifactId>
|
<dependency>
|
||||||
<type>amp</type>
|
<groupId>org.alfresco</groupId>
|
||||||
</dependency>
|
<artifactId>installer-common</artifactId>
|
||||||
|
<classifier>linux</classifier>
|
||||||
<!-- These binaries are extracted using tar, to preserve symlinks -->
|
<type>tgz</type>
|
||||||
|
</dependency>
|
||||||
<!-- Common -->
|
|
||||||
<dependency>
|
<!-- Tomcat -->
|
||||||
<groupId>org.alfresco</groupId>
|
<dependency>
|
||||||
<artifactId>installer-common</artifactId>
|
<groupId>org.apache.tomcat</groupId>
|
||||||
<classifier>linux</classifier>
|
<artifactId>tomcat</artifactId>
|
||||||
<type>tgz</type>
|
<classifier>linux</classifier>
|
||||||
</dependency>
|
<type>tgz</type>
|
||||||
|
</dependency>
|
||||||
<!-- Tomcat -->
|
<dependency>
|
||||||
<dependency>
|
<groupId>org.apache.tomcat</groupId>
|
||||||
<groupId>org.apache.tomcat</groupId>
|
<artifactId>tomcat</artifactId>
|
||||||
<artifactId>tomcat</artifactId>
|
<classifier>win64</classifier>
|
||||||
<classifier>linux</classifier>
|
<type>tgz</type>
|
||||||
<type>tgz</type>
|
</dependency>
|
||||||
</dependency>
|
|
||||||
<dependency>
|
<!-- PostgreSQL -->
|
||||||
<groupId>org.apache.tomcat</groupId>
|
<dependency>
|
||||||
<artifactId>tomcat</artifactId>
|
<groupId>org.postgresql</groupId>
|
||||||
<classifier>win64</classifier>
|
<artifactId>postgresql-distribution</artifactId>
|
||||||
<type>tgz</type>
|
<classifier>linux</classifier>
|
||||||
</dependency>
|
<type>tgz</type>
|
||||||
|
</dependency>
|
||||||
<!-- PostgreSQL -->
|
<dependency>
|
||||||
<dependency>
|
<groupId>org.postgresql</groupId>
|
||||||
<groupId>org.postgresql</groupId>
|
<artifactId>postgresql-distribution</artifactId>
|
||||||
<artifactId>postgresql-distribution</artifactId>
|
<classifier>win64</classifier>
|
||||||
<classifier>linux</classifier>
|
<type>tgz</type>
|
||||||
<type>tgz</type>
|
</dependency>
|
||||||
</dependency>
|
|
||||||
<dependency>
|
<!-- Java -->
|
||||||
<groupId>org.postgresql</groupId>
|
<dependency>
|
||||||
<artifactId>postgresql-distribution</artifactId>
|
<groupId>com.oracle.java</groupId>
|
||||||
<classifier>win64</classifier>
|
<artifactId>jre</artifactId>
|
||||||
<type>tgz</type>
|
<classifier>linux</classifier>
|
||||||
</dependency>
|
<type>tgz</type>
|
||||||
|
</dependency>
|
||||||
<!-- Java -->
|
<dependency>
|
||||||
<dependency>
|
<groupId>com.oracle.java</groupId>
|
||||||
<groupId>com.oracle.java</groupId>
|
<artifactId>jre</artifactId>
|
||||||
<artifactId>jre</artifactId>
|
<classifier>win64</classifier>
|
||||||
<classifier>linux</classifier>
|
<type>tgz</type>
|
||||||
<type>tgz</type>
|
</dependency>
|
||||||
</dependency>
|
|
||||||
<dependency>
|
<!-- LibreOffice -->
|
||||||
<groupId>com.oracle.java</groupId>
|
<dependency>
|
||||||
<artifactId>jre</artifactId>
|
<groupId>org.libreoffice</groupId>
|
||||||
<classifier>win64</classifier>
|
<artifactId>libreoffice-dist</artifactId>
|
||||||
<type>tgz</type>
|
<classifier>linux</classifier>
|
||||||
</dependency>
|
<type>tgz</type>
|
||||||
|
</dependency>
|
||||||
<!-- LibreOffice -->
|
<dependency>
|
||||||
<dependency>
|
<groupId>org.libreoffice</groupId>
|
||||||
<groupId>org.libreoffice</groupId>
|
<artifactId>libreoffice-dist</artifactId>
|
||||||
<artifactId>libreoffice-dist</artifactId>
|
<classifier>windows</classifier>
|
||||||
<classifier>linux</classifier>
|
<type>tgz</type>
|
||||||
<type>tgz</type>
|
</dependency>
|
||||||
</dependency>
|
|
||||||
<dependency>
|
<!-- Alfresco Pdf Renderer -->
|
||||||
<groupId>org.libreoffice</groupId>
|
<dependency>
|
||||||
<artifactId>libreoffice-dist</artifactId>
|
<groupId>org.alfresco</groupId>
|
||||||
<classifier>windows</classifier>
|
<artifactId>alfresco-pdf-renderer</artifactId>
|
||||||
<type>tgz</type>
|
<classifier>linux</classifier>
|
||||||
</dependency>
|
<type>tgz</type>
|
||||||
|
</dependency>
|
||||||
<!-- Alfresco Pdf Renderer -->
|
<dependency>
|
||||||
<dependency>
|
<groupId>org.alfresco</groupId>
|
||||||
<groupId>org.alfresco</groupId>
|
<artifactId>alfresco-pdf-renderer</artifactId>
|
||||||
<artifactId>alfresco-pdf-renderer</artifactId>
|
<classifier>win64</classifier>
|
||||||
<classifier>linux</classifier>
|
<type>tgz</type>
|
||||||
<type>tgz</type>
|
</dependency>
|
||||||
</dependency>
|
|
||||||
<dependency>
|
<!-- ImageMagick -->
|
||||||
<groupId>org.alfresco</groupId>
|
<dependency>
|
||||||
<artifactId>alfresco-pdf-renderer</artifactId>
|
<groupId>org.imagemagick</groupId>
|
||||||
<classifier>win64</classifier>
|
<artifactId>imagemagick-distribution</artifactId>
|
||||||
<type>tgz</type>
|
<classifier>linux</classifier>
|
||||||
</dependency>
|
<type>tgz</type>
|
||||||
|
</dependency>
|
||||||
<!-- ImageMagick -->
|
<dependency>
|
||||||
<dependency>
|
<groupId>org.imagemagick</groupId>
|
||||||
<groupId>org.imagemagick</groupId>
|
<artifactId>imagemagick-distribution</artifactId>
|
||||||
<artifactId>imagemagick-distribution</artifactId>
|
<classifier>win64</classifier>
|
||||||
<classifier>linux</classifier>
|
<type>tgz</type>
|
||||||
<type>tgz</type>
|
</dependency>
|
||||||
</dependency>
|
|
||||||
<dependency>
|
<!-- Installbuilder -->
|
||||||
<groupId>org.imagemagick</groupId>
|
<dependency>
|
||||||
<artifactId>imagemagick-distribution</artifactId>
|
<groupId>com.bitnami</groupId>
|
||||||
<classifier>win64</classifier>
|
<artifactId>installbuilder</artifactId>
|
||||||
<type>tgz</type>
|
<classifier>linux</classifier>
|
||||||
</dependency>
|
<type>tgz</type>
|
||||||
|
</dependency>
|
||||||
<!-- Installbuilder -->
|
<dependency>
|
||||||
<dependency>
|
<groupId>com.bitnami</groupId>
|
||||||
<groupId>com.bitnami</groupId>
|
<artifactId>installbuilder</artifactId>
|
||||||
<artifactId>installbuilder</artifactId>
|
<classifier>win</classifier>
|
||||||
<classifier>linux</classifier>
|
<type>tgz</type>
|
||||||
<type>tgz</type>
|
</dependency>
|
||||||
</dependency>
|
|
||||||
<dependency>
|
<!-- Manager -->
|
||||||
<groupId>com.bitnami</groupId>
|
<dependency>
|
||||||
<artifactId>installbuilder</artifactId>
|
<groupId>org.alfresco</groupId>
|
||||||
<classifier>win</classifier>
|
<artifactId>manager</artifactId>
|
||||||
<type>tgz</type>
|
<classifier>linux</classifier>
|
||||||
</dependency>
|
<type>tgz</type>
|
||||||
|
</dependency>
|
||||||
<!-- Manager -->
|
<dependency>
|
||||||
<dependency>
|
<groupId>org.alfresco</groupId>
|
||||||
<groupId>org.alfresco</groupId>
|
<artifactId>manager</artifactId>
|
||||||
<artifactId>manager</artifactId>
|
<classifier>win64</classifier>
|
||||||
<classifier>linux</classifier>
|
<type>tgz</type>
|
||||||
<type>tgz</type>
|
</dependency>
|
||||||
</dependency>
|
</dependencies>
|
||||||
<dependency>
|
|
||||||
<groupId>org.alfresco</groupId>
|
<build>
|
||||||
<artifactId>manager</artifactId>
|
<plugins>
|
||||||
<classifier>win64</classifier>
|
<plugin>
|
||||||
<type>tgz</type>
|
<artifactId>maven-dependency-plugin</artifactId>
|
||||||
</dependency>
|
<executions>
|
||||||
</dependencies>
|
<!-- Force dowload of dependencies -->
|
||||||
|
<execution>
|
||||||
<build>
|
<id>download-dependencies</id>
|
||||||
<plugins>
|
<goals>
|
||||||
<plugin>
|
<goal>resolve</goal>
|
||||||
<artifactId>maven-dependency-plugin</artifactId>
|
</goals>
|
||||||
<executions>
|
</execution>
|
||||||
<!-- Force dowload of dependencies -->
|
<execution>
|
||||||
<execution>
|
<id>get-distribution</id>
|
||||||
<id>download-dependencies</id>
|
<phase>prepare-package</phase>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>resolve</goal>
|
<goal>unpack</goal>
|
||||||
</goals>
|
</goals>
|
||||||
</execution>
|
<configuration>
|
||||||
<execution>
|
<artifactItems>
|
||||||
<id>get-distribution</id>
|
<artifactItem>
|
||||||
<phase>prepare-package</phase>
|
<groupId>org.alfresco</groupId>
|
||||||
<goals>
|
<artifactId>alfresco-installer-resources</artifactId>
|
||||||
<goal>unpack</goal>
|
<outputDirectory>${project.build.directory}/classes</outputDirectory>
|
||||||
</goals>
|
</artifactItem>
|
||||||
<configuration>
|
<artifactItem>
|
||||||
<artifactItems>
|
<groupId>org.alfresco</groupId>
|
||||||
<artifactItem>
|
<artifactId>alfresco-content-services-community-full-distribution</artifactId>
|
||||||
<groupId>org.alfresco</groupId>
|
<type>zip</type>
|
||||||
<artifactId>alfresco-installer-resources</artifactId>
|
<outputDirectory>${project.build.directory}/distribution/${alfresco.distribution.name}-${installer.version.name}</outputDirectory>
|
||||||
<outputDirectory>${project.build.directory}/classes</outputDirectory>
|
</artifactItem>
|
||||||
</artifactItem>
|
<!-- Solr1 Distribution -->
|
||||||
<artifactItem>
|
<artifactItem>
|
||||||
<groupId>org.alfresco</groupId>
|
<groupId>org.alfresco</groupId>
|
||||||
<artifactId>alfresco-content-services-community-full-distribution</artifactId>
|
<artifactId>alfresco-solr1-distribution</artifactId>
|
||||||
<type>zip</type>
|
<type>zip</type>
|
||||||
<outputDirectory>${project.build.directory}/distribution/${alfresco.distribution.name}-${installer.version.name}</outputDirectory>
|
<outputDirectory>${project.build.directory}/distribution/${alfresco.distribution.name}-${installer.version.name}/alf_data/solr</outputDirectory>
|
||||||
</artifactItem>
|
</artifactItem>
|
||||||
<!-- Solr1 Distribution -->
|
<!-- WCMQS Distribution -->
|
||||||
<artifactItem>
|
<artifactItem>
|
||||||
<groupId>org.alfresco</groupId>
|
<groupId>org.alfresco</groupId>
|
||||||
<artifactId>alfresco-solr1-distribution</artifactId>
|
<artifactId>alfresco-wcmqs-distribution</artifactId>
|
||||||
<type>zip</type>
|
<type>zip</type>
|
||||||
<outputDirectory>${project.build.directory}/distribution/${alfresco.distribution.name}-${installer.version.name}/alf_data/solr</outputDirectory>
|
<outputDirectory>${project.build.directory}/wcmqs</outputDirectory>
|
||||||
</artifactItem>
|
</artifactItem>
|
||||||
<!-- WCMQS Distribution -->
|
<!-- WCMQS War Config file -->
|
||||||
<artifactItem>
|
<artifactItem>
|
||||||
<groupId>org.alfresco</groupId>
|
<groupId>org.alfresco</groupId>
|
||||||
<artifactId>alfresco-wcmqs-distribution</artifactId>
|
<artifactId>alfresco-wcmqs-web</artifactId>
|
||||||
<type>zip</type>
|
<classifier>classes</classifier>
|
||||||
<outputDirectory>${project.build.directory}/wcmqs</outputDirectory>
|
<outputDirectory>${project.build.directory}/wcmqs</outputDirectory>
|
||||||
</artifactItem>
|
<includes>alfresco/web-extension/**</includes>
|
||||||
<!-- WCMQS War Config file -->
|
</artifactItem>
|
||||||
<artifactItem>
|
<!-- WCMQS Client Config file -->
|
||||||
<groupId>org.alfresco</groupId>
|
<artifactItem>
|
||||||
<artifactId>alfresco-wcmqs-web</artifactId>
|
<groupId>org.alfresco</groupId>
|
||||||
<classifier>classes</classifier>
|
<artifactId>alfresco-wcmqs-client-api</artifactId>
|
||||||
<outputDirectory>${project.build.directory}/wcmqs</outputDirectory>
|
<outputDirectory>${project.build.directory}/wcmqs</outputDirectory>
|
||||||
<includes>alfresco/web-extension/**</includes>
|
<includes>alfresco/extension/**</includes>
|
||||||
</artifactItem>
|
</artifactItem>
|
||||||
<!-- WCMQS Client Config file -->
|
<!-- Alfresco Office Services Module -->
|
||||||
<artifactItem>
|
<artifactItem>
|
||||||
<groupId>org.alfresco</groupId>
|
<groupId>org.alfresco.aos-module</groupId>
|
||||||
<artifactId>alfresco-wcmqs-client-api</artifactId>
|
<artifactId>alfresco-aos-module-distributionzip</artifactId>
|
||||||
<outputDirectory>${project.build.directory}/wcmqs</outputDirectory>
|
<type>zip</type>
|
||||||
<includes>alfresco/extension/**</includes>
|
<outputDirectory>${project.build.directory}/distribution/aos-module</outputDirectory>
|
||||||
</artifactItem>
|
</artifactItem>
|
||||||
<!-- Alfresco Office Services Module -->
|
</artifactItems>
|
||||||
<artifactItem>
|
</configuration>
|
||||||
<groupId>org.alfresco.aos-module</groupId>
|
</execution>
|
||||||
<artifactId>alfresco-aos-module-distributionzip</artifactId>
|
<execution>
|
||||||
<type>zip</type>
|
<id>get-amps</id>
|
||||||
<outputDirectory>${project.build.directory}/distribution/aos-module</outputDirectory>
|
<phase>prepare-package</phase>
|
||||||
</artifactItem>
|
<goals>
|
||||||
</artifactItems>
|
<goal>copy</goal>
|
||||||
</configuration>
|
</goals>
|
||||||
</execution>
|
<configuration>
|
||||||
<execution>
|
<artifactItems>
|
||||||
<id>get-amps</id>
|
<artifactItem>
|
||||||
<phase>prepare-package</phase>
|
<groupId>org.alfresco.integrations</groupId>
|
||||||
<goals>
|
<artifactId>alfresco-googledocs-repo</artifactId>
|
||||||
<goal>copy</goal>
|
<type>amp</type>
|
||||||
</goals>
|
</artifactItem>
|
||||||
<configuration>
|
<artifactItem>
|
||||||
<artifactItems>
|
<groupId>org.alfresco.integrations</groupId>
|
||||||
<artifactItem>
|
<artifactId>alfresco-googledocs-share</artifactId>
|
||||||
<groupId>org.alfresco.integrations</groupId>
|
<type>amp</type>
|
||||||
<artifactId>alfresco-googledocs-repo</artifactId>
|
</artifactItem>
|
||||||
<type>amp</type>
|
</artifactItems>
|
||||||
</artifactItem>
|
</configuration>
|
||||||
<artifactItem>
|
</execution>
|
||||||
<groupId>org.alfresco.integrations</groupId>
|
</executions>
|
||||||
<artifactId>alfresco-googledocs-share</artifactId>
|
</plugin>
|
||||||
<type>amp</type>
|
|
||||||
</artifactItem>
|
<!-- Override local resources - alfresco-global.properties, etc. -->
|
||||||
</artifactItems>
|
<plugin>
|
||||||
</configuration>
|
<artifactId>maven-resources-plugin</artifactId>
|
||||||
</execution>
|
<executions>
|
||||||
</executions>
|
<execution>
|
||||||
</plugin>
|
<id>override-local-resources</id>
|
||||||
|
<phase>prepare-package</phase>
|
||||||
<!-- Override local resources - alfresco-global.properties, etc. -->
|
<goals>
|
||||||
<plugin>
|
<goal>resources</goal>
|
||||||
<artifactId>maven-resources-plugin</artifactId>
|
</goals>
|
||||||
<executions>
|
<configuration>
|
||||||
<execution>
|
<outputDirectory>${project.build.directory}</outputDirectory>
|
||||||
<id>override-local-resources</id>
|
<overwrite>true</overwrite>
|
||||||
<phase>prepare-package</phase>
|
<nonFilteredFileExtensions>
|
||||||
<goals>
|
<nonFilteredFileExtension>properties</nonFilteredFileExtension>
|
||||||
<goal>resources</goal>
|
</nonFilteredFileExtensions>
|
||||||
</goals>
|
</configuration>
|
||||||
<configuration>
|
</execution>
|
||||||
<outputDirectory>${project.build.directory}</outputDirectory>
|
</executions>
|
||||||
<overwrite>true</overwrite>
|
</plugin>
|
||||||
<nonFilteredFileExtensions>
|
|
||||||
<nonFilteredFileExtension>properties</nonFilteredFileExtension>
|
<plugin>
|
||||||
</nonFilteredFileExtensions>
|
<artifactId>maven-antrun-plugin</artifactId>
|
||||||
</configuration>
|
<executions>
|
||||||
</execution>
|
<!-- Extract all the binaries: Tomcat, PostgreSQL, Java, LibreOffice, Installbuilder-->
|
||||||
</executions>
|
<execution>
|
||||||
</plugin>
|
<id>extract-binaries-tgz</id>
|
||||||
|
<phase>prepare-package</phase>
|
||||||
<plugin>
|
<goals>
|
||||||
<artifactId>maven-antrun-plugin</artifactId>
|
<goal>run</goal>
|
||||||
<executions>
|
</goals>
|
||||||
<!-- Extract all the binaries: Tomcat, PostgreSQL, Java, LibreOffice, Installbuilder-->
|
<configuration>
|
||||||
<execution>
|
<target>
|
||||||
<id>extract-binaries-tgz</id>
|
<ant antfile="${project.build.directory}/classes/extract-binaries.xml" />
|
||||||
<phase>prepare-package</phase>
|
</target>
|
||||||
<goals>
|
</configuration>
|
||||||
<goal>run</goal>
|
</execution>
|
||||||
</goals>
|
<!-- Build installers -->
|
||||||
<configuration>
|
<execution>
|
||||||
<target>
|
<id>build-installers</id>
|
||||||
<ant antfile="${project.build.directory}/classes/extract-binaries.xml" />
|
<phase>package</phase>
|
||||||
</target>
|
<goals>
|
||||||
</configuration>
|
<goal>run</goal>
|
||||||
</execution>
|
</goals>
|
||||||
<!-- Build installers -->
|
<configuration>
|
||||||
<execution>
|
<workingDirectory>${project.build.directory}/classes/bitrock</workingDirectory>
|
||||||
<id>build-installers</id>
|
<target>
|
||||||
<phase>package</phase>
|
<ant antfile="${project.build.directory}/classes/build-installers.xml" />
|
||||||
<goals>
|
</target>
|
||||||
<goal>run</goal>
|
</configuration>
|
||||||
</goals>
|
</execution>
|
||||||
<configuration>
|
</executions>
|
||||||
<workingDirectory>${project.build.directory}/classes/bitrock</workingDirectory>
|
</plugin>
|
||||||
<target>
|
</plugins>
|
||||||
<ant antfile="${project.build.directory}/classes/build-installers.xml" />
|
</build>
|
||||||
</target>
|
|
||||||
</configuration>
|
<profiles>
|
||||||
</execution>
|
<!-- Profiles to set the right path to Bitrock Builder executable -->
|
||||||
</executions>
|
<profile>
|
||||||
</plugin>
|
<id>win-bitrock</id>
|
||||||
</plugins>
|
<activation>
|
||||||
</build>
|
<os>
|
||||||
|
<family>windows</family>
|
||||||
<profiles>
|
</os>
|
||||||
<!-- Profiles to set the right path to Bitrock Builder executable -->
|
</activation>
|
||||||
<profile>
|
<properties>
|
||||||
<id>win-bitrock</id>
|
<bitrock.executable>${bitrock.folder}/bin/builder-cli.exe</bitrock.executable>
|
||||||
<activation>
|
</properties>
|
||||||
<os>
|
</profile>
|
||||||
<family>windows</family>
|
<profile>
|
||||||
</os>
|
<id>linux-bitrock</id>
|
||||||
</activation>
|
<activation>
|
||||||
<properties>
|
<os>
|
||||||
<bitrock.executable>${bitrock.folder}/bin/builder-cli.exe</bitrock.executable>
|
<family>linux</family>
|
||||||
</properties>
|
</os>
|
||||||
</profile>
|
</activation>
|
||||||
<profile>
|
<properties>
|
||||||
<id>linux-bitrock</id>
|
<bitrock.executable>${bitrock.folder}/bin/builder</bitrock.executable>
|
||||||
<activation>
|
</properties>
|
||||||
<os>
|
</profile>
|
||||||
<family>linux</family>
|
</profiles>
|
||||||
</os>
|
|
||||||
</activation>
|
</project>
|
||||||
<properties>
|
|
||||||
<bitrock.executable>${bitrock.folder}/bin/builder</bitrock.executable>
|
|
||||||
</properties>
|
|
||||||
</profile>
|
|
||||||
</profiles>
|
|
||||||
|
|
||||||
</project>
|
|
||||||
|
Reference in New Issue
Block a user