makeself-maven-plugin
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>com.github.hazendaz.maven</groupId> <artifactId>makeself-maven-plugin</artifactId> <version>1.6.0</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?> <!-- Copyright 2011-2023 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 http://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>41</version> <relativePath /> </parent> <groupId>com.github.hazendaz.maven</groupId> <artifactId>makeself-maven-plugin</artifactId> <version>1.6.0</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.5.0</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.6.0</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> <!-- 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>1696194436</project.build.outputTimestamp> <!-- Maven Artifacts --> <download-plugin.version>1.7.1</download-plugin.version> <invoker-plugin.version>3.6.0</invoker-plugin.version> <maven.version>3.9.4</maven.version> <maven-plugin.version>3.9.0</maven-plugin.version> <plexus-utils.version>4.0.0</plexus-utils.version> <plexus-xml.version>3.0.0</plexus-xml.version> <shared-utils.version>3.4.2</shared-utils.version> <!-- Compress --> <compress.version>1.24.0</compress.version> <!-- Git --> <git.version>2.42.0.2</git.version> <!-- Guava --> <guava.version>32.1.2-jre</guava.version> <!-- Junit --> <junit.version>5.10.0</junit.version> <!-- Targeted patches --> <io.version>2.14.0</io.version> <lang3.version>3.13.0</lang3.version> <slf4j.version>2.0.9</slf4j.version> </properties> <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> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-resolver-provider</artifactId> <version>${maven.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.maven.shared</groupId> <artifactId>maven-shared-utils</artifactId> <version>${shared-utils.version}</version> <scope>compile</scope> </dependency> <!-- Plexus --> <dependency> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-utils</artifactId> <version>${plexus-utils.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-xml</artifactId> <version>${plexus-xml.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> <!-- Guava --> <dependency> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> <version>${guava.version}</version> <scope>compile</scope> </dependency> <!-- Junit --> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-engine</artifactId> <version>${junit.version}</version> <scope>test</scope> </dependency> <!-- Targeted patches --> <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> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <version>${slf4j.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>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> </configuration> </execution> </executions> </plugin> </plugins> </build> </profile> <profile> <id>update-makeself</id> <build> <plugins> <!-- Download --> <plugin> <groupId>com.googlecode.maven-download-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>