You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
225 lines
7.2 KiB
225 lines
7.2 KiB
<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>ru.simsonic</groupId> |
|
<artifactId>rscPermissions</artifactId> |
|
<version>0.10.1b-SNAPSHOT</version> |
|
<packaging>jar</packaging> |
|
|
|
<name>rscPermissions</name> |
|
<url>https://github.com/SimSonic/rscPermissions/</url> |
|
|
|
<repositories> |
|
<repository> |
|
<id>methuselah-repo</id> |
|
<url>http://maven.methuselah.ru/</url> |
|
</repository> |
|
<!-- Bukkit / Spigot / Sponge --> |
|
<repository> |
|
<id>sponge-repo</id> |
|
<url>http://repo.spongepowered.org/maven/</url> |
|
</repository> |
|
<repository> |
|
<id>spigot-repo</id> |
|
<url>https://hub.spigotmc.org/nexus/content/groups/public/</url> |
|
</repository> |
|
<!-- Metrics (mcstats.org) --> |
|
<repository> |
|
<id>metrics-repo</id> |
|
<url>http://repo.mcstats.org/content/repositories/public/</url> |
|
</repository> |
|
<!-- VaultAPI --> |
|
<repository> |
|
<id>vault-repo</id> |
|
<url>http://nexus.theyeticave.net/content/repositories/pub_releases/</url> |
|
</repository> |
|
<!-- Region list providers: WorldGuard, Residence --> |
|
<repository> |
|
<id>sk89q-repo</id> |
|
<url>http://maven.sk89q.com/repo/</url> |
|
</repository> |
|
<repository> |
|
<id>Residence</id> |
|
<url>http://ci.drtshock.net/plugin/repository/everything/</url> |
|
</repository> |
|
</repositories> |
|
|
|
<dependencies> |
|
<!-- MySQL используется как основное хранилище прав --> |
|
<dependency> |
|
<groupId>mysql</groupId> |
|
<artifactId>mysql-connector-java</artifactId> |
|
<version>5.1.38</version> |
|
<scope>runtime</scope> |
|
</dependency> |
|
<!-- Локальный кеш будет храниться в json-файле --> |
|
<dependency> |
|
<groupId>com.google.code.gson</groupId> |
|
<artifactId>gson</artifactId> |
|
<version>2.6.2</version> |
|
<scope>compile</scope> |
|
</dependency> |
|
<!-- В первую очередь плагин создан под платформу Bukkit (Spigot) --> |
|
<dependency> |
|
<groupId>org.spigotmc</groupId> |
|
<artifactId>spigot-api</artifactId> |
|
<version>1.8.8-R0.1-SNAPSHOT</version> |
|
<scope>provided</scope> |
|
</dependency> |
|
<!-- В связи с появлением Sponge API, разработка будет вестись и под него --> |
|
<dependency> |
|
<groupId>org.spongepowered</groupId> |
|
<artifactId>spongeapi</artifactId> |
|
<version>3.0.0</version> |
|
<scope>provided</scope> |
|
</dependency> |
|
<!-- Моя собственная библиотека общего кода для разных проектов --> |
|
<dependency> |
|
<groupId>ru.simsonic</groupId> |
|
<artifactId>rscCommonsLibrary</artifactId> |
|
<version>2.1.2</version> |
|
<scope>compile</scope> |
|
</dependency> |
|
<dependency> |
|
<groupId>ru.simsonic</groupId> |
|
<artifactId>rscMinecraftLibrary</artifactId> |
|
<version>2.2.0</version> |
|
<scope>compile</scope> |
|
</dependency> |
|
<!-- Статистика использования плагина --> |
|
<dependency> |
|
<groupId>org.mcstats.bukkit</groupId> |
|
<artifactId>metrics-lite</artifactId> |
|
<version>R8-SNAPSHOT</version> |
|
<scope>compile</scope> |
|
</dependency> |
|
<!-- Стандарт подключения менеджера прав и чата к Bukkit --> |
|
<dependency> |
|
<groupId>net.milkbowl.vault</groupId> |
|
<artifactId>VaultAPI</artifactId> |
|
<version>1.5</version> |
|
<scope>compile</scope> |
|
</dependency> |
|
<!-- Зависимости для провайдеров регионов --> |
|
<dependency> |
|
<groupId>com.sk89q.worldedit</groupId> |
|
<artifactId>worldedit-bukkit</artifactId> |
|
<version>6.1</version> |
|
<scope>provided</scope> |
|
</dependency> |
|
<dependency> |
|
<groupId>com.sk89q</groupId> |
|
<artifactId>worldguard</artifactId> |
|
<version>6.1</version> |
|
<scope>provided</scope> |
|
</dependency> |
|
<dependency> |
|
<groupId>net.t00thpick1</groupId> |
|
<artifactId>Residence</artifactId> |
|
<version>3.0-SNAPSHOT</version> |
|
<scope>provided</scope> |
|
</dependency> |
|
</dependencies> |
|
|
|
<properties> |
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
|
</properties> |
|
|
|
<build> |
|
<finalName>${project.artifactId}_v${project.version}</finalName> |
|
<plugins> |
|
<plugin> |
|
<groupId>org.apache.maven.plugins</groupId> |
|
<artifactId>maven-compiler-plugin</artifactId> |
|
<version>3.5.1</version> |
|
<configuration> |
|
<source>1.7</source> |
|
<target>1.7</target> |
|
<debug>true</debug> |
|
<verbose>false</verbose> |
|
<showDeprecation>true</showDeprecation> |
|
</configuration> |
|
</plugin> |
|
<plugin> |
|
<groupId>org.apache.maven.plugins</groupId> |
|
<artifactId>maven-jar-plugin</artifactId> |
|
<version>2.6</version> |
|
<configuration> |
|
<archive> |
|
<addMavenDescriptor>false</addMavenDescriptor> |
|
<manifest> |
|
<mainClass>${project.groupId}.${project.artifactId}.IndependentMain</mainClass> |
|
</manifest> |
|
</archive> |
|
<excludes> |
|
<exclude>.*</exclude> |
|
</excludes> |
|
</configuration> |
|
</plugin> |
|
<plugin> |
|
<groupId>org.apache.maven.plugins</groupId> |
|
<artifactId>maven-shade-plugin</artifactId> |
|
<version>2.4.3</version> |
|
<executions> |
|
<execution> |
|
<phase>package</phase> |
|
<goals> |
|
<goal>shade</goal> |
|
</goals> |
|
<configuration> |
|
<minimizeJar>true</minimizeJar> |
|
<createDependencyReducedPom>false</createDependencyReducedPom> |
|
<artifactSet> |
|
<includes> |
|
<include>com.google.code.gson:gson</include> |
|
<include>ru.simsonic:rscCommonsLibrary</include> |
|
<include>ru.simsonic:rscMinecraftLibrary</include> |
|
<include>org.mcstats.bukkit:metrics-lite</include> |
|
<include>net.milkbowl.vault:VaultAPI</include> |
|
</includes> |
|
</artifactSet> |
|
<relocations> |
|
<relocation> |
|
<pattern>com.google.gson</pattern> |
|
<shadedPattern>${project.groupId}.${project.artifactId}.com-google-gson-shaded</shadedPattern> |
|
</relocation> |
|
<relocation> |
|
<pattern>ru.simsonic.rscCommonsLibrary</pattern> |
|
<shadedPattern>${project.groupId}.${project.artifactId}.rscCommonsLibrary-shaded</shadedPattern> |
|
</relocation> |
|
<relocation> |
|
<pattern>ru.simsonic.rscMinecraftLibrary</pattern> |
|
<shadedPattern>${project.groupId}.${project.artifactId}.rscMinecraftLibrary-shaded</shadedPattern> |
|
</relocation> |
|
</relocations> |
|
</configuration> |
|
</execution> |
|
</executions> |
|
</plugin> |
|
<plugin> |
|
<groupId>org.apache.maven.plugins</groupId> |
|
<artifactId>maven-javadoc-plugin</artifactId> |
|
<version>2.10.3</version> |
|
<executions> |
|
<execution> |
|
<id>attach-javadocs</id> |
|
<goals> |
|
<goal>jar</goal> |
|
</goals> |
|
</execution> |
|
</executions> |
|
<configuration> |
|
<show>public</show> |
|
<nohelp>true</nohelp> |
|
</configuration> |
|
</plugin> |
|
</plugins> |
|
<resources> |
|
<resource> |
|
<directory>src/main/resources</directory> |
|
<filtering>true</filtering> |
|
</resource> |
|
</resources> |
|
</build> |
|
</project>
|
|
|