Advertisement
Guest User

pom.xml

a guest
May 19th, 2021
630
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.78 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>me.dlabaja</groupId>
  8.     <artifactId>dbl</artifactId>
  9.     <version>1.0-SNAPSHOT</version>
  10.     <packaging>jar</packaging>
  11.  
  12.     <name>dblPlugin</name>
  13.  
  14.     <description>plugin pro dýbýel craft</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.         <plugins>
  22.             <plugin>
  23.                 <groupId>org.apache.maven.plugins</groupId>
  24.                 <artifactId>maven-compiler-plugin</artifactId>
  25.                 <version>3.8.1</version>
  26.                 <configuration>
  27.                     <source>${java.version}</source>
  28.                     <target>${java.version}</target>
  29.                 </configuration>
  30.             </plugin>
  31.             <plugin>
  32.                 <groupId>org.apache.maven.plugins</groupId>
  33.                 <artifactId>maven-shade-plugin</artifactId>
  34.                 <version>3.2.4</version>
  35.                 <executions>
  36.                     <execution>
  37.                         <phase>package</phase>
  38.                         <goals>
  39.                             <goal>shade</goal>
  40.                         </goals>
  41.                         <configuration>
  42.                             <createDependencyReducedPom>false</createDependencyReducedPom>
  43.                         </configuration>
  44.                     </execution>
  45.                 </executions>
  46.             </plugin>
  47.         </plugins>
  48.         <resources>
  49.             <resource>
  50.                 <directory>src/main/resources</directory>
  51.                 <filtering>true</filtering>
  52.             </resource>
  53.         </resources>
  54.     </build>
  55.  
  56.     <repositories>
  57.         <repository>
  58.             <id>spigotmc-repo</id>
  59.             <url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
  60.         </repository>
  61.         <repository>
  62.             <id>sonatype</id>
  63.             <url>https://oss.sonatype.org/content/groups/public/</url>
  64.         </repository>
  65.     </repositories>
  66.  
  67.     <dependencies>
  68.         <dependency>
  69.             <groupId>org.spigotmc</groupId>
  70.             <artifactId>spigot-api</artifactId>
  71.             <version>1.16.5-R0.1-SNAPSHOT</version>
  72.             <scope>provided</scope>
  73.         </dependency>
  74.         <dependency>
  75.             <groupId>org.mongodb</groupId>
  76.             <artifactId>mongodb-driver-sync</artifactId>
  77.             <version>3.9.1</version>
  78.         </dependency>
  79.  
  80.     </dependencies>
  81. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement