pom.xml 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  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. <!-- annotations from the Checker Framework: nullness, interning, locking,
  35. ...
  36. <dependency>
  37. <groupId>org.checkerframework</groupId>
  38. <artifactId>checker-qual</artifactId>
  39. <version>2.1.8</version>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.checkerframework</groupId>
  43. <artifactId>checker</artifactId>
  44. <version>2.1.8</version>
  45. </dependency>
  46. -->
  47. <!-- The type annotations compiler - uncomment if desired -->
  48. <!-- <dependency> <groupId>org.checkerframework</groupId> <artifactId>compiler</artifactId>
  49. <version>2.1.8</version> </dependency> -->
  50. <!-- The annotated JDK to use (change to jdk7 if using Java 7) -->
  51. <dependency>
  52. <groupId>org.checkerframework</groupId>
  53. <artifactId>jdk8</artifactId>
  54. <version>2.1.8</version>
  55. </dependency>
  56. </dependencies>
  57. <build>
  58. <finalName>${project.artifactId}-${project.version}.${build.number}</finalName>
  59. <plugins>
  60. <plugin>
  61. <artifactId>maven-compiler-plugin</artifactId>
  62. <version>3.3</version>
  63. <configuration>
  64. <!-- Change source and target to 1.7 if using Java 7 -->
  65. <source>1.8</source>
  66. <target>1.8</target>
  67. <fork>true</fork>
  68. <!--
  69. <annotationProcessors>
  70. <annotationProcessor>org.checkerframework.checker.nullness.NullnessChecker</annotationProcessor>
  71. </annotationProcessors>
  72. <compilerArgs>
  73. <arg>-Xbootclasspath/p:${annotatedJdk}</arg>
  74. </compilerArgs>
  75. -->
  76. </configuration>
  77. </plugin>
  78. <plugin>
  79. <artifactId>maven-assembly-plugin</artifactId>
  80. <executions>
  81. <execution>
  82. <phase>package</phase>
  83. <goals>
  84. <goal>single</goal>
  85. </goals>
  86. </execution>
  87. </executions>
  88. <configuration>
  89. <finalName>${project.build.finalName}</finalName>
  90. <descriptorRefs>
  91. <descriptorRef>jar-with-dependencies</descriptorRef>
  92. </descriptorRefs>
  93. <archive>
  94. <manifest>
  95. <addClasspath>true</addClasspath>
  96. <mainClass>eu.tankernn.accounts.frame.MainFrame</mainClass>
  97. </manifest>
  98. <manifestEntries>
  99. <Implementation-Version>${build.number}</Implementation-Version>
  100. </manifestEntries>
  101. </archive>
  102. <finalName>${project.build.finalName}</finalName>
  103. <appendAssemblyId>false</appendAssemblyId>
  104. </configuration>
  105. </plugin>
  106. <plugin>
  107. <groupId>org.jacoco</groupId>
  108. <artifactId>jacoco-maven-plugin</artifactId>
  109. <version>0.7.7.201606060606</version>
  110. <executions>
  111. <execution>
  112. <goals>
  113. <goal>prepare-agent</goal>
  114. </goals>
  115. </execution>
  116. <execution>
  117. <id>report</id>
  118. <phase>test</phase>
  119. <goals>
  120. <goal>report</goal>
  121. </goals>
  122. </execution>
  123. </executions>
  124. </plugin>
  125. </plugins>
  126. </build>
  127. <properties>
  128. <!-- <annotatedJdk>${org.checkerframework:jdk8:jar}</annotatedJdk> -->
  129. <build.number>SNAPSHOT</build.number>
  130. </properties>
  131. </project>