shell-executor
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>io.github.ci-cmg</groupId> <artifactId>shell-executor</artifactId> <version>1.0.0</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?> <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> <groupId>io.github.ci-cmg</groupId> <artifactId>shell-executor</artifactId> <version>1.0.0</version> <packaging>jar</packaging> <name>${project.groupId}:${project.artifactId}</name> <description>Utilities for executing system commands</description> <url>https://github.com/CI-CMG/shell-executor</url> <licenses> <license> <name>MIT License</name> <url>http://www.opensource.org/licenses/mit-license.php</url> </license> </licenses> <developers> <developer> <name>CIRES Coastal and Marine Geophysics / Marine Geology and Geophysics Developers</name> <organization>CIRES</organization> <organizationUrl>https://github.com/CI-CMG</organizationUrl> </developer> </developers> <scm> <connection>scm:git:git@github.com:CI-CMG/shell-executor.git</connection> <developerConnection>scm:git:git@github.com:CI-CMG/shell-executor.git</developerConnection> <url>https://github.com/CI-CMG/shell-executor</url> <tag>v1.0.0</tag> </scm> <distributionManagement> <snapshotRepository> <id>ossrh</id> <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url> </snapshotRepository> </distributionManagement> <properties> <maven.compiler.target>1.8</maven.compiler.target> <maven.compiler.source>1.8</maven.compiler.source> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <javadoc.version>3.3.1</javadoc.version> <jacoco.version>0.8.7</jacoco.version> <junit.version>5.8.1</junit.version> <sign.serverId>gpg-sign</sign.serverId> </properties> <reporting> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>${javadoc.version}</version> </plugin> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>${jacoco.version}</version> </plugin> </plugins> </reporting> <build> <pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>2.22.2</version> </plugin> <plugin> <artifactId>maven-antrun-plugin</artifactId> <version>3.0.0</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-release-plugin</artifactId> <version>3.0.0-M4</version> </plugin> <plugin> <groupId>pl.project13.maven</groupId> <artifactId>git-commit-id-plugin</artifactId> <version>4.9.10</version> </plugin> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>${jacoco.version}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>3.2.1</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-site-plugin</artifactId> <version>3.9.1</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-project-info-reports-plugin</artifactId> <version>3.1.2</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>${javadoc.version}</version> </plugin> </plugins> </pluginManagement> <plugins> <plugin> <groupId>org.sonatype.plugins</groupId> <artifactId>nexus-staging-maven-plugin</artifactId> <version>1.6.8</version> <extensions>true</extensions> <configuration> <serverId>ossrh</serverId> <nexusUrl>https://s01.oss.sonatype.org/</nexusUrl> <autoReleaseAfterClose>true</autoReleaseAfterClose> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-release-plugin</artifactId> <configuration> <autoVersionSubmodules>true</autoVersionSubmodules> <useReleaseProfile>false</useReleaseProfile> <releaseProfiles>release,site-publish</releaseProfiles> <goals>deploy site</goals> <tagNameFormat>v@{project.version}</tagNameFormat> <arguments>-Pdep-check -D${sign.serverId}</arguments> </configuration> </plugin> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <executions> <execution> <id>default-prepare-agent</id> <goals> <goal>prepare-agent</goal> </goals> </execution> <execution> <id>report</id> <phase>verify</phase> <goals> <goal>report</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>com.github.spotbugs</groupId> <artifactId>spotbugs-maven-plugin</artifactId> <version>4.2.2</version> <executions> <execution> <goals> <goal>check</goal> </goals> </execution> </executions> </plugin> </plugins> </build> <profiles> <profile> <id>dep-check</id> <build> <plugins> <plugin> <groupId>org.owasp</groupId> <artifactId>dependency-check-maven</artifactId> <version>6.5.0</version> <configuration> <failBuildOnAnyVulnerability>true</failBuildOnAnyVulnerability> </configuration> <executions> <execution> <goals> <goal>check</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </profile> <profile> <id>release</id> <build> <plugins> <plugin> <groupId>pl.project13.maven</groupId> <artifactId>git-commit-id-plugin</artifactId> <executions> <execution> <id>get-the-git-infos</id> <goals> <goal>revision</goal> </goals> <phase>pre-site</phase> </execution> </executions> <configuration> <injectAllReactorProjects>true</injectAllReactorProjects> <failOnNoGitDirectory>false</failOnNoGitDirectory> <offline>true</offline> <replacementProperties> <replacementProperty> <property>git.remote.origin.url</property> <propertyOutputSuffix>suffix</propertyOutputSuffix> <token>^.+/(.+).git$</token> <value>$1</value> <regex>true</regex> </replacementProperty> </replacementProperties> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>3.2.1</version> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar-no-fork</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.simplify4u.plugins</groupId> <artifactId>sign-maven-plugin</artifactId> <version>1.0.0</version> <executions> <execution> <goals> <goal>sign</goal> </goals> <configuration> <skipNoKey>false</skipNoKey> </configuration> </execution> </executions> </plugin> </plugins> </build> </profile> <profile> <id>site-publish</id> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-site-plugin</artifactId> </plugin> <plugin> <artifactId>maven-resources-plugin</artifactId> <version>3.1.0</version> <executions> <execution> <id>index.html</id> <phase>site</phase> <goals> <goal>copy-resources</goal> </goals> <configuration> <outputDirectory>${project.build.directory}/site-resources</outputDirectory> <useDefaultDelimiters>false</useDefaultDelimiters> <delimiters> <delimiter>@</delimiter> </delimiters> <resources> <resource> <directory>site-resources</directory> <filtering>true</filtering> </resource> </resources> </configuration> </execution> </executions> </plugin> <plugin> <artifactId>maven-antrun-plugin</artifactId> <executions> <execution> <id>publish-site</id> <phase>site</phase> <goals> <goal>run</goal> </goals> <configuration> <target> <delete dir="${project.build.directory}/project-documentation" quiet="true" /> <exec dir="${project.build.directory}" executable="git"> <arg value="clone" /> <arg value="--depth=1" /> <arg value="git@github.com:CI-CMG/project-documentation.git" /> </exec> <exec dir="${project.build.directory}/project-documentation" executable="git"> <arg value="remote" /> <arg value="add" /> <arg value="javadoc" /> <arg value="git@github.com:CI-CMG/project-documentation.git" /> </exec> <exec dir="${project.build.directory}/project-documentation" executable="git" failonerror="false"> <arg value="rm" /> <arg value="-r" /> <arg value="${git.remote.origin.url.suffix}/${project.version}" /> </exec> <mkdir dir="${project.build.directory}/project-documentation/${git.remote.origin.url.suffix}" /> <copy todir="${project.build.directory}/project-documentation/${git.remote.origin.url.suffix}"> <fileset file="${project.build.directory}/site-resources/index.html" /> </copy> <copy todir="${project.build.directory}/project-documentation/${git.remote.origin.url.suffix}/${project.version}"> <fileset dir="${project.build.directory}/site" /> </copy> <exec dir="${project.build.directory}/project-documentation" executable="git"> <arg value="add" /> <arg value="${git.remote.origin.url.suffix}/index.html" /> </exec> <exec dir="${project.build.directory}/project-documentation" executable="git"> <arg value="add" /> <arg value="${git.remote.origin.url.suffix}/${project.version}" /> </exec> <exec dir="${project.build.directory}/project-documentation" executable="git"> <arg value="commit" /> <arg value="-m" /> <arg value="Update Documentation: ${git.remote.origin.url.suffix}/${project.version}" /> </exec> <exec dir="${project.build.directory}/project-documentation" executable="git"> <arg value="push" /> <arg value="javadoc" /> <arg value="trunk" /> </exec> </target> </configuration> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> </project>