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.

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