|
|
|
<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.9.10a</version>
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
|
|
|
|
<name>rscPermissions</name>
|
|
|
|
<url>https://github.com/SimSonic/rscPermissions/</url>
|
|
|
|
|
|
|
|
<repositories>
|
|
|
|
<!-- Bukkit / Spigot / Sponge -->
|
|
|
|
<repository>
|
|
|
|
<id>sponge-repo</id>
|
|
|
|
<url>http://repo.spongepowered.org/Sponge/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.34</version>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
<!-- Локальный кеш будет храниться в json-файле -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.code.gson</groupId>
|
|
|
|
<artifactId>gson</artifactId>
|
|
|
|
<version>2.3.1</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<!-- В первую очередь плагин создан под платформу Bukkit (Spigot) -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.bukkit</groupId>
|
|
|
|
<artifactId>bukkit</artifactId>
|
|
|
|
<version>1.8-R0.1-SNAPSHOT</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>ru.simsonic</groupId>
|
|
|
|
<artifactId>rscUtilityLibrary</artifactId>
|
|
|
|
<version>2.0.4</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
<type>jar</type>
|
|
|
|
</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</groupId>
|
|
|
|
<artifactId>worldedit</artifactId>
|
|
|
|
<version>6.0.0-SNAPSHOT</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.sk89q</groupId>
|
|
|
|
<artifactId>worldguard</artifactId>
|
|
|
|
<version>6.0.0-SNAPSHOT</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>net.t00thpick1</groupId>
|
|
|
|
<artifactId>Residence</artifactId>
|
|
|
|
<version>3.0-SNAPSHOT</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<!-- В связи с появлением Sponge API, разработка будет вестись и под него -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.spongepowered</groupId>
|
|
|
|
<artifactId>spongeapi</artifactId>
|
|
|
|
<version>1.0</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.2</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.5</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.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:rscUtilityLibrary</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.rscUtilityLibrary</pattern>
|
|
|
|
<shadedPattern>${project.groupId}.${project.artifactId}.ru-simsonic-rscUtilityLibrary-shaded</shadedPattern>
|
|
|
|
</relocation>
|
|
|
|
</relocations>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
|
|
<version>2.10.1</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>
|