pom.xml 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Copyright (c) 2014 Sebastian Stenzel
  4. This file is licensed under the terms of the MIT license.
  5. See the LICENSE.txt file for more info.
  6. Contributors:
  7. Sebastian Stenzel - initial API and implementation
  8. -->
  9. <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">
  10. <modelVersion>4.0.0</modelVersion>
  11. <parent>
  12. <groupId>de.sebastianstenzel.oce</groupId>
  13. <artifactId>oce-main</artifactId>
  14. <version>0.0.1-SNAPSHOT</version>
  15. </parent>
  16. <artifactId>oce-ui</artifactId>
  17. <name>Open Cloud Encryptor GUI</name>
  18. <properties>
  19. <exec.mainClass>de.sebastianstenzel.oce.ui.MainApplication</exec.mainClass>
  20. </properties>
  21. <dependencies>
  22. <dependency>
  23. <groupId>de.sebastianstenzel.oce</groupId>
  24. <artifactId>oce-webdav</artifactId>
  25. <version>${project.parent.version}</version>
  26. </dependency>
  27. <!-- JSON -->
  28. <dependency>
  29. <groupId>com.fasterxml.jackson.core</groupId>
  30. <artifactId>jackson-databind</artifactId>
  31. </dependency>
  32. <!-- JavaFX 2 -->
  33. <dependency>
  34. <groupId>com.oracle</groupId>
  35. <artifactId>javafx</artifactId>
  36. </dependency>
  37. <!-- <dependency> -->
  38. <!-- <groupId>com.aquafx-project</groupId> -->
  39. <!-- <artifactId>aquafx</artifactId> -->
  40. <!-- <version>0.1</version> -->
  41. <!-- </dependency> -->
  42. </dependencies>
  43. <build>
  44. <plugins>
  45. <!-- allows building using the maven goal "com.zenjava:javafx-maven-plugin:jar" -->
  46. <!-- Java < 8: invoke this before your first build: http://zenjava.com/javafx/maven/fix-classpath.html -->
  47. <plugin>
  48. <groupId>com.zenjava</groupId>
  49. <artifactId>javafx-maven-plugin</artifactId>
  50. <version>2.0</version>
  51. <configuration>
  52. <mainClass>de.sebastianstenzel.oce.ui.MainWindow</mainClass>
  53. </configuration>
  54. </plugin>
  55. <plugin>
  56. <groupId>org.apache.maven.plugins</groupId>
  57. <artifactId>maven-assembly-plugin</artifactId>
  58. <configuration>
  59. <archive>
  60. <manifestEntries>
  61. <JavaFX-Version>${javafx.version}</JavaFX-Version>
  62. <JavaFX-Application-Class>${exec.mainClass}</JavaFX-Application-Class>
  63. <Main-Class>com/javafx/main/Main</Main-Class>
  64. </manifestEntries>
  65. </archive>
  66. <descriptorRefs>
  67. <descriptorRef>jar-with-dependencies</descriptorRef>
  68. </descriptorRefs>
  69. </configuration>
  70. <executions>
  71. <execution>
  72. <id>assemble-all</id>
  73. <phase>package</phase>
  74. <goals>
  75. <goal>single</goal>
  76. </goals>
  77. </execution>
  78. </executions>
  79. </plugin>
  80. </plugins>
  81. </build>
  82. </project>