pom.xml 5.9 KB

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