central-repository-pom
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>io.jenkins.tools</groupId> <artifactId>central-repository-pom</artifactId> <version>1.4</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.jenkins.tools</groupId> <artifactId>central-repository-pom</artifactId> <version>1.4</version> <packaging>pom</packaging> <name>Root POM for Publishing Jenkins tooling to the central repository</name> <description>${project.name}</description> <url>https://github.com/jenkinsci/central-repository-pom</url> <licenses> <license> <name>MIT license</name> <url>https://opensource.org/license/mit/</url> <distribution>repo</distribution> </license> </licenses> <developers> <developer> <name>Andrew Bayer</name> <id>abayer</id> <roles> <role>release</role> </roles> </developer> <developer> <name>Alexander Brandes</name> <id>NotMyFault</id> <email>contact(at)notmyfault.dev</email> <roles> <role>release</role> <role>maintainer</role> </roles> </developer> <developer> <name>Jesse Glick</name> <id>jglick</id> <email>jglick@cloudbees.com</email> <roles> <role>release</role> </roles> </developer> <developer> <name>Robert Sandell</name> <id>rsandell</id> <email>rsandell@cloudbees.com</email> <roles> <role>release</role> </roles> </developer> <developer> <name>Kohsuke Kawaguchi</name> <id>kohsuke</id> <roles> <role>release</role> </roles> </developer> <developer> <name>Oleg Nenashev</name> <id>oleg-nenashev</id> <roles> <role>release</role> </roles> </developer> </developers> <scm> <connection>scm:git:git@github.com/jenkinsci/${project.artifactId}.git</connection> <developerConnection>scm:git:ssh://git@github.com/jenkinsci/${project.artifactId}.git</developerConnection> <url>https://github.com/jenkinsci/${project.artifactId}</url> <tag>central-repository-pom-1.4</tag> </scm> <properties> <maven.compiler.release>11</maven.compiler.release> <maven.compiler.testRelease>${maven.compiler.release}</maven.compiler.testRelease> <!-- Generate metadata for reflection on method parameters --> <maven.compiler.parameters>true</maven.compiler.parameters> <project.build.outputEncoding>UTF-8</project.build.outputEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <maven-compiler-plugin.version>3.14.0</maven-compiler-plugin.version> <maven-gpg-plugin.version>3.2.7</maven-gpg-plugin.version> <maven-javadoc-plugin.version>3.11.2</maven-javadoc-plugin.version> <maven-project-info-reports-plugin.version>3.9.0</maven-project-info-reports-plugin.version> <maven-release-plugin.version>3.1.1</maven-release-plugin.version> <maven-resources-plugin.version>3.3.1</maven-resources-plugin.version> <maven-source-plugin.version>3.3.1</maven-source-plugin.version> <central-publishing-maven-plugin.version>0.7.0</central-publishing-maven-plugin.version> </properties> <build> <pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>${maven-compiler-plugin.version}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>${maven-gpg-plugin.version}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>${maven-javadoc-plugin.version}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-project-info-reports-plugin</artifactId> <version>${maven-project-info-reports-plugin.version}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-release-plugin</artifactId> <version>${maven-release-plugin.version}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> <version>${maven-resources-plugin.version}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>${maven-source-plugin.version}</version> </plugin> <plugin> <groupId>org.sonatype.central</groupId> <artifactId>central-publishing-maven-plugin</artifactId> <version>${central-publishing-maven-plugin.version}</version> </plugin> </plugins> </pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <configuration> <doclint>all,-missing</doclint> <locale>en_US</locale> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-release-plugin</artifactId> <configuration> <releaseProfiles>jenkins-release</releaseProfiles> </configuration> </plugin> <plugin> <groupId>org.sonatype.central</groupId> <artifactId>central-publishing-maven-plugin</artifactId> <extensions>true</extensions> <configuration> <publishingServerId>central</publishingServerId> <autoPublish>true</autoPublish> <checksums>all</checksums> <waitUntil>published</waitUntil> </configuration> </plugin> </plugins> <extensions> <extension> <groupId>org.apache.maven.scm</groupId> <artifactId>maven-scm-provider-gitexe</artifactId> <version>2.1.0</version> </extension> <extension> <groupId>org.apache.maven.scm</groupId> <artifactId>maven-scm-manager-plexus</artifactId> <version>2.1.0</version> </extension> </extensions> </build> <reporting> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-project-info-reports-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> </plugin> </plugins> </reporting> <profiles> <profile> <id>jenkins-release</id> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> <configuration> <gpgArguments> <arg>--pinentry-mode</arg> <arg>loopback</arg> </gpgArguments> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar-no-fork</goal> </goals> </execution> </executions> </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> </plugins> </build> </profile> </profiles> </project>