pom.xml 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>com.l2jserver</groupId>
  5. <artifactId>l2j-server-datapack</artifactId>
  6. <version>1.7.0.0-SNAPSHOT</version>
  7. <name>L2J DataPack</name>
  8. <properties>
  9. <maven.compiler.source>17</maven.compiler.source>
  10. <maven.compiler.target>17</maven.compiler.target>
  11. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  12. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  13. <!-- Plugins -->
  14. <maven-jar-plugin.version>3.3.0</maven-jar-plugin.version>
  15. <maven-assembly-plugin.version>3.4.2</maven-assembly-plugin.version>
  16. </properties>
  17. <dependencies>
  18. </dependencies>
  19. <build>
  20. <plugins>
  21. <plugin>
  22. <groupId>org.apache.maven.plugins</groupId>
  23. <artifactId>maven-jar-plugin</artifactId>
  24. <version>${maven-jar-plugin.version}</version>
  25. <executions>
  26. <execution>
  27. <id>default-jar</id>
  28. <phase>never</phase>
  29. <configuration>
  30. <finalName>unwanted</finalName>
  31. <classifier>unwanted</classifier>
  32. </configuration>
  33. </execution>
  34. </executions>
  35. </plugin>
  36. <plugin>
  37. <groupId>org.apache.maven.plugins</groupId>
  38. <artifactId>maven-assembly-plugin</artifactId>
  39. <version>${maven-assembly-plugin.version}</version><!-- $NO-MVN-MAN-VER$ -->
  40. <executions>
  41. <execution>
  42. <phase>package</phase>
  43. <goals>
  44. <goal>single</goal>
  45. </goals>
  46. <configuration>
  47. <finalName>${project.artifactId}-${project.version}</finalName>
  48. <appendAssemblyId>false</appendAssemblyId>
  49. <descriptors>
  50. <descriptor>src/main/assembly/zip.xml</descriptor>
  51. </descriptors>
  52. </configuration>
  53. </execution>
  54. </executions>
  55. </plugin>
  56. </plugins>
  57. </build>
  58. </project>