pom.xml 7.4 KB

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