Advertisement
Guest User

Untitled

a guest
Sep 15th, 2019
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.75 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>net.elorion.games</groupId>
  8. <artifactId>ElGames</artifactId>
  9. <version>1.0-SNAPSHOT</version>
  10.  
  11. <properties>
  12. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  13. </properties>
  14.  
  15. <repositories>
  16. <repository>
  17. <id>jcenter</id>
  18. <name>jcenter-bintray</name>
  19. <url>http://jcenter.bintray.com</url>
  20. </repository>
  21. </repositories>
  22.  
  23. <build>
  24. <finalName>${project.name}</finalName>
  25. <resources>
  26. <resource>
  27. <directory>src/main/resources</directory>
  28. <filtering>true</filtering>
  29. <includes>
  30. <include>project.properties</include>
  31. </includes>
  32. </resource>
  33. </resources>
  34. <plugins>
  35. <plugin>
  36. <artifactId>maven-compiler-plugin</artifactId>
  37. <version>3.8.0</version>
  38. <configuration>
  39. <source>1.8</source>
  40. <target>1.8</target>
  41. <showDeprecation>false</showDeprecation>
  42. <showWarnings>false</showWarnings>
  43. <compilerArgs>
  44. <arg>-parameters</arg>
  45. </compilerArgs>
  46. </configuration>
  47. </plugin>
  48. <plugin>
  49. <groupId>org.apache.maven.plugins</groupId>
  50. <artifactId>maven-shade-plugin</artifactId>
  51. <version>3.2.1</version>
  52. <executions>
  53. <execution>
  54. <phase>package</phase>
  55. <goals>
  56. <goal>shade</goal>
  57. </goals>
  58. </execution>
  59. </executions>
  60. </plugin>
  61. <plugin>
  62. <groupId>org.apache.maven.plugins</groupId>
  63. <artifactId>maven-jar-plugin</artifactId>
  64. <version>3.1.1</version>
  65. <configuration>
  66. <archive>
  67. <manifestEntries>
  68. <Main-Class>me.violet.elgames.Elorion</Main-Class>
  69. <Timestamp>${maven.build.timestamp}</Timestamp>
  70. </manifestEntries>
  71. </archive>
  72. </configuration>
  73. </plugin>
  74. </plugins>
  75. </build>
  76. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement