makeself-maven-plugin
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>com.github.hazendaz.maven</groupId>
<artifactId>makeself-maven-plugin</artifactId>
<version>1.11.1</version>
</dependency><?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2011-2025 the original author or authors.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
You may obtain a copy of the License at
https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html
This program 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 General Public License for more details.
-->
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.github.hazendaz</groupId>
<artifactId>base-parent</artifactId>
<version>56</version>
<relativePath />
</parent>
<groupId>com.github.hazendaz.maven</groupId>
<artifactId>makeself-maven-plugin</artifactId>
<version>1.11.1</version>
<packaging>maven-plugin</packaging>
<name>makeself-maven-plugin</name>
<description>Makeself is a self-extracting archiving tool for Unix systems, in 100% shell script.</description>
<url>https://github.com/hazendaz/makeself-maven-plugin</url>
<licenses>
<license>
<name>GNU General Public License, version 2</name>
<url>https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html</url>
<distribution>manual</distribution>
</license>
</licenses>
<prerequisites>
<maven>3.6.3</maven>
</prerequisites>
<scm>
<connection>scm:git:ssh://github.com/hazendaz/makeself-maven-plugin.git</connection>
<developerConnection>scm:git:ssh://git@github.com/hazendaz/makeself-maven-plugin.git</developerConnection>
<tag>makeself-maven-plugin-1.11.1</tag>
<url>https://github.com/hazendaz/makeself-maven-plugin</url>
</scm>
<issueManagement>
<system>Github</system>
<url>https://github.com/hazendaz/makeself-maven-plugin/issues</url>
</issueManagement>
<ciManagement>
<system>Github</system>
<url>https://github.com/hazendaz/makeself-maven-plugin/actions</url>
</ciManagement>
<distributionManagement>
<site>
<id>gh-pages-scm</id>
<name>GitHub Pages</name>
<url>scm:git:ssh://git@github.com/hazendaz/makeself-maven-plugin.git</url>
</site>
</distributionManagement>
<properties>
<!-- Java Runtime Requirements -->
<java.version>11</java.version>
<java.release.version>11</java.release.version>
<!-- Checkstyle -->
<checkstyle.config>checkstyle-4space.xml</checkstyle.config>
<!-- Automatic Module Name -->
<module.name>com.github.hazendaz.maven.makeself</module.name>
<!-- Reproducible Builds -->
<project.build.outputTimestamp>1766198504</project.build.outputTimestamp>
<!-- Maven Artifacts -->
<inject.version>1</inject.version>
<maven.version>3.9.12</maven.version>
<resolver.version>1.9.25</resolver.version>
<!-- Maven Plugins -->
<download-plugin.version>2.0.0</download-plugin.version>
<invoker-plugin.version>3.9.1</invoker-plugin.version>
<maven-plugin.version>3.15.2</maven-plugin.version>
<!-- Compress -->
<compress.version>1.28.0</compress.version>
<!-- Git -->
<git.version>2.52.0.1</git.version>
<!-- Junit -->
<junit.version>6.0.1</junit.version>
<!-- Targeted patches -->
<io.version>2.21.0</io.version>
<lang3.version>3.20.0</lang3.version>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.github.hazendaz.git</groupId>
<artifactId>git-for-windows</artifactId>
<version>${git.version}</version>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<!-- Maven -->
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-core</artifactId>
<version>${maven.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-plugin-api</artifactId>
<version>${maven.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.maven.plugin-tools</groupId>
<artifactId>maven-plugin-annotations</artifactId>
<version>${maven-plugin.version}</version>
<scope>provided</scope>
</dependency>
<!-- Resolver -->
<dependency>
<groupId>org.apache.maven.resolver</groupId>
<artifactId>maven-resolver-api</artifactId>
<version>${resolver.version}</version>
<scope>provided</scope>
</dependency>
<!-- jsr-330 -->
<dependency>
<groupId>javax.inject</groupId>
<artifactId>javax.inject</artifactId>
<version>${inject.version}</version>
<scope>provided</scope>
</dependency>
<!-- Commons Compress -->
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-compress</artifactId>
<version>${compress.version}</version>
<scope>compile</scope>
</dependency>
<!-- Junit -->
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
<!-- Targeted patches for commons compress -->
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>${io.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>${lang3.version}</version>
<scope>compile</scope>
</dependency>
</dependencies>
<build>
<resources>
<resource>
<filtering>true</filtering>
<directory>${project.basedir}/src/main/resources</directory>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-plugin-plugin</artifactId>
<version>${maven-plugin.version}</version>
<executions>
<execution>
<id>default-descriptor</id>
<goals>
<goal>descriptor</goal>
</goals>
</execution>
<execution>
<id>help-goal</id>
<goals>
<goal>helpmojo</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.mycila</groupId>
<artifactId>license-maven-plugin</artifactId>
<configuration>
<licenseSets>
<licenseSet>
<header>LICENSE_HEADER</header>
<excludes combine.children="append">
<exclude>**/*makeself-header.sh</exclude>
<exclude>**/*makeself.sh</exclude>
<exclude>**/junk</exclude>
</excludes>
</licenseSet>
</licenseSets>
</configuration>
</plugin>
<!-- We rebundle the JAR and maven fails to keep manifest, so save it and apply it directly during assembly -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>unpack</id>
<goals>
<goal>unpack</goal>
</goals>
<phase>package</phase>
<configuration>
<artifactItems>
<artifactItem>
<groupId>${project.groupId}</groupId>
<artifactId>${project.artifactId}</artifactId>
<version>${project.version}</version>
<type>jar</type>
<overWrite>false</overWrite>
<outputDirectory>${project.build.directory}/classes</outputDirectory>
<includes>META-INF/MANIFEST.MF</includes>
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<appendAssemblyId>false</appendAssemblyId>
<archive>
<manifestFile>${project.build.directory}/classes/META-INF/MANIFEST.MF</manifestFile>
</archive>
<!-- We do not need to attach again as the jar cycle did it for us -->
<attach>false</attach>
<descriptors>
<descriptor>${project.basedir}/src/assembly/assembly.xml</descriptor>
</descriptors>
</configuration>
<executions>
<execution>
<id>make-assembly</id>
<goals>
<goal>single</goal>
</goals>
<phase>package</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-plugin-report-plugin</artifactId>
<version>${maven-plugin.version}</version>
</plugin>
</plugins>
</reporting>
<profiles>
<profile>
<id>run-it</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-invoker-plugin</artifactId>
<version>${invoker-plugin.version}</version>
<executions>
<execution>
<id>integration-test-run</id>
<goals>
<goal>install</goal>
<goal>run</goal>
</goals>
<configuration>
<projectsDirectory>${project.basedir}/src/it</projectsDirectory>
<cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo>
<showVersion>true</showVersion>
<pomIncludes>
<pomInclude>*/pom.xml</pomInclude>
</pomIncludes>
<postBuildHookScript>verify</postBuildHookScript>
<localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath>
<settingsFile>${project.basedir}/src/it/settings.xml</settingsFile>
<streamLogsOnFailures>true</streamLogsOnFailures>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>update-makeself</id>
<build>
<plugins>
<!-- Download -->
<plugin>
<groupId>io.github.download-maven-plugin</groupId>
<artifactId>download-maven-plugin</artifactId>
<version>${download-plugin.version}</version>
<executions>
<execution>
<id>download-makeself</id>
<goals>
<goal>wget</goal>
</goals>
<phase>clean</phase>
<configuration>
<url>https://raw.githubusercontent.com/megastep/makeself/master/makeself.sh</url>
<outputDirectory>${project.basedir}/src/assembly/makeself</outputDirectory>
<skipCache>true</skipCache>
<overwrite>true</overwrite>
</configuration>
</execution>
<execution>
<id>download-makeself-header</id>
<goals>
<goal>wget</goal>
</goals>
<phase>clean</phase>
<configuration>
<url>https://raw.githubusercontent.com/megastep/makeself/master/makeself-header.sh</url>
<outputDirectory>${project.basedir}/src/assembly/makeself</outputDirectory>
<skipCache>true</skipCache>
<overwrite>true</overwrite>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>