pom.xml 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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>eu.tankernn.accountmanager</groupId>
  5. <artifactId>eu.tankernn.accountmanager</artifactId>
  6. <version>1.0.0</version>
  7. <name>Account Manager</name>
  8. <description>A super-simple account management system.</description>
  9. <dependencies>
  10. <!-- https://mvnrepository.com/artifact/com.google.code.gson/gson -->
  11. <dependency>
  12. <groupId>com.google.code.gson</groupId>
  13. <artifactId>gson</artifactId>
  14. <version>2.7</version>
  15. </dependency>
  16. <!-- https://mvnrepository.com/artifact/commons-codec/commons-codec -->
  17. <dependency>
  18. <groupId>commons-codec</groupId>
  19. <artifactId>commons-codec</artifactId>
  20. <version>1.9</version>
  21. </dependency>
  22. <dependency>
  23. <groupId>mysql</groupId>
  24. <artifactId>mysql-connector-java</artifactId>
  25. <version>5.1.39</version>
  26. </dependency>
  27. </dependencies>
  28. <build>
  29. <finalName>${project.artifactId}-${project.version}.${build.number}</finalName>
  30. <sourceDirectory>src</sourceDirectory>
  31. <plugins>
  32. <plugin>
  33. <artifactId>maven-assembly-plugin</artifactId>
  34. <executions>
  35. <execution>
  36. <phase>package</phase>
  37. <goals>
  38. <goal>single</goal>
  39. </goals>
  40. </execution>
  41. </executions>
  42. <configuration>
  43. <finalName>${project.build.finalName}</finalName>
  44. <descriptorRefs>
  45. <descriptorRef>jar-with-dependencies</descriptorRef>
  46. </descriptorRefs>
  47. <archive>
  48. <manifest>
  49. <addClasspath>true</addClasspath>
  50. <mainClass>eu.tankernn.accounts.frame.MainFrame</mainClass>
  51. </manifest>
  52. <manifestEntries>
  53. <Implementation-Version>${build.number}</Implementation-Version>
  54. </manifestEntries>
  55. </archive>
  56. <finalName>${project.build.finalName}</finalName>
  57. <appendAssemblyId>false</appendAssemblyId>
  58. </configuration>
  59. </plugin>
  60. </plugins>
  61. </build>
  62. <properties>
  63. <maven.compiler.source>1.8</maven.compiler.source>
  64. <maven.compiler.target>1.8</maven.compiler.target>
  65. <build.number>SNAPSHOT</build.number>
  66. </properties>
  67. </project>