k3s-maven-plugin
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>io.kokuwa.maven</groupId> <artifactId>k3s-maven-plugin</artifactId> <version>2.0.1</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 https://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>io.kokuwa.maven</groupId> <artifactId>k3s-maven-plugin</artifactId> <version>2.0.1</version> <packaging>maven-plugin</packaging> <name>k3s Maven Plugin</name> <description>Maven Plugin to start k3s for test purposes</description> <url>https://github.com/kokuwaio/k3s-maven-plugin</url> <inceptionYear>2022</inceptionYear> <organization> <name>Kokuwa.io</name> <url>http://kokuwa.io</url> </organization> <licenses> <license> <name>EUPL-1.2</name> <url>https://eupl.eu/1.2/en</url> <distribution>repo</distribution> </license> </licenses> <developers> <developer> <id>stephan.schnabel</id> <name>Stephan Schnabel</name> <url>https://schnabel.org</url> <email>stephan@schnabel.org</email> <timezone>Europe/Berlin</timezone> </developer> </developers> <prerequisites> <maven>3.2.5</maven> </prerequisites> <scm> <url>https://git.kokuwa.io/keycloak/k3s-maven-plugin</url> <connection>scm:git:https://git.kokuwa.io/keycloak/k3s-maven-plugin.git</connection> <developerConnection>scm:git:https://git.kokuwa.io/keycloak/k3s-maven-plugin.git</developerConnection> <tag>2.0.1</tag> </scm> <issueManagement> <system>forgejo</system> <url>https://git.kokuwa.io/keycloak/k3s-maven-plugin/issues</url> </issueManagement> <ciManagement> <system>woodpecker</system> <url>https://ci.kokuwa.io/repos/kokuwaio/k3s-maven-plugin</url> </ciManagement> <distributionManagement> <snapshotRepository> <id>sonatype.org</id> <url>https://central.sonatype.com/repository/maven-snapshots/</url> </snapshotRepository> </distributionManagement> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.outputTimestamp>2025-07-31T06:58:59Z</project.build.outputTimestamp> <maven.compiler.release>17</maven.compiler.release> </properties> <dependencies> <!-- maven --> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-plugin-api</artifactId> <version>${project.prerequisites.maven}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.maven.plugin-tools</groupId> <artifactId>maven-plugin-annotations</artifactId> <version>3.15.1</version> <scope>provided</scope> </dependency> <!-- libraries --> <dependency> <groupId>com.github.docker-java</groupId> <artifactId>docker-java-core</artifactId> <version>3.5.3</version> <exclusions> <exclusion> <groupId>org.bouncycastle</groupId> <artifactId>bcpkix-jdk18on</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>com.github.docker-java</groupId> <artifactId>docker-java-transport-zerodep</artifactId> <version>3.5.3</version> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <version>1.7.36</version> <scope>provided</scope> </dependency> <!-- test --> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-api</artifactId> <version>5.13.4</version> <scope>test</scope> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-simple</artifactId> <version>1.7.36</version> <scope>test</scope> </dependency> </dependencies> <build> <pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.14.0</version> <configuration> <showDeprecation>true</showDeprecation> <showWarnings>true</showWarnings> <failOnWarning>true</failOnWarning> <compilerArgument>-Xlint:all,-processing,-options</compilerArgument> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-deploy-plugin</artifactId> <version>3.1.4</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>3.2.8</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-install-plugin</artifactId> <version>3.1.4</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-invoker-plugin</artifactId> <version>3.9.1</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <version>3.4.2</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>3.11.2</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-release-plugin</artifactId> <version>3.1.1</version> <configuration> <preparationGoals>verify -Pcheck -DskipTests -Dinvoker.skip</preparationGoals> <preparationProfiles>check</preparationProfiles> <goals>deploy -DskipTests -Dinvoker.skip</goals> <releaseProfiles>deploy,release</releaseProfiles> <signTag>true</signTag> <scmReleaseCommitComment>@{prefix} prepare release @{releaseLabel} [CI SKIP]</scmReleaseCommitComment> <tagNameFormat>@{project.version}</tagNameFormat> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> <version>3.3.1</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-plugin-plugin</artifactId> <version>3.15.1</version> <configuration> <extractors>java-annotations</extractors> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-site-plugin</artifactId> <version>3.21.0</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>3.3.1</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>3.5.3</version> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>tidy-maven-plugin</artifactId> <version>1.4.0</version> </plugin> <plugin> <groupId>org.sonatype.plugins</groupId> <artifactId>nexus-staging-maven-plugin</artifactId> <version>1.7.0</version> </plugin> <plugin> <groupId>net.revelc.code.formatter</groupId> <artifactId>formatter-maven-plugin</artifactId> <version>2.27.0</version> <configuration> <configFile>${project.basedir}/src/eclipse/formatter.xml</configFile> <directories> <directory>${project.basedir}/src/main/java</directory> <directory>${project.basedir}/src/test/java</directory> <directory>${project.basedir}/src/it</directory> </directories> </configuration> </plugin> <plugin> <groupId>net.revelc.code</groupId> <artifactId>impsort-maven-plugin</artifactId> <version>1.12.0</version> <configuration> <removeUnused>true</removeUnused> <groups>java.,javax.,jakarta.,org.</groups> <directories> <directory>${project.basedir}/src/main/java</directory> <directory>${project.basedir}/src/test/java</directory> <directory>${project.basedir}/src/it</directory> </directories> </configuration> </plugin> </plugins> </pluginManagement> <plugins> <!-- run invoker tests --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-invoker-plugin</artifactId> <executions> <execution> <goals> <goal>install</goal> <goal>integration-test</goal> <goal>verify</goal> </goals> <configuration> <cloneProjectsTo>${project.build.directory}/its</cloneProjectsTo> <mergeUserSettings>true</mergeUserSettings> <goals>verify</goals> <streamLogs>false</streamLogs> <streamLogsOnFailures>true</streamLogsOnFailures> </configuration> </execution> </executions> </plugin> <!-- skip unused default invocations --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-plugin-plugin</artifactId> <executions> <execution> <id>default-addPluginArtifactMetadata</id> <phase /> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> <executions> <execution> <id>default-resources</id> <phase /> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-install-plugin</artifactId> <executions> <execution> <id>default-install</id> <phase /> </execution> </executions> </plugin> </plugins> </build> <profiles> <profile> <id>dev</id> <activation> <property> <name>!env.CI</name> </property> </activation> <properties> <maven.test.redirectTestOutputToFile>true</maven.test.redirectTestOutputToFile> </properties> <build> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>tidy-maven-plugin</artifactId> <executions> <execution> <phase>validate</phase> <goals> <goal>pom</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>net.revelc.code</groupId> <artifactId>impsort-maven-plugin</artifactId> <executions> <execution> <phase>validate</phase> <goals> <goal>sort</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>net.revelc.code.formatter</groupId> <artifactId>formatter-maven-plugin</artifactId> <executions> <execution> <phase>validate</phase> <goals> <goal>format</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </profile> <profile> <id>check</id> <activation> <property> <name>env.CI</name> </property> </activation> <build> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>tidy-maven-plugin</artifactId> <executions> <execution> <phase>validate</phase> <goals> <goal>check</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>net.revelc.code</groupId> <artifactId>impsort-maven-plugin</artifactId> <executions> <execution> <phase>validate</phase> <goals> <goal>check</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>net.revelc.code.formatter</groupId> <artifactId>formatter-maven-plugin</artifactId> <executions> <execution> <phase>validate</phase> <goals> <goal>validate</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </profile> <profile> <id>deploy</id> <build> <plugins> <!-- add source/javadoc for downstream projects --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <executions> <execution> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <executions> <execution> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <!-- sign before upload --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <executions> <execution> <goals> <goal>sign</goal> </goals> <configuration> <signer>bc</signer> </configuration> </execution> </executions> </plugin> </plugins> </build> </profile> <profile> <id>release</id> <build> <plugins> <plugin> <groupId>org.sonatype.central</groupId> <artifactId>central-publishing-maven-plugin</artifactId> <extensions>true</extensions> <configuration> <publishingServerId>sonatype.org</publishingServerId> <autoPublish>true</autoPublish> <waitUntil>published</waitUntil> </configuration> </plugin> </plugins> </build> </profile> </profiles> </project>