Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <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>org.mineacademy</groupId>
- <artifactId>ChatControl</artifactId>
- <version>9.0.3-BETA</version>
- <packaging>jar</packaging>
- <properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <plugin.name>chatcontrol</plugin.name>
- <main.class>${project.groupId}.${plugin.name}.ChatControl</main.class>
- <lightningstorage.version>3.1.4</lightningstorage.version>
- </properties>
- <repositories>
- <repository>
- <id>jitpack.io</id>
- <url>https://jitpack.io</url>
- </repository>
- <repository>
- <id>mineacademy-repo</id>
- <url>https://repo.mineacademy.org/repository/maven-public/</url>
- </repository>
- <repository>
- <id>mineacademy-external-plugins</id>
- <url>https://repo.mineacademy.org/repository/external-plugins/</url>
- </repository>
- </repositories>
- <dependencies>
- <dependency>
- <groupId>org.mineacademy.libraries</groupId>
- <artifactId>foundation</artifactId>
- <version>5.4.4-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>com.github.JavaFactoryDev</groupId>
- <artifactId>LightningStorage</artifactId>
- <version>${lightningstorage.version}</version>
- </dependency>
- <!-- Lombok (Needed for IntelliJ)-->
- <dependency>
- <groupId>org.projectlombok</groupId>
- <artifactId>lombok</artifactId>
- <version>1.18.12</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.logging.log4j</groupId>
- <artifactId>log4j-core</artifactId>
- <version>2.13.3</version>
- </dependency>
- <dependency>
- <groupId>org.mineacademy.plugins.external</groupId>
- <artifactId>simpleclans</artifactId>
- <version>2.12.1</version>
- </dependency>
- <dependency>
- <groupId>org.mineacademy.plugins.external</groupId>
- <artifactId>discordsrv</artifactId>
- <version>1.19.0</version>
- </dependency>
- <dependency>
- <groupId>org.mineacademy.plugins.external</groupId>
- <artifactId>towny-chat</artifactId>
- <version>0.63</version>
- </dependency>
- <dependency>
- <groupId>org.mineacademy.plugins.external</groupId>
- <artifactId>authme</artifactId>
- <version>5.6.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.mineacademy.plugins.external</groupId>
- <artifactId>protocollib</artifactId>
- <version>4.5.1-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.mineacademy.plugins.external</groupId>
- <artifactId>mcmmo</artifactId>
- <version>2.1.128</version>
- </dependency>
- <dependency>
- <groupId>org.mineacademy.plugins.external</groupId>
- <artifactId>residence</artifactId>
- <version>4.8.8.2</version>
- </dependency>
- </dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <version>3.2.0</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>3.8.1</version>
- <configuration>
- <source>1.8</source>
- <target>1.8</target>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-shade-plugin</artifactId>
- <version>3.2.3</version>
- <executions>
- <execution>
- <phase>package</phase>
- <goals>
- <goal>shade</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <createDependencyReducedPom>false</createDependencyReducedPom>
- <artifactSet>
- <includes>
- <include>org.mineacademy:Foundation*</include>
- <include>com.github.JavaFactoryDev:LightningStorage*</include>
- </includes>
- </artifactSet>
- <relocations>
- <relocation>
- <pattern>org.mineacademy.fo</pattern>
- <shadedPattern>org.mineacademy.${plugin.name}.lib</shadedPattern>
- <excludes>
- <exclude>org.mineacademy.${plugin.name}.*</exclude>
- </excludes>
- </relocation>
- <relocation>
- <pattern>de.leonhard.storage</pattern>
- <shadedPattern>org.mineacademy.${plugin.name}.storage</shadedPattern>
- <excludes>
- <exclude>org.mineacademy.${plugin.name}.*</exclude>
- </excludes>
- </relocation>
- </relocations>
- <filters>
- <filter>
- <artifact>*:*</artifact>
- <excludes>
- <exclude>META-INF/MANIFEST.MF</exclude>
- <exclude>META-INF/*.SF</exclude>
- <exclude>META-INF/*.DSA</exclude>
- <exclude>META-INF/*.RSA</exclude>
- </excludes>
- </filter>
- </filters>
- </configuration>
- </plugin>
- <plugin>
- <groupId>com.github.wvengen</groupId>
- <artifactId>proguard-maven-plugin</artifactId>
- <version>2.2.0</version>
- <dependencies>
- <dependency>
- <groupId>net.sf.proguard</groupId>
- <artifactId>proguard-base</artifactId>
- <version>6.3.0beta1</version>
- </dependency>
- </dependencies>
- <executions>
- <execution>
- <phase>package</phase>
- <goals>
- <goal>proguard</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <libs>
- <lib>${java.home}/lib/rt.jar</lib>
- <lib>${java.home}/lib/jce.jar</lib>
- </libs>
- </configuration>
- </plugin>
- </plugins>
- <resources>
- <resource>
- <directory>src/main/resources</directory>
- <filtering>true</filtering>
- </resource>
- </resources>
- </build>
- </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement