|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 3 | + xmlns="http://maven.apache.org/POM/4.0.0" |
| 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>fr.xephi</groupId> |
| 8 | + <artifactId>authme</artifactId> |
| 9 | + <version>5.2-SNAPSHOT</version> |
| 10 | + |
| 11 | + <name>ConfigMe</name> |
| 12 | + <description>Config manager for Minecraft plugins</description> |
| 13 | + <inceptionYear>2016</inceptionYear> |
| 14 | + <url>https://github.com/AuthMe/ConfigMe</url> |
| 15 | + |
| 16 | + <organization> |
| 17 | + <name>AuthMe-Team</name> |
| 18 | + <url>https://github.com/AuthMe</url> |
| 19 | + </organization> |
| 20 | + |
| 21 | + <scm> |
| 22 | + <connection>scm:git:https://github.com/AuthMe/ConfigMe.git</connection> |
| 23 | + < developerConnection>scm:git: [email protected]:AuthMe/ConfigMe.git</ developerConnection> |
| 24 | + <url>https://github.com/AuthMe/ConfigMe/issues</url> |
| 25 | + </scm> |
| 26 | + |
| 27 | + <issueManagement> |
| 28 | + <system>GitHub</system> |
| 29 | + <url>https://github.com/AuthMe/ConfigMe/issues</url> |
| 30 | + </issueManagement> |
| 31 | + |
| 32 | + <licenses> |
| 33 | + <license> |
| 34 | + <!-- TODO sgdc3: Fix license --> |
| 35 | + <name>The GNU General Public Licence version 3 (GPLv3)</name> |
| 36 | + <url>http://www.gnu.org/licenses/gpl-3.0.html</url> |
| 37 | + <distribution>repo</distribution> |
| 38 | + </license> |
| 39 | + </licenses> |
| 40 | + |
| 41 | + <properties> |
| 42 | + <!-- Project properties --> |
| 43 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 44 | + <project.jdkVersion>1.7</project.jdkVersion> |
| 45 | + |
| 46 | + <!-- Output properties --> |
| 47 | + <project.outputName>AuthMe</project.outputName> |
| 48 | + <project.skipExtendedHashTests>false</project.skipExtendedHashTests> |
| 49 | + <project.versionCode>${project.version}-b${project.buildNumber}</project.versionCode> |
| 50 | + <project.finalName>${project.outputName}-${project.version}</project.finalName> |
| 51 | + |
| 52 | + <!-- BukkitPlugin properties --> |
| 53 | + <bukkitplugin.name>${project.outputName}</bukkitplugin.name> |
| 54 | + <bukkitplugin.version>${project.versionCode}</bukkitplugin.version> |
| 55 | + <bukkitplugin.main>${project.groupId}.${project.artifactId}.${bukkitplugin.name}</bukkitplugin.main> |
| 56 | + <bukkitplugin.authors>Xephi, sgdc3, DNx5, timvisee, games647, ljacqu, Gnat008</bukkitplugin.authors> |
| 57 | + |
| 58 | + <!-- Change Bukkit Version HERE! --> |
| 59 | + <bukkit.version>1.10-R0.1-SNAPSHOT</bukkit.version> |
| 60 | + </properties> |
| 61 | + |
| 62 | + <build> |
| 63 | + <!-- Name of the unshaded jar (no shaded/relocated libraries) --> |
| 64 | + <finalName>${project.finalName}-noshade</finalName> |
| 65 | + |
| 66 | + <plugins> |
| 67 | + <!-- Maven Java Compiler --> |
| 68 | + <plugin> |
| 69 | + <groupId>org.apache.maven.plugins</groupId> |
| 70 | + <artifactId>maven-compiler-plugin</artifactId> |
| 71 | + <version>3.5.1</version> |
| 72 | + <configuration> |
| 73 | + <source>${project.jdkVersion}</source> |
| 74 | + <target>${project.jdkVersion}</target> |
| 75 | + </configuration> |
| 76 | + </plugin> |
| 77 | + <!-- Test Plugin --> |
| 78 | + <plugin> |
| 79 | + <groupId>org.apache.maven.plugins</groupId> |
| 80 | + <artifactId>maven-surefire-plugin</artifactId> |
| 81 | + <version>2.19.1</version> |
| 82 | + <configuration> |
| 83 | + <!-- Force the right file encoding during unit testing --> |
| 84 | + <argLine>-Dfile.encoding=${project.build.sourceEncoding} @{argLine}</argLine> |
| 85 | + </configuration> |
| 86 | + </plugin> |
| 87 | + <!-- Libs Shading and Relocation --> |
| 88 | + |
| 89 | + <!-- Coverage report generator --> |
| 90 | + <plugin> |
| 91 | + <groupId>org.jacoco</groupId> |
| 92 | + <artifactId>jacoco-maven-plugin</artifactId> |
| 93 | + <version>0.7.7.201606060606</version> |
| 94 | + <executions> |
| 95 | + <execution> |
| 96 | + <id>prepare-agent</id> |
| 97 | + <goals> |
| 98 | + <goal>prepare-agent</goal> |
| 99 | + </goals> |
| 100 | + </execution> |
| 101 | + </executions> |
| 102 | + </plugin> |
| 103 | + |
| 104 | + </plugins> |
| 105 | + </build> |
| 106 | + |
| 107 | + <repositories> |
| 108 | + <!-- SpigotAPI Repo --> |
| 109 | + <repository> |
| 110 | + <id>spigotmc-repo</id> |
| 111 | + <url>https://hub.spigotmc.org/nexus/content/repositories/snapshots</url> |
| 112 | + </repository> |
| 113 | + |
| 114 | + <!-- Our Repo (Many libs) --> |
| 115 | + <repository> |
| 116 | + <id>xephi-repo</id> |
| 117 | + <url>http://ci.xephi.fr/plugin/repository/everything/</url> |
| 118 | + </repository> |
| 119 | + </repositories> |
| 120 | + |
| 121 | + <dependencies> |
| 122 | + <!-- Guava (the version provided by the latest bukkit version) --> |
| 123 | + <dependency> |
| 124 | + <groupId>com.google.guava</groupId> |
| 125 | + <artifactId>guava</artifactId> |
| 126 | + <version>17.0</version> |
| 127 | + <scope>compile</scope> |
| 128 | + <optional>true</optional> |
| 129 | + </dependency> |
| 130 | + |
| 131 | + |
| 132 | + <!-- Spigot API, http://www.spigotmc.org/ or http://bukkit.org/ --> |
| 133 | + <dependency> |
| 134 | + <groupId>org.spigotmc</groupId> |
| 135 | + <artifactId>spigot-api</artifactId> |
| 136 | + <version>${bukkit.version}</version> |
| 137 | + <scope>provided</scope> |
| 138 | + <exclusions> |
| 139 | + <exclusion> |
| 140 | + <artifactId>junit</artifactId> |
| 141 | + <groupId>junit</groupId> |
| 142 | + </exclusion> |
| 143 | + <exclusion> |
| 144 | + <artifactId>json-simple</artifactId> |
| 145 | + <groupId>com.googlecode.json-simple</groupId> |
| 146 | + </exclusion> |
| 147 | + <exclusion> |
| 148 | + <artifactId>gson</artifactId> |
| 149 | + <groupId>com.google.code.gson</groupId> |
| 150 | + </exclusion> |
| 151 | + <exclusion> |
| 152 | + <artifactId>persistence-api</artifactId> |
| 153 | + <groupId>javax.persistence</groupId> |
| 154 | + </exclusion> |
| 155 | + <exclusion> |
| 156 | + <artifactId>guava</artifactId> |
| 157 | + <groupId>com.google.guava</groupId> |
| 158 | + </exclusion> |
| 159 | + <exclusion> |
| 160 | + <artifactId>bungeecord-chat</artifactId> |
| 161 | + <groupId>net.md-5</groupId> |
| 162 | + </exclusion> |
| 163 | + </exclusions> |
| 164 | + </dependency> |
| 165 | + |
| 166 | + <!-- Unit testing --> |
| 167 | + <dependency> |
| 168 | + <groupId>junit</groupId> |
| 169 | + <artifactId>junit</artifactId> |
| 170 | + <scope>test</scope> |
| 171 | + <version>4.12</version> |
| 172 | + </dependency> |
| 173 | + <dependency> |
| 174 | + <groupId>org.hamcrest</groupId> |
| 175 | + <artifactId>java-hamcrest</artifactId> |
| 176 | + <scope>test</scope> |
| 177 | + <version>2.0.0.0</version> |
| 178 | + </dependency> |
| 179 | + <dependency> |
| 180 | + <groupId>org.mockito</groupId> |
| 181 | + <artifactId>mockito-core</artifactId> |
| 182 | + <scope>test</scope> |
| 183 | + <version>2.0.5-beta</version> |
| 184 | + <exclusions> |
| 185 | + <exclusion> |
| 186 | + <artifactId>hamcrest-core</artifactId> |
| 187 | + <groupId>org.hamcrest</groupId> |
| 188 | + </exclusion> |
| 189 | + </exclusions> |
| 190 | + </dependency> |
| 191 | + </dependencies> |
| 192 | +</project> |
0 commit comments