<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>fr.pandacube.bungeecord</groupId> <artifactId>bungeecord-parent</artifactId> <version>1.21-R0.3-SNAPSHOT</version> <packaging>pom</packaging> <name>BungeeCord-Parent</name> <description>Parent project for all BungeeCord modules.</description> <url>https://github.com/SpigotMC/BungeeCord</url> <inceptionYear>2012</inceptionYear> <organization> <name>SpigotMC</name> <url>https://github.com/SpigotMC</url> </organization> <licenses> <license> <name>Modified BSD 3-Clause License</name> <url>https://github.com/SpigotMC/BungeeCord/blob/master/LICENSE</url> <distribution>repo</distribution> </license> </licenses> <developers> <developer> <id>md_5</id> </developer> </developers> <modules> <module>api</module> <module>bootstrap</module> <module>chat</module> <module>config</module> <module>event</module> <module>log</module> <module>protocol</module> <module>proxy</module> <module>query</module> <module>slf4j</module> <module>native</module> </modules> <scm> <connection>scm:git:git@github.com:SpigotMC/BungeeCord.git</connection> <developerConnection>scm:git:git@github.com:SpigotMC/BungeeCord.git</developerConnection> <url>git@github.com:SpigotMC/BungeeCord.git</url> </scm> <issueManagement> <system>GitHub</system> <url>https://github.com/SpigotMC/BungeeCord/issues</url> </issueManagement> <ciManagement> <system>jenkins</system> <url>http://ci.md-5.net/job/BungeeCord</url> </ciManagement> <distributionManagement> <snapshotRepository> <id>sonatype-nexus-snapshots</id> <url>https://oss.sonatype.org/content/repositories/snapshots/</url> </snapshotRepository> <repository> <id>sonatype-nexus-staging</id> <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> </repository> </distributionManagement> <properties> <build.number>unknown</build.number> <lombok.version>1.18.36</lombok.version> <maven.compiler.source>1.8</maven.compiler.source> <maven.compiler.target>1.8</maven.compiler.target> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> </properties> <dependencyManagement> <dependencies> <dependency> <groupId>io.netty</groupId> <artifactId>netty-bom</artifactId> <version>4.1.119.Final</version> <type>pom</type> <scope>import</scope> </dependency> </dependencies> </dependencyManagement> <dependencies> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter</artifactId> <version>5.10.2</version> <scope>test</scope> </dependency> <dependency> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> <version>33.3.1-jre</version> <scope>compile</scope> </dependency> <dependency> <groupId>com.google.code.findbugs</groupId> <artifactId>findbugs-annotations</artifactId> <version>3.0.1</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.jetbrains</groupId> <artifactId>annotations-java5</artifactId> <version>24.1.0</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> <version>${lombok.version}</version> <scope>provided</scope> </dependency> </dependencies> <build> <pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>3.6.3</version> </plugin> </plugins> </pluginManagement> <plugins> <plugin> <groupId>net.md-5</groupId> <artifactId>scriptus</artifactId> <version>0.5.0</version> <configuration> <format>git:${project.name}-Pandacube:${project.version}:%s:${build.number}</format> </configuration> <executions> <execution> <phase>initialize</phase> <goals> <goal>describe</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.13.0</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> <version>3.6.0</version> <executions> <execution> <phase>process-classes</phase> <goals> <goal>check</goal> </goals> </execution> </executions> <configuration> <configLocation>checkstyle.xml</configLocation> <includeResources>false</includeResources> <includeTestSourceDirectory>true</includeTestSourceDirectory> </configuration> <dependencies> <dependency> <groupId>com.puppycrawl.tools</groupId> <artifactId>checkstyle</artifactId> <version>8.45.1</version> </dependency> </dependencies> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>animal-sniffer-maven-plugin</artifactId> <version>1.23</version> <executions> <execution> <phase>process-classes</phase> <goals> <goal>check</goal> </goals> </execution> </executions> <configuration> <signature> <groupId>org.codehaus.mojo.signature</groupId> <artifactId>java18</artifactId> <version>1.0</version> </signature> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-enforcer-plugin</artifactId> <version>3.4.1</version> <executions> <execution> <id>enforce</id> <configuration> <rules> <dependencyConvergence> <excludes> <!-- org.apache.maven:maven-resolver-provider is inconsistent --> <exclude>org.apache.commons:commons-lang3</exclude> <!-- org.apache.maven:maven-resolver-transport-http is inconsistent --> <exclude>org.apache.httpcomponents:httpcore</exclude> </excludes> </dependencyConvergence> </rules> </configuration> <goals> <!--<goal>enforce</goal>--> <!-- Disabled until maven-resolver is upgraded again. --> </goals> </execution> </executions> </plugin> </plugins> </build> <profiles> <profile> <id>jdk-9-release</id> <activation> <jdk>[9,)</jdk> </activation> <properties> <maven.compiler.release>8</maven.compiler.release> </properties> </profile> <profile> <id>jdk-9-javadoc</id> <activation> <jdk>[9,)</jdk> </activation> <build> <pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <configuration> <additionalOptions>-html5</additionalOptions> </configuration> </plugin> </plugins> </pluginManagement> </build> </profile> <profile> <id>jdk-15-javadoc</id> <activation> <jdk>[15,)</jdk> </activation> <build> <pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <configuration> <doclint>none</doclint> </configuration> </plugin> </plugins> </pluginManagement> </build> </profile> <profile> <id>jdk-21-proc</id> <activation> <jdk>[21,)</jdk> </activation> <properties> <maven.compiler.proc>full</maven.compiler.proc> </properties> </profile> <profile> <id>dist</id> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>3.3.1</version> <executions> <execution> <phase>package</phase> <goals> <goal>jar-no-fork</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.projectlombok</groupId> <artifactId>lombok-maven-plugin</artifactId> <version>1.18.20.0</version> <executions> <execution> <phase>package</phase> <goals> <goal>delombok</goal> </goals> </execution> </executions> <configuration> <addOutputDirectory>false</addOutputDirectory> <outputDirectory>${project.build.directory}/delombok</outputDirectory> <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory> </configuration> <dependencies> <dependency> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> <version>${lombok.version}</version> </dependency> </dependencies> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <executions> <!-- Execute Javadoc once normally to catch any warnings --> <execution> <phase>package</phase> <goals> <goal>jar</goal> </goals> </execution> <!-- Then execute it again to generate properly with delombok --> <execution> <id>delombok</id> <phase>package</phase> <goals> <goal>jar</goal> </goals> <configuration> <!-- lombok does not add @return or @param which causes warnings, so ignore --> <doclint>none</doclint> <sourcepath>${project.build.directory}/delombok</sourcepath> </configuration> </execution> </executions> <configuration> <quiet>true</quiet> <failOnWarnings>true</failOnWarnings> </configuration> </plugin> </plugins> </build> </profile> <profile> <id>release</id> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>3.2.4</version> <executions> <execution> <phase>verify</phase> <goals> <goal>sign</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> </project>