Advertisement
Intreipd

pom.xml

May 21st, 2019
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 3.04 KB | None | 0 0
  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>ggmmo</groupId>
  8.     <artifactId>serverutilities</artifactId>
  9.     <version>1.0.0</version>
  10.     <packaging>jar</packaging>
  11.  
  12.     <name>ServerUtilities</name>
  13.  
  14.     <description>Not for distribution, this plugin simply provides files that ease certain tasks in development
  15.     </description>
  16.     <properties>
  17.         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  18.     </properties>
  19.  
  20.     <build>
  21.         <defaultGoal>clean package</defaultGoal>
  22.         <plugins>
  23.             <plugin>
  24.                 <groupId>org.apache.maven.plugins</groupId>
  25.                 <artifactId>maven-compiler-plugin</artifactId>
  26.                 <version>3.7.0</version>
  27.                 <configuration>
  28.                     <source>1.8</source>
  29.                     <target>1.8</target>
  30.                 </configuration>
  31.             </plugin>
  32.             <plugin>
  33.                 <groupId>org.apache.maven.plugins</groupId>
  34.                 <artifactId>maven-shade-plugin</artifactId>
  35.                 <version>3.1.0</version>
  36.                 <executions>
  37.                     <execution>
  38.                         <phase>package</phase>
  39.                         <goals>
  40.                             <goal>shade</goal>
  41.                         </goals>
  42.                         <configuration>
  43.                             <createDependencyReducedPom>false</createDependencyReducedPom>
  44.                         </configuration>
  45.                     </execution>
  46.                 </executions>
  47.             </plugin>
  48.         </plugins>
  49.         <resources>
  50.             <resource>
  51.                 <directory>src/main/resources</directory>
  52.                 <filtering>true</filtering>
  53.             </resource>
  54.         </resources>
  55.     </build>
  56.  
  57.     <repositories>
  58.         <repository>
  59.             <id>spigotmc-repo</id>
  60.             <url>https://hub.spigotmc.org/nexus/content/groups/public/</url>
  61.         </repository>
  62.         <repository>
  63.             <id>sonatype</id>
  64.             <url>https://oss.sonatype.org/content/groups/public/</url>
  65.         </repository>
  66.     </repositories>
  67.  
  68.     <dependencies>
  69.         <dependency>
  70.             <groupId>org.spigotmc</groupId>
  71.             <artifactId>spigot-api</artifactId>
  72.             <version>1.12.2-R0.1-SNAPSHOT</version>
  73.             <scope>provided</scope>
  74.         </dependency>
  75.         <dependency>
  76.             <groupId>org.jetbrains</groupId>
  77.             <artifactId>annotations</artifactId>
  78.             <version>16.0.1</version>
  79.             <scope>compile</scope>
  80.         </dependency>
  81.         <dependency>
  82.             <groupId>org.spigotmc</groupId>
  83.             <artifactId>spigot</artifactId>
  84.             <version>1.12.2-R0.1-SNAPSHOT</version>
  85.         </dependency>
  86.     </dependencies>
  87. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement