pom.xml 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196
  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>de.mcs.tools.sps</groupId>
  5. <artifactId>SPSEmulator</artifactId>
  6. <version>0.0.1-SNAPSHOT</version>
  7. <name>${project.groupId}:${project.artifactId}</name>
  8. <url>http://www.wk-music.de</url>
  9. <description>SPS Emulator wirtten in java.</description>
  10. <licenses>
  11. <license>
  12. <name>The Apache License, Version 2.0</name>
  13. <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
  14. </license>
  15. </licenses>
  16. <developers>
  17. <developer>
  18. <name>Wilfried Klaas</name>
  19. <email>w.klaas@gmx.de</email>
  20. <organization>MCS</organization>
  21. <organizationUrl>http://www.wk-music.de</organizationUrl>
  22. </developer>
  23. </developers>
  24. <properties>
  25. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  26. <timestamp>${maven.build.timestamp}</timestamp>
  27. <maven.build.timestamp.format>dd.mm.yyyy HH:mm</maven.build.timestamp.format>
  28. <jackson.version>2.8.5</jackson.version>
  29. </properties>
  30. <build>
  31. <plugins>
  32. <plugin>
  33. <artifactId>maven-compiler-plugin</artifactId>
  34. <version>3.3</version>
  35. <configuration>
  36. <source>1.8</source>
  37. <target>1.8</target>
  38. </configuration>
  39. </plugin>
  40. <plugin>
  41. <groupId>org.apache.maven.plugins</groupId>
  42. <artifactId>maven-surefire-plugin</artifactId>
  43. <version>2.19.1</version>
  44. <dependencies>
  45. <dependency>
  46. <groupId>org.junit.platform</groupId>
  47. <artifactId>junit-platform-surefire-provider</artifactId>
  48. <version>1.1.0</version>
  49. </dependency>
  50. <dependency>
  51. <groupId>org.junit.jupiter</groupId>
  52. <artifactId>junit-jupiter-engine</artifactId>
  53. <version>5.1.0</version>
  54. </dependency>
  55. </dependencies>
  56. </plugin>
  57. <plugin>
  58. <groupId>org.apache.maven.plugins</groupId>
  59. <artifactId>maven-jar-plugin</artifactId>
  60. <version>2.6</version>
  61. <configuration>
  62. <archive>
  63. <manifest>
  64. <mainClass>de.mcs.tools.sps.SPSAssembler</mainClass>
  65. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  66. <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
  67. </manifest>
  68. <manifestEntries>
  69. <Build-Time>${maven.build.timestamp}</Build-Time>
  70. <Application-Name>SPSTools</Application-Name>
  71. <Application-Update-Id>72</Application-Update-Id>
  72. <Application-Update-Url>http\://wkla.no-ip.biz/downloader/version.php?ID\=73</Application-Update-Url>
  73. <Application-Url>http\://wkla.no-ip.biz/</Application-Url>
  74. <Implementation-Vendor>MCS, Media Computer Software</Implementation-Vendor>
  75. </manifestEntries>
  76. </archive>
  77. </configuration>
  78. </plugin>
  79. <plugin>
  80. <groupId>org.apache.maven.plugins</groupId>
  81. <artifactId>maven-shade-plugin</artifactId>
  82. <version>2.4.1</version>
  83. <executions>
  84. <execution>
  85. <phase>package</phase>
  86. <goals>
  87. <goal>shade</goal>
  88. </goals>
  89. <!-- <configuration> <transformers> <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
  90. <mainClass></mainClass> </transformer> </transformers> </configuration> -->
  91. </execution>
  92. </executions>
  93. </plugin>
  94. <plugin>
  95. <groupId>com.akathist.maven.plugins.launch4j</groupId>
  96. <artifactId>launch4j-maven-plugin</artifactId>
  97. <version>1.7.24</version>
  98. <executions>
  99. <execution>
  100. <id>l4j-clui</id>
  101. <phase>package</phase>
  102. <goals>
  103. <goal>launch4j</goal>
  104. </goals>
  105. <configuration>
  106. <dontWrapJar>false</dontWrapJar>
  107. <headerType>console</headerType>
  108. <jar>${project.build.directory}/${project.artifactId}-${project.version}.jar</jar>
  109. <outfile>${project.build.directory}/MCSSPSTools.exe</outfile>
  110. <downloadUrl>http://java.com/download</downloadUrl>
  111. <!-- <classPath> <mainClass>com.howtodoinjava.ApplicationMain</mainClass> <preCp>anything</preCp> </classPath> -->
  112. <icon>src\main\resources\MSA.ico</icon>
  113. <jre>
  114. <path>/jre</path>
  115. <minVersion>1.8.0</minVersion>
  116. <jdkPreference>jreOnly</jdkPreference>
  117. </jre>
  118. <versionInfo>
  119. <fileVersion>1.0.0.0</fileVersion>
  120. <txtFileVersion>${project.version}</txtFileVersion>
  121. <fileDescription>${project.name}</fileDescription>
  122. <copyright>2018 MCS</copyright>
  123. <productVersion>1.0.0.0</productVersion>
  124. <txtProductVersion>1.0.0.0</txtProductVersion>
  125. <productName>${project.name}</productName>
  126. <companyName>MCS</companyName>
  127. <internalName>MCSSPSTools</internalName>
  128. <originalFilename>MCSSPSTools.exe</originalFilename>
  129. </versionInfo>
  130. </configuration>
  131. </execution>
  132. </executions>
  133. </plugin>
  134. </plugins>
  135. </build>
  136. <dependencies>
  137. <dependency>
  138. <groupId>net.sourceforge.jmeasurement2</groupId>
  139. <artifactId>MCSUtils</artifactId>
  140. <version>1.0.151-SNAPSHOT</version>
  141. </dependency>
  142. <dependency>
  143. <groupId>org.junit.jupiter</groupId>
  144. <artifactId>junit-jupiter-api</artifactId>
  145. <version>5.1.0</version>
  146. <scope>test</scope>
  147. </dependency>
  148. <dependency>
  149. <groupId>commons-io</groupId>
  150. <artifactId>commons-io</artifactId>
  151. <version>2.5</version>
  152. </dependency>
  153. <dependency>
  154. <groupId>net.sourceforge.jmeasurement2</groupId>
  155. <artifactId>JMeasurement</artifactId>
  156. <version>1.1.225</version>
  157. </dependency>
  158. <dependency>
  159. <groupId>com.fasterxml.jackson.core</groupId>
  160. <artifactId>jackson-core</artifactId>
  161. <version>${jackson.version}</version>
  162. </dependency>
  163. <dependency>
  164. <groupId>com.fasterxml.jackson.core</groupId>
  165. <artifactId>jackson-annotations</artifactId>
  166. <version>${jackson.version}</version>
  167. </dependency>
  168. <dependency>
  169. <groupId>com.fasterxml.jackson.core</groupId>
  170. <artifactId>jackson-databind</artifactId>
  171. <version>${jackson.version}</version>
  172. </dependency>
  173. <dependency>
  174. <groupId>com.fasterxml.jackson.dataformat</groupId>
  175. <artifactId>jackson-dataformat-yaml</artifactId>
  176. <version>${jackson.version}</version>
  177. </dependency>
  178. <dependency>
  179. <groupId>log4j</groupId>
  180. <artifactId>log4j</artifactId>
  181. <version>1.2.17</version>
  182. </dependency>
  183. <dependency>
  184. <groupId>com.martiansoftware</groupId>
  185. <artifactId>jsap</artifactId>
  186. <version>2.1</version>
  187. </dependency>
  188. <dependency>
  189. <groupId>org.apache.commons</groupId>
  190. <artifactId>commons-lang3</artifactId>
  191. <version>3.4</version>
  192. </dependency>
  193. </dependencies>
  194. </project>