pom.xml 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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/org.json/json -->
  11. <dependency>
  12. <groupId>org.json</groupId>
  13. <artifactId>json</artifactId>
  14. <version>20160810</version>
  15. </dependency>
  16. </dependencies>
  17. <build>
  18. <finalName>${project.artifactId}-${project.version}.${build.number}</finalName>
  19. <sourceDirectory>src</sourceDirectory>
  20. <plugins>
  21. <plugin>
  22. <artifactId>maven-assembly-plugin</artifactId>
  23. <executions>
  24. <execution>
  25. <phase>package</phase>
  26. <goals>
  27. <goal>single</goal>
  28. </goals>
  29. </execution>
  30. </executions>
  31. <configuration>
  32. <finalName>${project.build.finalName}</finalName>
  33. <descriptorRefs>
  34. <descriptorRef>jar-with-dependencies</descriptorRef>
  35. </descriptorRefs>
  36. <archive>
  37. <manifest>
  38. <addClasspath>true</addClasspath>
  39. <mainClass>eu.tankernn.accounts.frame.MainFrame</mainClass>
  40. </manifest>
  41. <manifestEntries>
  42. <Implementation-Version>${build.number}</Implementation-Version>
  43. </manifestEntries>
  44. </archive>
  45. <finalName>${project.build.finalName}</finalName>
  46. <appendAssemblyId>false</appendAssemblyId>
  47. </configuration>
  48. </plugin>
  49. </plugins>
  50. </build>
  51. <properties>
  52. <maven.compiler.source>1.8</maven.compiler.source>
  53. <maven.compiler.target>1.8</maven.compiler.target>
  54. <build.number>SNAPSHOT</build.number>
  55. </properties>
  56. </project>