pom.xml 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  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. <!-- https://mvnrepository.com/artifact/junit/junit -->
  28. <dependency>
  29. <groupId>junit</groupId>
  30. <artifactId>junit</artifactId>
  31. <version>4.12</version>
  32. <scope>test</scope>
  33. </dependency>
  34. </dependencies>
  35. <build>
  36. <finalName>${project.artifactId}-${project.version}.${build.number}</finalName>
  37. <plugins>
  38. <plugin>
  39. <artifactId>maven-assembly-plugin</artifactId>
  40. <executions>
  41. <execution>
  42. <phase>package</phase>
  43. <goals>
  44. <goal>single</goal>
  45. </goals>
  46. </execution>
  47. </executions>
  48. <configuration>
  49. <finalName>${project.build.finalName}</finalName>
  50. <descriptorRefs>
  51. <descriptorRef>jar-with-dependencies</descriptorRef>
  52. </descriptorRefs>
  53. <archive>
  54. <manifest>
  55. <addClasspath>true</addClasspath>
  56. <mainClass>eu.tankernn.accounts.frame.MainFrame</mainClass>
  57. </manifest>
  58. <manifestEntries>
  59. <Implementation-Version>${build.number}</Implementation-Version>
  60. </manifestEntries>
  61. </archive>
  62. <finalName>${project.build.finalName}</finalName>
  63. <appendAssemblyId>false</appendAssemblyId>
  64. </configuration>
  65. </plugin>
  66. <plugin>
  67. <groupId>org.jacoco</groupId>
  68. <artifactId>jacoco-maven-plugin</artifactId>
  69. <version>0.7.7.201606060606</version>
  70. <executions>
  71. <execution>
  72. <goals>
  73. <goal>prepare-agent</goal>
  74. </goals>
  75. </execution>
  76. <execution>
  77. <id>report</id>
  78. <phase>test</phase>
  79. <goals>
  80. <goal>report</goal>
  81. </goals>
  82. </execution>
  83. </executions>
  84. </plugin>
  85. </plugins>
  86. </build>
  87. <properties>
  88. <maven.compiler.source>1.8</maven.compiler.source>
  89. <maven.compiler.target>1.8</maven.compiler.target>
  90. <build.number>SNAPSHOT</build.number>
  91. </properties>
  92. </project>