|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<project xmlns="http://maven.apache.org/POM/4.0.0" |
| 3 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 4 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 5 | + <modelVersion>4.0.0</modelVersion> |
| 6 | + |
| 7 | + <groupId>org.kitteh</groupId> |
| 8 | + <artifactId>superloopersnooper</artifactId> |
| 9 | + <version>1.0</version> |
| 10 | + <packaging>jar</packaging> |
| 11 | + |
| 12 | + <name>SuperLooperSnooper</name> |
| 13 | + <description>Finds cyclical dependency issues</description> |
| 14 | + <url>https://kitteh.org</url> |
| 15 | + |
| 16 | + <developers> |
| 17 | + <developer> |
| 18 | + <id>mbaxter</id> |
| 19 | + <name>Matt Baxter</name> |
| 20 | + |
| 21 | + <url>https://kitteh.org</url> |
| 22 | + <organization>Kitteh</organization> |
| 23 | + <organizationUrl>https://kitteh.org</organizationUrl> |
| 24 | + <roles> |
| 25 | + <role>Lead Developer</role> |
| 26 | + <role>Cat Wrangler</role> |
| 27 | + </roles> |
| 28 | + </developer> |
| 29 | + </developers> |
| 30 | + |
| 31 | + <licenses> |
| 32 | + <license> |
| 33 | + <name>GNU General Public License (GPL) version 3</name> |
| 34 | + <url>https://www.gnu.org/licenses/gpl-3.0.txt</url> |
| 35 | + </license> |
| 36 | + </licenses> |
| 37 | + |
| 38 | + <issueManagement> |
| 39 | + <system>GitHub</system> |
| 40 | + <url>https://github.com/KittehOrg/SuperLooperSnooper/issues</url> |
| 41 | + </issueManagement> |
| 42 | + |
| 43 | + <scm> |
| 44 | + < connection>scm:git: [email protected]:KittehOrg/SuperLooperSnooper.git</ connection> |
| 45 | + < developerConnection>scm:git: [email protected]:KittehOrg/SuperLooperSnooper.git</ developerConnection> |
| 46 | + < url> [email protected]:KittehOrg/SuperLooperSnooper.git</ url> |
| 47 | + </scm> |
| 48 | + |
| 49 | + <properties> |
| 50 | + <java.version>16</java.version> |
| 51 | + <jgrapht.version>1.5.1</jgrapht.version> <!-- Don't forget to check what Guava version it uses --> |
| 52 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 53 | + </properties> |
| 54 | + |
| 55 | + <repositories> |
| 56 | + <repository> |
| 57 | + <id>papermc-repo</id> |
| 58 | + <url>https://papermc.io/repo/repository/maven-public/</url> |
| 59 | + </repository> |
| 60 | + </repositories> |
| 61 | + |
| 62 | + <dependencies> |
| 63 | + <dependency> |
| 64 | + <groupId>io.papermc.paper</groupId> |
| 65 | + <artifactId>paper-api</artifactId> |
| 66 | + <version>1.17-R0.1-SNAPSHOT</version> |
| 67 | + <scope>provided</scope> |
| 68 | + </dependency> |
| 69 | + <dependency> |
| 70 | + <groupId>org.jgrapht</groupId> |
| 71 | + <artifactId>jgrapht-core</artifactId> |
| 72 | + <version>${jgrapht.version}</version> |
| 73 | + <scope>compile</scope> |
| 74 | + </dependency> |
| 75 | + <dependency> |
| 76 | + <groupId>org.jgrapht</groupId> |
| 77 | + <artifactId>jgrapht-guava</artifactId> |
| 78 | + <version>${jgrapht.version}</version> |
| 79 | + <scope>compile</scope> |
| 80 | + </dependency> |
| 81 | + <dependency> |
| 82 | + <groupId>com.google.guava</groupId> |
| 83 | + <artifactId>guava</artifactId> |
| 84 | + <version>29.0-jre</version> |
| 85 | + <scope>compile</scope> |
| 86 | + <exclusions> |
| 87 | + <exclusion> |
| 88 | + <groupId>org.checkerframework</groupId> |
| 89 | + <artifactId>checker-qual</artifactId> |
| 90 | + </exclusion> |
| 91 | + <exclusion> |
| 92 | + <groupId>com.google.code.findbugs</groupId> |
| 93 | + <artifactId>jsr305</artifactId> |
| 94 | + </exclusion> |
| 95 | + </exclusions> |
| 96 | + </dependency> |
| 97 | + </dependencies> |
| 98 | + |
| 99 | + <build> |
| 100 | + <finalName>${project.name}</finalName> |
| 101 | + <resources> |
| 102 | + <resource> |
| 103 | + <directory>src/main/resources</directory> |
| 104 | + <filtering>true</filtering> |
| 105 | + </resource> |
| 106 | + </resources> |
| 107 | + <plugins> |
| 108 | + <plugin> |
| 109 | + <groupId>org.apache.maven.plugins</groupId> |
| 110 | + <artifactId>maven-compiler-plugin</artifactId> |
| 111 | + <version>3.8.1</version> |
| 112 | + <configuration> |
| 113 | + <release>${java.version}</release> |
| 114 | + </configuration> |
| 115 | + </plugin> |
| 116 | + <plugin> |
| 117 | + <groupId>org.apache.maven.plugins</groupId> |
| 118 | + <artifactId>maven-shade-plugin</artifactId> |
| 119 | + <version>3.3.0-SNAPSHOT</version> |
| 120 | + <executions> |
| 121 | + <execution> |
| 122 | + <phase>package</phase> |
| 123 | + <goals> |
| 124 | + <goal>shade</goal> |
| 125 | + </goals> |
| 126 | + <configuration> |
| 127 | + <createDependencyReducedPom>false</createDependencyReducedPom> |
| 128 | + <filters> |
| 129 | + <filter> |
| 130 | + <artifact>*:*</artifact> |
| 131 | + <excludes> |
| 132 | + <exclude>META-INF/MANIFEST.MF</exclude> |
| 133 | + </excludes> |
| 134 | + </filter> |
| 135 | + </filters> |
| 136 | + <relocations> |
| 137 | + <relocation> |
| 138 | + <pattern>com.google</pattern> |
| 139 | + <shadedPattern>org.kitteh.superloopersnooperlibs.com.google</shadedPattern> |
| 140 | + </relocation> |
| 141 | + <relocation> |
| 142 | + <pattern>org.jgrapht</pattern> |
| 143 | + <shadedPattern>org.kitteh.superloopersnooperlibs.org.jgrapht</shadedPattern> |
| 144 | + </relocation> |
| 145 | + <relocation> |
| 146 | + <pattern>org.jheaps</pattern> |
| 147 | + <shadedPattern>org.kitteh.superloopersnooperlibs.org.jheaps</shadedPattern> |
| 148 | + </relocation> |
| 149 | + </relocations> |
| 150 | + </configuration> |
| 151 | + </execution> |
| 152 | + </executions> |
| 153 | + </plugin> |
| 154 | + <plugin> |
| 155 | + <groupId>com.mycila</groupId> |
| 156 | + <artifactId>license-maven-plugin</artifactId> |
| 157 | + <version>3.0</version> |
| 158 | + <executions> |
| 159 | + <execution> |
| 160 | + <phase>clean</phase> |
| 161 | + <goals> |
| 162 | + <goal>format</goal> |
| 163 | + </goals> |
| 164 | + </execution> |
| 165 | + </executions> |
| 166 | + <configuration> |
| 167 | + <quiet>true</quiet> |
| 168 | + <encoding>UTF-8</encoding> |
| 169 | + <strictCheck>true</strictCheck> |
| 170 | + <header>${basedir}/LICENSE_FILE_HEADER</header> |
| 171 | + <mapping> |
| 172 | + <java>SLASHSTAR_STYLE</java> |
| 173 | + </mapping> |
| 174 | + <includes> |
| 175 | + <include>src/main/java/org/kitteh/**</include> |
| 176 | + </includes> |
| 177 | + </configuration> |
| 178 | + </plugin> |
| 179 | + </plugins> |
| 180 | + </build> |
| 181 | +</project> |
0 commit comments