Advertisement
Guest User

parent pom.xml

a guest
Mar 31st, 2020
322
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.22 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>org.plugins.rpghorses</groupId>
  8.     <artifactId>RPGHorses</artifactId>
  9.     <version>1.0.0</version>
  10.     <modules>
  11.         <module>1_11_2</module>
  12.         <module>1_12_2</module>
  13.         <module>API</module>
  14.         <module>RPGHorsesPlugin</module>
  15.     </modules>
  16.     <packaging>pom</packaging>
  17.  
  18.     <name>RPGHorses</name>
  19.  
  20.     <description>Adds RPG-like horses to the game</description>
  21.     <properties>
  22.         <java.version>1.8</java.version>
  23.         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  24.     </properties>
  25.  
  26.     <build>
  27.         <defaultGoal>clean package</defaultGoal>
  28.         <plugins>
  29.             <plugin>
  30.                 <groupId>org.apache.maven.plugins</groupId>
  31.                 <artifactId>maven-compiler-plugin</artifactId>
  32.                 <version>3.7.0</version>
  33.                 <configuration>
  34.                     <source>${java.version}</source>
  35.                     <target>${java.version}</target>
  36.                 </configuration>
  37.             </plugin>
  38.             <plugin>
  39.                 <groupId>org.apache.maven.plugins</groupId>
  40.                 <artifactId>maven-shade-plugin</artifactId>
  41.                 <version>3.1.0</version>
  42.                 <executions>
  43.                     <execution>
  44.                         <phase>package</phase>
  45.                         <goals>
  46.                             <goal>shade</goal>
  47.                         </goals>
  48.                         <configuration>
  49.                             <createDependencyReducedPom>false</createDependencyReducedPom>
  50.                         </configuration>
  51.                     </execution>
  52.                 </executions>
  53.             </plugin>
  54.         </plugins>
  55.         <resources>
  56.             <resource>
  57.                 <directory>src/main/resources</directory>
  58.                 <filtering>true</filtering>
  59.             </resource>
  60.         </resources>
  61.     </build>
  62.  
  63.  
  64. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement