quarkus-extension-maven-plugin
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>io.quarkus</groupId> <artifactId>quarkus-extension-maven-plugin</artifactId> <version>3.21.2</version> </dependency>
<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>io.quarkus</groupId> <artifactId>quarkus-parent</artifactId> <version>3.21.2</version> <relativePath>../parent/pom.xml</relativePath> </parent> <artifactId>quarkus-extension-maven-plugin</artifactId> <version>3.21.2</version> <name>Quarkus - Extension Maven plugin</name> <url>https://github.com/quarkusio/quarkus</url> <packaging>maven-plugin</packaging> <licenses> <license> <name>Apache License, Version 2.0</name> <distribution>repo</distribution> <url>https://www.apache.org/licenses/LICENSE-2.0.html</url> </license> </licenses> <scm child.scm.connection.inherit.append.path="false" child.scm.developerConnection.inherit.append.path="false" child.scm.url.inherit.append.path="false"> <url>https://github.com/quarkusio/quarkus</url> <connection>scm:git:git@github.com:quarkusio/quarkus.git</connection> <developerConnection>scm:git:git@github.com:quarkusio/quarkus.git</developerConnection> <tag>HEAD</tag> </scm> <properties> <angus-activation.version>1.0.0</angus-activation.version> <expressly.version>5.0.0</expressly.version> <javax.annotation-api.version>1.3.2</javax.annotation-api.version> <javax.inject.version>1</javax.inject.version> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <!-- Not sure exactly why but the Maven plugins need to be compiled with Java 11 --> <maven.compiler.target>11</maven.compiler.target> <maven.compiler.release>11</maven.compiler.release> <maven-core.version>3.9.9</maven-core.version> <jackson-bom.version>2.18.2</jackson-bom.version> <smallrye-beanbag.version>1.5.2</smallrye-beanbag.version> <junit5.version>5.12.1</junit5.version> </properties> <build> <testResources> <testResource> <directory>src/test/resources</directory> <filtering>false</filtering> </testResource> <testResource> <directory>src/test/resources-filtered</directory> <filtering>true</filtering> </testResource> </testResources> <pluginManagement> <plugins> <plugin> <artifactId>maven-compiler-plugin</artifactId> </plugin> <plugin> <artifactId>maven-javadoc-plugin</artifactId> <configuration> <quiet>true</quiet> <doclint>none</doclint> </configuration> </plugin> <plugin> <!-- The tests cause generated files to appear in the test-data projects, so clean them up when we clean --> <artifactId>maven-clean-plugin</artifactId> <configuration> <filesets> <fileset> <directory>src/test/resources</directory> <includes> <include>**/target/**</include> </includes> </fileset> </filesets> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-enforcer-plugin</artifactId> <dependencies> <dependency> <groupId>io.quarkus</groupId> <artifactId>quarkus-enforcer-rules</artifactId> <version>${project.version}</version> </dependency> </dependencies> <executions> <execution> <id>enforce</id> <phase>${maven-enforcer-plugin.phase}</phase> <configuration> <rules> <dependencyConvergence/> <externalRules> <location>classpath:enforcer-rules/quarkus-require-java-version.xml</location> </externalRules> <externalRules> <location>classpath:enforcer-rules/quarkus-require-maven-version.xml</location> </externalRules> <externalRules> <location>classpath:enforcer-rules/quarkus-banned-dependencies.xml</location> </externalRules> <bannedDependencies> <excludes> <!-- findbugs is not required at runtime --> <exclude>com.google.code.findbugs:jsr305</exclude> <!-- com.google.guava:listenablefuture is empty and the ListenableFuture class is available in Guava --> <exclude>com.google.guava:listenablefuture</exclude> </excludes> </bannedDependencies> </rules> </configuration> <goals> <goal>enforce</goal> </goals> </execution> </executions> </plugin> <plugin> <artifactId>maven-surefire-plugin</artifactId> <configuration> <!-- combine.self suppresses warnings about java.io.tmpdir being defined twice --> <systemPropertyVariables combine.self="override"/> <!-- set tmpdir as early as possible because failsafe sets it too late for JDK16 --> <argLine>-Djava.io.tmpdir="${project.build.directory}"</argLine> <excludedEnvironmentVariables>MAVEN_OPTS</excludedEnvironmentVariables> </configuration> </plugin> </plugins> </pluginManagement> <plugins> <plugin> <groupId>org.eclipse.sisu</groupId> <artifactId>sisu-maven-plugin</artifactId> <version>0.3.5</version> <executions> <execution> <id>index-project</id> <goals> <goal>main-index</goal> <goal>test-index</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-plugin-plugin</artifactId> <configuration> <goalPrefix>quarkus-extension</goalPrefix> <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound> </configuration> <executions> <execution> <id>help-goal</id> <goals> <goal>helpmojo</goal> </goals> </execution> <execution> <id>default-descriptor</id> <phase>process-classes</phase> </execution> </executions> </plugin> </plugins> </build> <dependencyManagement> <dependencies> <dependency> <groupId>io.quarkus</groupId> <artifactId>quarkus-bootstrap-bom</artifactId> <version>${project.version}</version> <type>pom</type> <scope>import</scope> </dependency> <dependency> <groupId>io.quarkus</groupId> <artifactId>quarkus-bootstrap-bom-test</artifactId> <version>${project.version}</version> <type>pom</type> <scope>import</scope> </dependency> <!-- Jackson dependencies, imported as a BOM --> <dependency> <groupId>com.fasterxml.jackson</groupId> <artifactId>jackson-bom</artifactId> <version>${jackson-bom.version}</version> <scope>import</scope> <type>pom</type> </dependency> <!-- BeanBag dependencies, imported as a BOM --> <dependency> <groupId>io.smallrye.beanbag</groupId> <artifactId>smallrye-beanbag-bom</artifactId> <version>${smallrye-beanbag.version}</version> <scope>import</scope> <type>pom</type> </dependency> <!-- JUnit 5 dependencies, imported as a BOM --> <dependency> <groupId>org.junit</groupId> <artifactId>junit-bom</artifactId> <version>${junit5.version}</version> <scope>import</scope> <type>pom</type> </dependency> </dependencies> </dependencyManagement> <dependencies> <dependency> <groupId>io.quarkus</groupId> <artifactId>quarkus-bootstrap-core</artifactId> </dependency> <dependency> <groupId>io.quarkus</groupId> <artifactId>quarkus-bootstrap-maven-resolver</artifactId> </dependency> <dependency> <groupId>io.quarkus</groupId> <artifactId>quarkus-devtools-common</artifactId> <version>${project.version}</version> <exclusions> <exclusion> <groupId>io.quarkus</groupId> <artifactId>quarkus-devtools-codestarts</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>javax.inject</groupId> <artifactId>javax.inject</artifactId> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-plugin-api</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.maven.plugin-tools</groupId> <artifactId>maven-plugin-annotations</artifactId> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-core</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-embedder</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-settings-builder</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-resolver-provider</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-model</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-model-builder</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-artifact</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-settings</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-builder-support</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-repository-metadata</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>commons-io</groupId> <artifactId>commons-io</artifactId> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-databind</artifactId> </dependency> <dependency> <groupId>com.fasterxml.jackson.dataformat</groupId> <artifactId>jackson-dataformat-yaml</artifactId> </dependency> <dependency> <groupId>jakarta.inject</groupId> <artifactId>jakarta.inject-api</artifactId> </dependency> <dependency> <groupId>io.smallrye.beanbag</groupId> <artifactId>smallrye-beanbag</artifactId> </dependency> <dependency> <groupId>io.smallrye.beanbag</groupId> <artifactId>smallrye-beanbag-maven</artifactId> <exclusions> <!-- It is important to exclude all of these dependencies because Maven provides them already! The other BeanBag dependencies are explicitly specified so that this exclusion doesn't drop them. The remaining dependencies for this module that are not provided by Maven are provided by the other two BeanBag dependencies. --> <exclusion> <groupId>*</groupId> <artifactId>*</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>io.smallrye.beanbag</groupId> <artifactId>smallrye-beanbag-sisu</artifactId> <exclusions> <exclusion> <groupId>javax.inject</groupId> <artifactId>javax.inject</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.maven.plugin-testing</groupId> <artifactId>maven-plugin-testing-harness</artifactId> <scope>test</scope> </dependency> <!-- maven compat is needed because the maven testing harness still uses maven 2 APIs --> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-compat</artifactId> <version>${maven-core.version}</version> <scope>test</scope> </dependency> <!-- Needed for system stubs --> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-core</artifactId> <version>5.16.0</version> <scope>test</scope> </dependency> <dependency> <groupId>uk.org.webcompere</groupId> <artifactId>system-stubs-jupiter</artifactId> <version>2.1.7</version> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.maven.shared</groupId> <artifactId>maven-invoker</artifactId> <version>3.2.0</version> <scope>test</scope> <exclusions> <exclusion> <groupId>javax.inject</groupId> <artifactId>javax.inject</artifactId> </exclusion> </exclusions> </dependency> </dependencies> <distributionManagement> <snapshotRepository> <id>sonatype-nexus-snapshots</id> <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url> </snapshotRepository> <repository> <id>sonatype-nexus-release</id> <url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url> </repository> </distributionManagement> <profiles> <profile> <id>quick-build</id> <activation> <property> <name>quickly</name> </property> </activation> <properties> <skipTests>true</skipTests> <skipITs>true</skipITs> <enforcer.skip>true</enforcer.skip> </properties> <build> <defaultGoal>clean install</defaultGoal> </build> </profile> <profile> <id>quick-build-docs</id> <activation> <property> <name>quicklyDocs</name> </property> </activation> <properties> <skipTests>true</skipTests> <skipITs>true</skipITs> <enforcer.skip>true</enforcer.skip> </properties> <build> <defaultGoal>clean install</defaultGoal> </build> </profile> <profile> <!-- separate "quickly" profile for CI to keep local "quickly" demands separated from CI demands --> <id>quick-build-ci</id> <activation> <property> <name>quickly-ci</name> </property> </activation> <properties> <skipTests>true</skipTests> <skipITs>true</skipITs> <enforcer.skip>true</enforcer.skip> <format.skip>true</format.skip> </properties> </profile> <profile> <id>format</id> <activation> <activeByDefault>true</activeByDefault> <property> <name>!no-format</name> </property> </activation> <build> <plugins> <plugin> <groupId>net.revelc.code.formatter</groupId> <artifactId>formatter-maven-plugin</artifactId> <executions> <execution> <phase>process-sources</phase> <goals> <goal>format</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>net.revelc.code</groupId> <artifactId>impsort-maven-plugin</artifactId> <executions> <execution> <id>sort-imports</id> <goals> <goal>sort</goal> </goals> </execution> </executions> <configuration> <removeUnused>true</removeUnused> </configuration> </plugin> </plugins> </build> </profile> <profile> <id>validate</id> <activation> <activeByDefault>true</activeByDefault> <property> <name>no-format</name> </property> </activation> <build> <plugins> <plugin> <groupId>net.revelc.code.formatter</groupId> <artifactId>formatter-maven-plugin</artifactId> <executions> <execution> <phase>process-sources</phase> <goals> <goal>validate</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>net.revelc.code</groupId> <artifactId>impsort-maven-plugin</artifactId> <configuration> <removeUnused>true</removeUnused> </configuration> <executions> <execution> <id>check-imports</id> <goals> <goal>check</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> </project>