Advertisement
Renzott

pom.xml

Feb 11th, 2020
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.85 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>com.renzott.mcdev</groupId>
  8.     <artifactId>mcdev</artifactId>
  9.     <version>1.0-SNAPSHOT</version>
  10.     <packaging>jar</packaging>
  11.  
  12.     <name>Mcdev</name>
  13.  
  14.     <description>plugin test maven</description>
  15.     <properties>
  16.         <java.version>1.8</java.version>
  17.         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  18.     </properties>
  19.  
  20.     <build>
  21.  
  22.         <defaultGoal>clean package</defaultGoal>
  23.         <plugins>
  24.             <plugin>
  25.                 <groupId>org.apache.maven.plugins</groupId>
  26.                 <artifactId>maven-compiler-plugin</artifactId>
  27.                 <version>3.7.0</version>
  28.                 <configuration>
  29.                     <source>${java.version}</source>
  30.                     <target>${java.version}</target>
  31.                 </configuration>
  32.             </plugin>
  33.             <plugin>
  34.                 <groupId>org.apache.maven.plugins</groupId>
  35.                 <artifactId>maven-shade-plugin</artifactId>
  36.                 <version>3.1.0</version>
  37.                 <executions>
  38.                     <execution>
  39.                         <phase>package</phase>
  40.                         <goals>
  41.                             <goal>shade</goal>
  42.                         </goals>
  43.                         <configuration>
  44.                             <createDependencyReducedPom>false</createDependencyReducedPom>
  45.                         </configuration>
  46.                     </execution>
  47.                 </executions>
  48.             </plugin>
  49.         </plugins>
  50.         <resources>
  51.             <resource>
  52.                 <directory>src/main/resources</directory>
  53.                 <filtering>true</filtering>
  54.             </resource>
  55.         </resources>
  56.     </build>
  57.  
  58.     <repositories>
  59.         <repository>
  60.             <id>spigotmc-repo</id>
  61.             <url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
  62.         </repository>
  63.         <repository>
  64.             <id>sonatype</id>
  65.             <url>https://oss.sonatype.org/content/groups/public/</url>
  66.         </repository>
  67.     </repositories>
  68.  
  69.     <dependencies>
  70.         <dependency>
  71.             <groupId>org.spigotmc</groupId>
  72.             <artifactId>spigot-api</artifactId>
  73.             <version>1.14.4-R0.1-SNAPSHOT</version>
  74.             <scope>provided</scope>
  75.         </dependency>
  76.  
  77.         <dependency>
  78.             <groupId>pircbot</groupId>
  79.             <artifactId>pircbot</artifactId>
  80.             <version>1.4.6</version>
  81.             <scope>compile</scope>
  82.         </dependency>
  83.     </dependencies>
  84. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement