pom.xml 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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. </dependencies>
  23. <build>
  24. <finalName>${project.artifactId}-${project.version}.${build.number}</finalName>
  25. <sourceDirectory>src</sourceDirectory>
  26. <plugins>
  27. <plugin>
  28. <artifactId>maven-assembly-plugin</artifactId>
  29. <executions>
  30. <execution>
  31. <phase>package</phase>
  32. <goals>
  33. <goal>single</goal>
  34. </goals>
  35. </execution>
  36. </executions>
  37. <configuration>
  38. <finalName>${project.build.finalName}</finalName>
  39. <descriptorRefs>
  40. <descriptorRef>jar-with-dependencies</descriptorRef>
  41. </descriptorRefs>
  42. <archive>
  43. <manifest>
  44. <addClasspath>true</addClasspath>
  45. <mainClass>eu.tankernn.accounts.frame.MainFrame</mainClass>
  46. </manifest>
  47. <manifestEntries>
  48. <Implementation-Version>${build.number}</Implementation-Version>
  49. </manifestEntries>
  50. </archive>
  51. <finalName>${project.build.finalName}</finalName>
  52. <appendAssemblyId>false</appendAssemblyId>
  53. </configuration>
  54. </plugin>
  55. </plugins>
  56. </build>
  57. <properties>
  58. <maven.compiler.source>1.8</maven.compiler.source>
  59. <maven.compiler.target>1.8</maven.compiler.target>
  60. <build.number>SNAPSHOT</build.number>
  61. </properties>
  62. </project>