pom.xml 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  2. <modelVersion>4.0.0</modelVersion>
  3. <groupId>eu.tankernn.accountmanager</groupId>
  4. <artifactId>eu.tankernn.accountmanager</artifactId>
  5. <version>1.0.0</version>
  6. <name>Account Manager</name>
  7. <description>A super-simple account management system.</description>
  8. <dependencies>
  9. <!-- https://mvnrepository.com/artifact/org.json/json -->
  10. <dependency>
  11. <groupId>org.json</groupId>
  12. <artifactId>json</artifactId>
  13. <version>20160810</version>
  14. </dependency>
  15. </dependencies>
  16. <build>
  17. <finalName>${project.artifactId}-${project.version}.${build.number}</finalName>
  18. <sourceDirectory>src</sourceDirectory>
  19. <plugins>
  20. <plugin>
  21. <artifactId>maven-assembly-plugin</artifactId>
  22. <executions>
  23. <execution>
  24. <phase>package</phase>
  25. <goals>
  26. <goal>single</goal>
  27. </goals>
  28. <configuration>
  29. <archive>
  30. <manifest>
  31. <addClasspath>true</addClasspath>
  32. <mainClass>eu.tankernn.accounts.frame.MainFrame</mainClass>
  33. </manifest>
  34. <manifestEntries>
  35. <Implementation-Version>${build.number}</Implementation-Version>
  36. </manifestEntries>
  37. </archive>
  38. <finalName>${project.build.finalName}</finalName>
  39. <appendAssemblyId>false</appendAssemblyId>
  40. </configuration>
  41. </execution>
  42. </executions>
  43. </plugin>
  44. </plugins>
  45. </build>
  46. <properties>
  47. <maven.compiler.source>1.8</maven.compiler.source>
  48. <maven.compiler.target>1.8</maven.compiler.target>
  49. <build.number>SNAPSHOT</build.number>
  50. </properties>
  51. </project>