seq-maven-plugin
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>io.github.qudtlib</groupId>
<artifactId>seq-maven-plugin</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.qudtlib</groupId>
<artifactId>seq-maven-plugin</artifactId>
<version>1.0.0</version>
<packaging>maven-plugin</packaging>
<name>Maven Seq Plugin</name>
<url>https://github.com/qudtlib/seq-maven-plugin/</url>
<description>Maven plugin for running maven plugin executions sequentially</description>
<developers>
<developer>
<id>fkleedorfer</id>
<name>Florian Kleedorfer</name>
<email>florian.kleedorfer@austria.fm</email>
</developer>
</developers>
<licenses>
<license>
<name>Apache License, Version 2.0</name>
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
<comments>A business-friendly OSS license</comments>
</license>
</licenses>
<scm>
<connection>scm:git:https://github.com/qudtlib/seq-maven-plugin.git</connection>
<developerConnection>scm:git:https://github.com/qudtlib/seq-maven-plugin.git</developerConnection>
<url>https://github.com/qudtlib/seq-maven-plugin/tree/master</url>
<tag>v1.0.0</tag>
</scm>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<version>5.11.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-plugin-api</artifactId>
<version>3.9.9</version>
<scope>provided</scope>
</dependency>
<!-- Maven Project classes -->
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-project</artifactId>
<version>2.2.1</version>
<scope>provided</scope>
</dependency>
<!-- Maven Core (if needed) -->
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-core</artifactId>
<version>3.9.9</version>
<scope>provided</scope>
</dependency>
<!-- Maven Plugin Annotations -->
<dependency>
<groupId>org.apache.maven.plugin-tools</groupId>
<artifactId>maven-plugin-annotations</artifactId>
<version>3.15.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.maven.plugin-tools</groupId>
<artifactId>maven-plugin-tools-api</artifactId>
<version>3.15.0</version>
<scope>provided</scope>
</dependency>
<!-- Plexus Utils for Xpp3Dom and configuration merging -->
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-utils</artifactId>
<version>3.2.1</version>
</dependency>
</dependencies>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-plugin-plugin</artifactId>
<version>3.13.1</version>
<executions>
<execution>
<id>help-mojo</id>
<goals>
<goal>helpmojo</goal>
</goals>
<configuration>
<helpPackageName>io.github.qudtlib.maven.seq</helpPackageName>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<!--
configuring nexus plugin for manual deployment after
release with maven-release/deploy-plugin, see
https://central.sonatype.org/publish/publish-maven/#manually-releasing-the-deployment-to-the-central-repository
-->
<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.codehaus.mojo</groupId>
<artifactId>wagon-maven-plugin</artifactId>
<version>2.0.0</version>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.13.0</version>
<configuration>
<source>17</source>
<target>17</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<configuration>
<autoVersionSubmodules>true</autoVersionSubmodules>
<useReleaseProfile>false</useReleaseProfile>
<releaseProfiles>release</releaseProfiles>
<goals>deploy</goals>
</configuration>
</plugin>
<plugin>
<groupId>com.diffplug.spotless</groupId>
<artifactId>spotless-maven-plugin</artifactId>
<version>2.41.1</version>
<configuration>
<formats>
<!-- you can define as many formats as you want, each is independent -->
<format>
<!-- define the files to apply to -->
<includes>
<include>.gitignore</include>
<include>CHANGELOG.md</include>
</includes>
<!-- define the steps to apply to those files -->
<trimTrailingWhitespace />
<endWithNewline />
<indent>
<tabs>true</tabs>
<spacesPerTab>4</spacesPerTab>
</indent>
</format>
</formats>
<!-- define a language-specific format -->
<java>
<!-- no need to specify files, inferred automatically, but you can if you want -->
<!-- apply a specific flavor of google-java-format -->
<googleJavaFormat>
<version>1.19.2</version>
<style>AOSP</style>
</googleJavaFormat>
</java>
</configuration>
<executions>
<execution>
<id>check-code-format</id>
<phase>process-sources</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>release</id>
<activation>
<property>
<name>performRelease</name>
<value>true</value>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.6</version>
<configuration>
<!-- Prevent gpg from using pinentry programs -->
<gpgArguments>
<arg>--pinentry-mode</arg>
<arg>loopback</arg>
</gpgArguments>
</configuration>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.3.1</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.10.0</version>
<executions>
<execution>
<phase>prepare-package</phase>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>test</id>
<build>
<plugins>
<plugin>
<groupId>com.github.ekryd.echo-maven-plugin</groupId>
<artifactId>echo-maven-plugin</artifactId>
<version>2.1.0</version>
</plugin>
<plugin>
<groupId>io.github.qudtlib</groupId>
<artifactId>seq-maven-plugin</artifactId>
<version>${project.version}</version>
<executions>
<execution>
<id>test-sequencing-echo-plugin</id>
<phase>test</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<label>print messages</label>
<steps>
<step>
<id>seq-first</id>
<pluginCoordinates>com.github.ekryd.echo-maven-plugin:echo-maven-plugin:echo</pluginCoordinates>
<configuration>
<message>first plugin execution</message>
</configuration>
</step>
<step>
<pluginCoordinates>com.github.ekryd.echo-maven-plugin:echo-maven-plugin:echo</pluginCoordinates>
<id>seq-second</id>
<configuration>
<message>second plugin execution</message>
</configuration>
</step>
</steps>
</configuration>
</execution>
<execution>
<id>test-sequencing-spotless-plugin</id>
<phase>test</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<label>format sources</label>
<steps>
<step>
<id>seq-first</id>
<pluginCoordinates>spotless:check</pluginCoordinates>
</step>
<step>
<id>seq-second</id>
<pluginCoordinates>spotless:apply</pluginCoordinates>
</step>
</steps>
</configuration>
</execution>
<execution>
<id>test-sequencing-sequences</id>
<phase>test</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<label>run sequences</label>
<steps>
<step>
<id>first-sequence</id>
<pluginCoordinates>seq:run@test-sequencing-echo-plugin</pluginCoordinates>
</step>
<step>
<id>second-sequence</id>
<pluginCoordinates>seq:run@test-sequencing-spotless-plugin</pluginCoordinates>
</step>
</steps>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>ossrh</id>
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
</project>