exist-installer
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>xyz.elemental.fork.org.exist-db</groupId>
<artifactId>exist-installer</artifactId>
<version>7.7.0</version>
</dependency><?xml version="1.0" encoding="UTF-8"?>
<!--
Elemental
Copyright (C) 2024, Evolved Binary Ltd
admin@evolvedbinary.com
https://www.evolvedbinary.com | https://www.elemental.xyz
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; version 2.1.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
NOTE: Parts of this file contain code from 'The eXist-db Authors'.
The original license header is included below.
=====================================================================
eXist-db Open Source Native XML Database
Copyright (C) 2001 The eXist-db Authors
info@exist-db.org
http://www.exist-db.org
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
-->
<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">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>xyz.elemental.fork.org.exist-db</groupId>
<artifactId>exist-parent</artifactId>
<version>7.7.0</version>
<relativePath>../exist-parent</relativePath>
</parent>
<artifactId>exist-installer</artifactId>
<packaging>izpack-jar</packaging>
<name>eXist-db IzPack Installer</name>
<description>IzPack Installer for eXist-db NoSQL Database Client/Server</description>
<scm>
<connection>scm:git:https://github.com/evolvedbinary/elemental.git</connection>
<developerConnection>scm:git:https://github.com/evolvedbinary/elemental.git</developerConnection>
<url>scm:git:https://github.com/evolvedbinary/elemental.git</url>
<tag>elemental-7.7.0</tag>
</scm>
<properties>
<izpack.resources.src>${basedir}/src/main/izpack</izpack.resources.src>
<izpack.resources.target>${basedir}/target/izpack</izpack.resources.target>
<izpack.installation.info.url>${project.organization.url}</izpack.installation.info.url>
<izpack.installation.info.appversion>${project.version}</izpack.installation.info.appversion>
<izpack.installation.info.author.name>${project.organization.name}</izpack.installation.info.author.name>
<izpack.installation.info.author.email>${contact.email}</izpack.installation.info.author.email>
</properties>
<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>exist-distribution</artifactId>
<version>${project.version}</version>
<type>pom</type>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>com.mycila</groupId>
<artifactId>license-maven-plugin</artifactId>
<configuration>
<licenseSets>
<licenseSet>
<!--
Elemental License - (LGPL 2.1 only)
-->
<header>${project.parent.relativePath}/../elemental-parent/elemental-LGPL-21-ONLY-license.template.txt</header>
<excludes>
<exclude>pom.xml</exclude>
<exclude>src/**</exclude>
</excludes>
</licenseSet>
<licenseSet>
<!--
Combined: Elemental License (LGPL 2.1 only) + eXist-db License (LGPL 2.1 or later)
-->
<multi>
<header>${project.parent.relativePath}/../elemental-parent/elemental-LGPL-21-ONLY-license.template.txt</header>
<separator><![CDATA[NOTE: Parts of this file contain code from 'The eXist-db Authors'.
The original license header is included below.
=====================================================================
]]></separator>
<header>${project.parent.relativePath}/../exist-parent/existdb-LGPL-21-license.template.txt</header>
</multi>
<includes>
<include>pom.xml</include>
<include>src/main/izpack/custom.eng.xml</include>
<include>src/main/izpack/install.xml</include>
<include>src/main/izpack/jobs.xml</include>
<include>src/main/izpack/readme.html</include>
<include>src/main/izpack/shortcutSpec.xml</include>
<include>src/main/izpack/start.html</include>
<include>src/main/izpack/UnixShortcutSpec.xml</include>
<include>src/main/izpack/userInput.xml</include>
</includes>
</licenseSet>
<licenseSet>
<!--
eXist-db License (LGPL 2.1 or later)
-->
<header>${project.parent.relativePath}/../exist-parent/existdb-LGPL-21-license.template.txt</header>
<excludes>
<exclude>pom.xml</exclude>
<exclude>src/main/izpack/custom.eng.xml</exclude>
<exclude>src/main/izpack/install.xml</exclude>
<exclude>src/main/izpack/jobs.xml</exclude>
<exclude>src/main/izpack/readme.html</exclude>
<exclude>src/main/izpack/shortcutSpec.xml</exclude>
<exclude>src/main/izpack/start.html</exclude>
<exclude>src/main/izpack/UnixShortcutSpec.xml</exclude>
<exclude>src/main/izpack/userInput.xml</exclude>
</excludes>
</licenseSet>
</licenseSets>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>analyze</id>
<goals>
<goal>analyze-only</goal>
</goals>
<configuration>
<failOnWarning>true</failOnWarning>
<ignoredUnusedDeclaredDependencies>
<ignoredUnusedDeclaredDependency>${project.groupId}:exist-distribution:pom:${project.version}</ignoredUnusedDeclaredDependency> <!-- needed at runtime to support lucene query syntax -->
</ignoredUnusedDeclaredDependencies>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<executions>
<execution>
<id>copy-iz-pack-resources</id>
<phase>generate-resources</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${izpack.resources.target}</outputDirectory>
<resources>
<resource>
<directory>${izpack.resources.src}</directory>
<filtering>false</filtering>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.izpack</groupId>
<artifactId>izpack-maven-plugin</artifactId>
<version>${izpack.version}</version>
<extensions>true</extensions>
<configuration>
<finalName>elemental-installer-${project.version}</finalName>
<installFile>${izpack.resources.target}/install.xml</installFile>
<baseDir>${basedir}/../exist-distribution/target/elemental-${project.version}-dir</baseDir>
<autoIncludeUrl>true</autoIncludeUrl>
<autoIncludeDevelopers>true</autoIncludeDevelopers>
<includeProperties>izpack.resources.target,izpack.installation.info.url,izpack.installation.info.appversion,izpack.installation.info.author.name,izpack.installation.info.author.email,saxon.version,project.build.target,build-commit-abbrev,build-commit,build-tag-delta,build-tag,build-tstamp,build-version,contact.email,copyright.string</includeProperties>
</configuration>
<dependencies>
<dependency>
<!-- use Saxon instead of Xalan -->
<groupId>net.sf.saxon</groupId>
<artifactId>Saxon-HE</artifactId>
<version>${saxon.version}</version>
</dependency>
<dependency>
<!-- use latest Xerces -->
<groupId>com.evolvedbinary.thirdparty.xerces</groupId>
<artifactId>xercesImpl</artifactId>
<version>${xerces.version}</version>
<classifier>jdk14-xml-schema-1.1</classifier>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>codesign-izpack-jar</id>
<activation>
<property>
<name>izpack-signing</name>
<value>true</value>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jarsigner-plugin</artifactId>
<executions>
<execution>
<id>sign-izpack-jar</id>
<goals>
<goal>sign</goal>
</goals>
<configuration>
<keystore>${elemental.release.keystore}</keystore>
<storepass>${elemental.release.keystore.pass}</storepass>
<alias>${elemental.release.keystore.key.alias}</alias>
<keypass>${elemental.release.keystore.key.pass}</keypass>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<!-- NOTE: this is activated by the maven-release-plugin -->
<id>elemental-release</id>
<build>
<plugins>
<!-- This is needed in a profile to workaround https://github.com/jutzig/github-release-plugin/issues/50 -->
<plugin>
<groupId>de.jutzig</groupId>
<artifactId>github-release-plugin</artifactId>
<executions>
<execution>
<id>github-upload</id>
<phase>deploy</phase>
<goals>
<goal>release</goal>
</goals>
<inherited>true</inherited>
<configuration>
<description>
Elemental version ${project.version}
Docker Image: evolvedbinary/elemental:${project.version}
Maven Central: https://search.maven.org/search?q=g:xyz.elemental
Website: ${project.url}
</description>
<releaseName>Elemental ${project.version}</releaseName>
<tag>elemental-${project.version}</tag>
<fileSets>
<fileSet>
<directory>${project.build.directory}</directory>
<includes>
<include>${project.artifactId}-${project.version}.jar</include>
</includes>
</fileSet>
</fileSets>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>