Guest User

Untitled

a guest
Jun 28th, 2021
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 5.47 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.     <parent>
  6.         <artifactId>movecraft-space-parent</artifactId>
  7.         <groupId>io.github.eirikh1996</groupId>
  8.         <version>1.0</version>
  9.         <relativePath>/../pom.xml</relativePath>
  10.     </parent>
  11.     <modelVersion>4.0.0</modelVersion>
  12.  
  13.     <artifactId>Movecraft-Space</artifactId>
  14.     <version>1.4</version>
  15.  
  16.     <dependencies>
  17.         <dependency>
  18.             <groupId>io.github.eirikh1996</groupId>
  19.             <artifactId>movecraft-space-api</artifactId>
  20.             <version>API</version>
  21.             <type>jar</type>
  22.         </dependency>
  23.         <dependency>
  24.             <groupId>net.countercraft</groupId>
  25.             <artifactId>Movecraft</artifactId>
  26.             <version>7.0.0</version>
  27.             <scope>system</scope>
  28.             <systemPath>${project.basedir}/../libs/Movecraft.jar</systemPath>
  29.         </dependency>
  30.     </dependencies>
  31.     <build>
  32.         <sourceDirectory>src/main/kotlin</sourceDirectory>
  33.         <testSourceDirectory>src/test/kotlin</testSourceDirectory>
  34.         <finalName>Movecraft-Space</finalName>
  35.         <directory>../target</directory>
  36.         <resources>
  37.             <resource>
  38.                 <directory>src/main/resources</directory>
  39.                 <filtering>true</filtering>
  40.             </resource>
  41.         </resources>
  42.  
  43.         <plugins>
  44.             <plugin>
  45.                 <groupId>org.jetbrains.kotlin</groupId>
  46.                 <artifactId>kotlin-maven-plugin</artifactId>
  47.                 <version>${kotlin.version}</version>
  48.                 <executions>
  49.                     <execution>
  50.                         <id>compile</id>
  51.                         <phase>compile</phase>
  52.                         <goals>
  53.                             <goal>compile</goal>
  54.                         </goals>
  55.                     </execution>
  56.                     <execution>
  57.                         <id>test-compile</id>
  58.                         <phase>test-compile</phase>
  59.                         <goals>
  60.                             <goal>test-compile</goal>
  61.                         </goals>
  62.                     </execution>
  63.                 </executions>
  64.             </plugin>
  65.             <plugin>
  66.                 <groupId>org.apache.maven.plugins</groupId>
  67.                 <artifactId>maven-compiler-plugin</artifactId>
  68.                 <version>3.8.1</version>
  69.                 <executions>
  70.                     <execution>
  71.                         <id>default-compile</id>
  72.                         <phase>none</phase>
  73.                     </execution>
  74.                     <execution>
  75.                         <id>default-testCompile</id>
  76.                         <phase>none</phase>
  77.                     </execution>
  78.                     <execution>
  79.                         <id>java-compile</id>
  80.                         <phase>compile</phase>
  81.                         <goals> <goal>compile</goal> </goals>
  82.                     </execution>
  83.                     <execution>
  84.                         <id>java-test-compile</id>
  85.                         <phase>test-compile</phase>
  86.                         <goals> <goal>testCompile</goal> </goals>
  87.                     </execution>
  88.                 </executions>
  89.             </plugin>
  90.             <plugin>
  91.                 <groupId>org.apache.maven.plugins</groupId>
  92.                 <artifactId>maven-shade-plugin</artifactId>
  93.                 <version>3.2.2</version>
  94.                 <executions>
  95.                     <execution>
  96.                         <phase>package</phase>
  97.                         <goals>
  98.                             <goal>shade</goal>
  99.                         </goals>
  100.                         <configuration>
  101.                             <filters>
  102.                                 <filter>
  103.                                     <artifact>io.github.eirikh1996:movecraft-space-api</artifact>
  104.                                     <includes>
  105.                                         <include>**</include>
  106.                                     </includes>
  107.                                 </filter>
  108.                                 <filter>
  109.                                     <artifact>io.github.eirikh1996:movecraft-space-WE6</artifact>
  110.                                     <includes>
  111.                                         <include>**</include>
  112.                                     </includes>
  113.                                 </filter>
  114.                                 <filter>
  115.                                     <artifact>io.github.eirikh1996:movecraft-space-WE7</artifact>
  116.                                     <includes>
  117.                                         <include>**</include>
  118.                                     </includes>
  119.                                 </filter>
  120.                             </filters>
  121.                             <relocations>
  122.                                 <relocation>
  123.                                     <pattern>kotlin</pattern>
  124.                                     <shadedPattern>io.github.eirikh1996.movecraftspace</shadedPattern>
  125.                                 </relocation>
  126.                             </relocations>
  127.                         </configuration>
  128.                     </execution>
  129.                 </executions>
  130.             </plugin>
  131.         </plugins>
  132.     </build>
  133. </project>
Add Comment
Please, Sign In to add comment