pom.xml 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191
  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. <finalName>${project.artifactId}</finalName>
  79. <archive>
  80. <manifest>
  81. <mainClass>de.mcs.tools.sps.SPSAssembler</mainClass>
  82. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  83. <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
  84. </manifest>
  85. <manifestEntries>
  86. <Build-Time>${maven.build.timestamp}</Build-Time>
  87. <Application-Name>SPSAssembler</Application-Name>
  88. <Application-Update-Id>72</Application-Update-Id>
  89. <Application-Update-Url>http\://wkla.no-ip.biz/downloader/version.php?ID\=73</Application-Update-Url>
  90. <Application-Url>http\://wkla.no-ip.biz/</Application-Url>
  91. <Implementation-Vendor>MCS, Media Computer Software</Implementation-Vendor>
  92. </manifestEntries>
  93. </archive>
  94. </configuration>
  95. </plugin>
  96. <plugin>
  97. <groupId>org.apache.maven.plugins</groupId>
  98. <artifactId>maven-shade-plugin</artifactId>
  99. <version>2.4.1</version>
  100. <configuration>
  101. <createDependencyReducedPom>true</createDependencyReducedPom>
  102. <filters>
  103. <filter>
  104. <artifact>*:*</artifact>
  105. <excludes>
  106. <exclude>META-INF/*.SF</exclude>
  107. <exclude>META-INF/*.DSA</exclude>
  108. <exclude>META-INF/*.RSA</exclude>
  109. </excludes>
  110. </filter>
  111. </filters>
  112. </configuration>
  113. <executions>
  114. <execution>
  115. <phase>package</phase>
  116. <goals>
  117. <goal>shade</goal>
  118. </goals>
  119. <configuration>
  120. <transformers>
  121. <transformer
  122. implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" />
  123. <transformer
  124. implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
  125. <mainClass>de.mcs.tools.sps.service.AsmApplication</mainClass>
  126. </transformer>
  127. </transformers>
  128. </configuration>
  129. <!-- <configuration> <transformers> <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
  130. <mainClass></mainClass> </transformer> </transformers> </configuration> -->
  131. </execution>
  132. </executions>
  133. </plugin>
  134. </plugins>
  135. </build>
  136. <dependencies>
  137. <dependency>
  138. <groupId>io.dropwizard</groupId>
  139. <artifactId>dropwizard-core</artifactId>
  140. </dependency>
  141. <dependency>
  142. <groupId>net.sourceforge.jmeasurement2</groupId>
  143. <artifactId>MCSUtils</artifactId>
  144. <version>1.0.152</version>
  145. </dependency>
  146. <dependency>
  147. <groupId>org.junit.jupiter</groupId>
  148. <artifactId>junit-jupiter-api</artifactId>
  149. <version>5.1.0</version>
  150. </dependency>
  151. <dependency>
  152. <groupId>commons-io</groupId>
  153. <artifactId>commons-io</artifactId>
  154. <version>2.5</version>
  155. </dependency>
  156. <dependency>
  157. <groupId>net.sourceforge.jmeasurement2</groupId>
  158. <artifactId>JMeasurement</artifactId>
  159. <version>1.1.225</version>
  160. </dependency>
  161. <dependency>
  162. <groupId>log4j</groupId>
  163. <artifactId>log4j</artifactId>
  164. <version>1.2.17</version>
  165. </dependency>
  166. <dependency>
  167. <groupId>com.martiansoftware</groupId>
  168. <artifactId>jsap</artifactId>
  169. <version>2.1</version>
  170. </dependency>
  171. <dependency>
  172. <groupId>org.apache.commons</groupId>
  173. <artifactId>commons-lang3</artifactId>
  174. <version>3.4</version>
  175. </dependency>
  176. <dependency>
  177. <groupId>org.reflections</groupId>
  178. <artifactId>reflections</artifactId>
  179. <version>0.9.10</version>
  180. </dependency>
  181. <dependency>
  182. <groupId>com.google.guava</groupId>
  183. <artifactId>guava</artifactId>
  184. <version>27.0.1-jre</version>
  185. </dependency>
  186. </dependencies>
  187. </project>