|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<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"> |
| 3 | + <modelVersion>4.0.0</modelVersion> |
| 4 | + |
| 5 | + <parent> |
| 6 | + <groupId>org.basepom</groupId> |
| 7 | + <artifactId>basepom-oss</artifactId> |
| 8 | + <version>59</version> |
| 9 | + </parent> |
| 10 | + |
| 11 | + <groupId>io.github.spannm</groupId> |
| 12 | + <artifactId>leetcode</artifactId> |
| 13 | + <version>1.0.0-SNAPSHOT</version> |
| 14 | + <packaging>jar</packaging> |
| 15 | + |
| 16 | + <name>${project.artifactId}</name> |
| 17 | + <description>Solutions to LeetCode coding problems</description> |
| 18 | + <url>https://github.com/${developerId}/${project.artifactId}</url> |
| 19 | + <inceptionYear>2023</inceptionYear> |
| 20 | + |
| 21 | + <licenses> |
| 22 | + <license> |
| 23 | + <name>MIT License</name> |
| 24 | + <url>${project.url}/blob/master/LICENSE</url> |
| 25 | + </license> |
| 26 | + </licenses> |
| 27 | + |
| 28 | + <developers> |
| 29 | + <developer> |
| 30 | + <id>${developerId}</id> |
| 31 | + <name>Markus S.</name> |
| 32 | + |
| 33 | + <organizationUrl>https://github.com/${developerId}/</organizationUrl> |
| 34 | + </developer> |
| 35 | + </developers> |
| 36 | + |
| 37 | + <properties> |
| 38 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 39 | + |
| 40 | + <project.build.systemJdk>17</project.build.systemJdk> |
| 41 | + <project.build.targetJdk>17</project.build.targetJdk> |
| 42 | + |
| 43 | + <developerId>spannm</developerId> |
| 44 | + |
| 45 | + <dep.plugin.sortpom.version>4.0.0</dep.plugin.sortpom.version> |
| 46 | + |
| 47 | + <dep.javapoet.version>1.13.0</dep.javapoet.version> |
| 48 | + <dep.slf4j-api.version>2.1.0-alpha1</dep.slf4j-api.version> |
| 49 | + <dep.junit.version>5.10.2</dep.junit.version> |
| 50 | + <dep.assertj.version>3.26.0</dep.assertj.version> |
| 51 | + |
| 52 | + <basepom.check.fail-dependency>false</basepom.check.fail-dependency> |
| 53 | + <basepom.check.skip-spotbugs>true</basepom.check.skip-spotbugs> |
| 54 | + <basepom.check.skip-license>true</basepom.check.skip-license> |
| 55 | + </properties> |
| 56 | + |
| 57 | + <dependencyManagement> |
| 58 | + <dependencies> |
| 59 | + <dependency> |
| 60 | + <groupId>org.junit</groupId> |
| 61 | + <artifactId>junit-bom</artifactId> |
| 62 | + <version>${dep.junit.version}</version> |
| 63 | + <type>pom</type> |
| 64 | + <scope>import</scope> |
| 65 | + </dependency> |
| 66 | + </dependencies> |
| 67 | + </dependencyManagement> |
| 68 | + |
| 69 | + <dependencies> |
| 70 | + |
| 71 | + <dependency> |
| 72 | + <groupId>com.squareup</groupId> |
| 73 | + <artifactId>javapoet</artifactId> |
| 74 | + <version>${dep.javapoet.version}</version> |
| 75 | + <scope>test</scope> |
| 76 | + </dependency> |
| 77 | + |
| 78 | + <dependency> |
| 79 | + <groupId>org.slf4j</groupId> |
| 80 | + <artifactId>slf4j-api</artifactId> |
| 81 | + <version>${dep.slf4j-api.version}</version> |
| 82 | + <scope>test</scope> |
| 83 | + </dependency> |
| 84 | + |
| 85 | + <dependency> |
| 86 | + <groupId>org.slf4j</groupId> |
| 87 | + <artifactId>slf4j-simple</artifactId> |
| 88 | + <version>${dep.slf4j-api.version}</version> |
| 89 | + <scope>test</scope> |
| 90 | + </dependency> |
| 91 | + |
| 92 | + <dependency> |
| 93 | + <groupId>org.junit.jupiter</groupId> |
| 94 | + <artifactId>junit-jupiter-api</artifactId> |
| 95 | + <scope>test</scope> |
| 96 | + </dependency> |
| 97 | + |
| 98 | + <dependency> |
| 99 | + <groupId>org.junit.jupiter</groupId> |
| 100 | + <artifactId>junit-jupiter-params</artifactId> |
| 101 | + <scope>test</scope> |
| 102 | + </dependency> |
| 103 | + |
| 104 | + <dependency> |
| 105 | + <groupId>org.junit.platform</groupId> |
| 106 | + <artifactId>junit-platform-launcher</artifactId> |
| 107 | + <scope>test</scope> |
| 108 | + </dependency> |
| 109 | + |
| 110 | + <dependency> |
| 111 | + <groupId>org.junit.platform</groupId> |
| 112 | + <artifactId>junit-platform-engine</artifactId> |
| 113 | + <scope>test</scope> |
| 114 | + </dependency> |
| 115 | + |
| 116 | + <dependency> |
| 117 | + <groupId>org.assertj</groupId> |
| 118 | + <artifactId>assertj-core</artifactId> |
| 119 | + <version>${dep.assertj.version}</version> |
| 120 | + <scope>test</scope> |
| 121 | + </dependency> |
| 122 | + |
| 123 | + </dependencies> |
| 124 | + |
| 125 | + <build> |
| 126 | + |
| 127 | + <defaultGoal>clean verify</defaultGoal> |
| 128 | + |
| 129 | + <pluginManagement> |
| 130 | + |
| 131 | + <plugins> |
| 132 | + |
| 133 | + <plugin> |
| 134 | + <artifactId>maven-checkstyle-plugin</artifactId> |
| 135 | + <configuration> |
| 136 | + <configLocation>src/test/resources/team/checkstyle-rules.xml</configLocation> |
| 137 | + </configuration> |
| 138 | + </plugin> |
| 139 | + |
| 140 | + <plugin> |
| 141 | + <groupId>org.apache.maven.plugins</groupId> |
| 142 | + <artifactId>maven-pmd-plugin</artifactId> |
| 143 | + <configuration> |
| 144 | + <rulesets> |
| 145 | + <ruleset>src/test/resources/team/pmd-rules.xml</ruleset> |
| 146 | + </rulesets> |
| 147 | + </configuration> |
| 148 | + </plugin> |
| 149 | + |
| 150 | + <plugin> |
| 151 | + <groupId>com.github.ekryd.sortpom</groupId> |
| 152 | + <artifactId>sortpom-maven-plugin</artifactId> |
| 153 | + <version>${dep.plugin.sortpom.version}</version> |
| 154 | + <configuration> |
| 155 | + <createBackupFile>false</createBackupFile> |
| 156 | + <expandEmptyElements>false</expandEmptyElements> |
| 157 | + <nrOfIndentSpace>4</nrOfIndentSpace> |
| 158 | + </configuration> |
| 159 | + </plugin> |
| 160 | + |
| 161 | + </plugins> |
| 162 | + </pluginManagement> |
| 163 | + |
| 164 | + </build> |
| 165 | + |
| 166 | + <profiles> |
| 167 | + <profile> |
| 168 | + <id>fast</id> |
| 169 | + <!-- Profile to skip time-consuming steps. --> |
| 170 | + <activation> |
| 171 | + <activeByDefault>false</activeByDefault> |
| 172 | + </activation> |
| 173 | + <properties> |
| 174 | + <!-- skip _compiling_ the tests --> |
| 175 | + <maven.test.skip>true</maven.test.skip> |
| 176 | + <!-- skip test execution --> |
| 177 | + <skipTests>true</skipTests> |
| 178 | + |
| 179 | + <maven.javadoc.skip>true</maven.javadoc.skip> |
| 180 | + <basepom.check.skip-extended>true</basepom.check.skip-extended> |
| 181 | + </properties> |
| 182 | + </profile> |
| 183 | + </profiles> |
| 184 | + |
| 185 | +</project> |
0 commit comments