You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

123 lines
3.9 KiB

10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
  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. <parent>
  5. <groupId>com.sothr.imagetools</groupId>
  6. <artifactId>Parent</artifactId>
  7. <version>1.0.0</version>
  8. <relativePath>../parent</relativePath>
  9. </parent>
  10. <artifactId>ImageTools-GUI</artifactId>
  11. <version>0.1.0</version>
  12. <packaging>jar</packaging>
  13. <name>ImageTools-GUI</name>
  14. <description>The Graphical User Interface for Image-Tools</description>
  15. <url>http://imagetools.sothr.com</url>
  16. <organization>
  17. <name>Sothr Software</name>
  18. </organization>
  19. <dependencies>
  20. <dependency>
  21. <groupId>com.sothr.imagetools</groupId>
  22. <artifactId>ImageTools-Engine</artifactId>
  23. </dependency>
  24. <dependency>
  25. <groupId>ch.qos.logback</groupId>
  26. <artifactId>logback-core</artifactId>
  27. </dependency>
  28. <dependency>
  29. <groupId>ch.qos.logback</groupId>
  30. <artifactId>logback-classic</artifactId>
  31. </dependency>
  32. <dependency>
  33. <groupId>ch.qos.logback</groupId>
  34. <artifactId>logback-access</artifactId>
  35. </dependency>
  36. <dependency>
  37. <groupId>org.slf4j</groupId>
  38. <artifactId>slf4j-api</artifactId>
  39. </dependency>
  40. <dependency>
  41. <groupId>org.clapper</groupId>
  42. <artifactId>grizzled-slf4j_${scala.binary.version}</artifactId>
  43. </dependency>
  44. <dependency>
  45. <groupId>org.scala-lang</groupId>
  46. <artifactId>scala-library</artifactId>
  47. </dependency>
  48. <dependency>
  49. <groupId>org.commonjava.googlecode.markdown4j</groupId>
  50. <artifactId>markdown4j</artifactId>
  51. </dependency>
  52. </dependencies>
  53. <build>
  54. <plugins>
  55. <!-- Packaging Configuration -->
  56. <plugin>
  57. <groupId>org.apache.maven.plugins</groupId>
  58. <artifactId>maven-jar-plugin</artifactId>
  59. <version>2.4</version>
  60. <executions>
  61. <execution>
  62. <phase>package</phase>
  63. <goals>
  64. <goal>jar</goal>
  65. </goals>
  66. <configuration>
  67. <archive>
  68. <manifest>
  69. <addClasspath>true</addClasspath>
  70. <classpathPrefix>lib/</classpathPrefix>
  71. <mainClass>com.sothr.imagetools.ui.App</mainClass>
  72. </manifest>
  73. </archive>
  74. <outputDirectory>
  75. ${project.build.directory}/release
  76. </outputDirectory>
  77. </configuration>
  78. </execution>
  79. </executions>
  80. </plugin>
  81. <plugin>
  82. <artifactId>maven-antrun-plugin</artifactId>
  83. <version>1.4</version>
  84. <executions>
  85. <execution>
  86. <id>prepare</id>
  87. <phase>process-resources</phase>
  88. <configuration>
  89. <tasks>
  90. <copy file="${project.build.directory}/version.info" toFile="${basedir}/version.info" overwrite="true"/>
  91. <copy file="${project.build.directory}/name.info" toFile="${basedir}/name.info" overwrite="true"/>
  92. <copy file="${project.build.directory}/LICENSE" toFile="${basedir}/LICENSE" overwrite="true"/>
  93. <chmod file="${project.build.directory}/startGUI.sh" perm="755"/>
  94. </tasks>
  95. </configuration>
  96. <goals>
  97. <goal>run</goal>
  98. </goals>
  99. </execution>
  100. <execution>
  101. <id>package</id>
  102. <phase>package</phase>
  103. <configuration>
  104. <tasks>
  105. <!-- set permissions on run files -->
  106. <chmod file="${project.build.directory}/release/startGUI.sh" perm="755"/>
  107. </tasks>
  108. </configuration>
  109. <goals>
  110. <goal>run</goal>
  111. </goals>
  112. </execution>
  113. </executions>
  114. </plugin>
  115. </plugins>
  116. </build>
  117. </project>