pom.xml 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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/org.json/json -->
  17. <dependency>
  18. <groupId>org.json</groupId>
  19. <artifactId>json</artifactId>
  20. <version>20160810</version>
  21. </dependency>
  22. <!-- https://mvnrepository.com/artifact/commons-codec/commons-codec -->
  23. <dependency>
  24. <groupId>commons-codec</groupId>
  25. <artifactId>commons-codec</artifactId>
  26. <version>1.9</version>
  27. </dependency>
  28. </dependencies>
  29. <build>
  30. <finalName>${project.artifactId}-${project.version}.${build.number}</finalName>
  31. <sourceDirectory>src</sourceDirectory>
  32. <plugins>
  33. <plugin>
  34. <artifactId>maven-assembly-plugin</artifactId>
  35. <executions>
  36. <execution>
  37. <phase>package</phase>
  38. <goals>
  39. <goal>single</goal>
  40. </goals>
  41. </execution>
  42. </executions>
  43. <configuration>
  44. <finalName>${project.build.finalName}</finalName>
  45. <descriptorRefs>
  46. <descriptorRef>jar-with-dependencies</descriptorRef>
  47. </descriptorRefs>
  48. <archive>
  49. <manifest>
  50. <addClasspath>true</addClasspath>
  51. <mainClass>eu.tankernn.accounts.frame.MainFrame</mainClass>
  52. </manifest>
  53. <manifestEntries>
  54. <Implementation-Version>${build.number}</Implementation-Version>
  55. </manifestEntries>
  56. </archive>
  57. <finalName>${project.build.finalName}</finalName>
  58. <appendAssemblyId>false</appendAssemblyId>
  59. </configuration>
  60. </plugin>
  61. </plugins>
  62. </build>
  63. <properties>
  64. <maven.compiler.source>1.8</maven.compiler.source>
  65. <maven.compiler.target>1.8</maven.compiler.target>
  66. <build.number>SNAPSHOT</build.number>
  67. </properties>
  68. </project>