Advertisement
coungard

pom.xml

May 6th, 2020
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.34 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6.  
  7. <groupId>com.sotas</groupId>
  8. <artifactId>TerminalClient</artifactId>
  9. <version>1.0-SNAPSHOT</version>
  10.  
  11. <packaging>jar</packaging>
  12.  
  13. <properties>
  14. <maven.compiler.source>1.7</maven.compiler.source>
  15. <maven.compiler.target>1.7</maven.compiler.target>
  16. <jdk.version>1.7</jdk.version>
  17. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  18. </properties>
  19.  
  20.  
  21. <build>
  22. <finalName>TerminalClient</finalName>
  23. <plugins>
  24. <plugin>
  25. <groupId>org.apache.maven.plugins</groupId>
  26. <artifactId>maven-compiler-plugin</artifactId>
  27. <version>3.8.1</version>
  28. <!-- <version>2.3.2</version>-->
  29. <configuration>
  30. <source>${jdk.version}</source>
  31. <target>${jdk.version}</target>
  32. </configuration>
  33. </plugin>
  34. <plugin>
  35. <groupId>org.apache.maven.plugins</groupId>
  36. <artifactId>maven-dependency-plugin</artifactId>
  37. <executions>
  38. <execution>
  39. <id>copy-dependencies</id>
  40. <phase>prepare-package</phase>
  41. <goals>
  42. <goal>copy-dependencies</goal>
  43. </goals>
  44. <configuration>
  45. <outputDirectory>${project.build.directory}/lib</outputDirectory>
  46. <overWriteReleases>false</overWriteReleases>
  47. <overWriteSnapshots>false</overWriteSnapshots>
  48. <overWriteIfNewer>true</overWriteIfNewer>
  49. </configuration>
  50. </execution>
  51. </executions>
  52. </plugin>
  53. <plugin>
  54. <groupId>org.apache.maven.plugins</groupId>
  55. <artifactId>maven-jar-plugin</artifactId>
  56. <version>3.1.2</version>
  57. <configuration>
  58. <archive>
  59. <manifest>
  60. <addClasspath>true</addClasspath>
  61. <classpathPrefix>lib</classpathPrefix>
  62. <mainClass>com.sotas.terminal.client.Launcher</mainClass>
  63. </manifest>
  64. </archive>
  65. </configuration>
  66. <executions>
  67. <execution>
  68. <phase>package</phase>
  69. </execution>
  70. </executions>
  71. </plugin>
  72. <plugin>
  73. <groupId>org.apache.maven.plugins</groupId>
  74. <artifactId>maven-install-plugin</artifactId>
  75. <version>2.4</version>
  76. <executions>
  77. <execution>
  78. <phase>initialize</phase>
  79. <goals>
  80. <goal>install-file</goal>
  81. </goals>
  82. <configuration>
  83. <file>${basedir}/legacy_lib/intelhex.jar</file>
  84. <groupId>cz.jaybee.intelhex</groupId>
  85. <artifactId>intelhex</artifactId>
  86. <version>1.0</version>
  87. <packaging>jar</packaging>
  88. </configuration>
  89. </execution>
  90. </executions>
  91. </plugin>
  92. </plugins>
  93. </build>
  94.  
  95. <dependencies>
  96. <dependency>
  97. <groupId>log4j</groupId>
  98. <artifactId>log4j</artifactId>
  99. <version>1.2.17</version>
  100. </dependency>
  101. <dependency>
  102. <groupId>commons-net</groupId>
  103. <artifactId>commons-net</artifactId>
  104. <version>3.6</version>
  105. </dependency>
  106. <dependency>
  107. <groupId>org.openpnp</groupId>
  108. <artifactId>opencv</artifactId>
  109. <version>2.4.13-0</version>
  110. </dependency>
  111. <dependency>
  112. <groupId>com.google.zxing</groupId>
  113. <artifactId>core</artifactId>
  114. <version>2.0</version>
  115. </dependency>
  116. <dependency>
  117. <groupId>org.scream3r</groupId>
  118. <artifactId>jssc</artifactId>
  119. <version>2.8.0</version>
  120. </dependency>
  121. <dependency>
  122. <groupId>junit</groupId>
  123. <artifactId>junit</artifactId>
  124. <version>4.12</version>
  125. <scope>test</scope>
  126. </dependency>
  127. <dependency>
  128. <groupId>org.rxtx</groupId>
  129. <artifactId>rxtx</artifactId>
  130. <version>2.1.7</version>
  131. </dependency>
  132. <dependency>
  133. <groupId>org.json</groupId>
  134. <artifactId>json</artifactId>
  135. <version>20140107</version>
  136. </dependency>
  137. <dependency>
  138. <groupId>org.apache.derby</groupId>
  139. <artifactId>derby</artifactId>
  140. <version>10.11.1.1</version>
  141. </dependency>
  142. <dependency>
  143. <groupId>org.apache.httpcomponents</groupId>
  144. <artifactId>httpclient</artifactId>
  145. <version>4.4.1</version>
  146. </dependency>
  147. <dependency>
  148. <groupId>org.apache.httpcomponents</groupId>
  149. <artifactId>httpmime</artifactId>
  150. <version>4.4.1</version>
  151. </dependency>
  152. <dependency>
  153. <groupId>commons-codec</groupId>
  154. <artifactId>commons-codec</artifactId>
  155. <version>1.10</version>
  156. </dependency>
  157. <dependency>
  158. <groupId>com.fasterxml.jackson.core</groupId>
  159. <artifactId>jackson-databind</artifactId>
  160. <version>2.3.2</version>
  161. </dependency>
  162.  
  163. <dependency>
  164. <groupId>cz.jaybee.intelhex</groupId>
  165. <artifactId>intelhex</artifactId>
  166. <version>1.0</version>
  167. </dependency>
  168. </dependencies>
  169.  
  170. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement