Advertisement
Guest User

Untitled

a guest
Aug 18th, 2023
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.27 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <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">
  3. <modelVersion>4.0.0</modelVersion>
  4.  
  5. <groupId>com.company.sbg.ml.spark</groupId>
  6. <artifactId>companyapp-srf-companyisoapp-handler</artifactId>
  7. <version>1.46-SNAPSHOT</version>
  8.  
  9. <parent>
  10. <groupId>com.company.sbg.ml.spark</groupId>
  11. <artifactId>companyapp-srf-companyisoapp-aggregator</artifactId>
  12. <version>1.46-SNAPSHOT</version>
  13. <relativePath>../pom.xml</relativePath>
  14. </parent>
  15.  
  16. <properties>
  17. <maven.compiler.source>8</maven.compiler.source>
  18. <maven.compiler.target>8</maven.compiler.target>
  19. <companyapp.version>1.1.166</companyapp.version>
  20. <scoverage.plugin.version>1.4.0</scoverage.plugin.version>
  21. </properties>
  22.  
  23.  
  24. <dependencies>
  25. <!--do not move these, from the top of this block-->
  26. <dependency>
  27. <groupId>org.apache.logging.log4j</groupId>
  28. <artifactId>log4j-api</artifactId>
  29. <version>2.17.1</version>
  30. </dependency>
  31. <!-- <dependency>-->
  32. <!-- <groupId>org.apache.logging.log4j</groupId>-->
  33. <!-- <artifactId>log4j-to-slf4j</artifactId>-->
  34. <!-- <version>2.17.1</version>-->
  35. <!-- </dependency>-->
  36. <dependency>
  37. <groupId>org.apache.logging.log4j</groupId>
  38. <artifactId>log4j-core</artifactId>
  39. <version>2.17.1</version>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.apache.logging.log4j</groupId>
  43. <artifactId>log4j-slf4j-impl</artifactId>
  44. <version>2.17.1</version>
  45. </dependency>
  46. <!-- <dependency>-->
  47. <!-- <groupId>org.slf4j</groupId>-->
  48. <!-- <artifactId>slf4j-api</artifactId>-->
  49. <!-- <version>1.7.32</version>-->
  50. <!-- </dependency>-->
  51. <!--do not move these, from the top of this block-->
  52. <dependency>
  53. <groupId>com.company.sbg.ml.spark</groupId>
  54. <artifactId>companyapp</artifactId>
  55. <version>${companyapp.version}</version>
  56. <exclusions>
  57. <exclusion>
  58. <groupId>org.glassfish.jersey</groupId>
  59. <artifactId>*</artifactId>
  60. </exclusion>
  61. <exclusion>
  62. <groupId>org.glassfish.jersey.containers</groupId>
  63. <artifactId>*</artifactId>
  64. </exclusion>
  65. <exclusion>
  66. <groupId>org.glassfish.jersey.core</groupId>
  67. <artifactId>*</artifactId>
  68. </exclusion>
  69. <exclusion>
  70. <groupId>org.glassfish.jersey.inject</groupId>
  71. <artifactId>*</artifactId>
  72. </exclusion>
  73. <exclusion>
  74. <groupId>org.glassfish.jersey.media</groupId>
  75. <artifactId>*</artifactId>
  76. </exclusion>
  77. <exclusion>
  78. <groupId>org.xerial.snappy</groupId>
  79. <artifactId>snappy-java</artifactId>
  80. </exclusion>
  81. <exclusion>
  82. <groupId>net.minidev</groupId>
  83. <artifactId>json-smart</artifactId>
  84. </exclusion>
  85. <exclusion>
  86. <groupId>com.fasterxml.jackson.core</groupId>
  87. <artifactId>jackson-databind</artifactId>
  88. </exclusion>
  89. <exclusion>
  90. <groupId>com.amazonaws</groupId>
  91. <artifactId>DynamoDBLocal</artifactId>
  92. </exclusion>
  93. <exclusion>
  94. <groupId>com.github.everit-org.json-schema</groupId>
  95. <artifactId>org.everit.json.schema</artifactId>
  96. </exclusion>
  97. <exclusion>
  98. <groupId>com.amazonaws</groupId>
  99. <artifactId>aws-java-sdk-bundle</artifactId>
  100. </exclusion>
  101. </exclusions>
  102. </dependency>
  103.  
  104.  
  105. <!-- https://mvnrepository.com/artifact/com.amazonaws/DynamoDBLocal -->
  106. <dependency>
  107. <groupId>com.amazonaws</groupId>
  108. <artifactId>DynamoDBLocal</artifactId>
  109. <version>1.13.2</version>
  110. <exclusions>
  111. <exclusion>
  112. <groupId>com.fasterxml.jackson.core</groupId>
  113. <artifactId>jackson-databind</artifactId>
  114. </exclusion>
  115. </exclusions>
  116. </dependency>
  117.  
  118. <dependency>
  119. <groupId>com.github.everit-org.json-schema</groupId>
  120. <artifactId>org.everit.json.schema</artifactId>
  121. <version>1.13.0</version>
  122. <exclusions>
  123. <exclusion>
  124. <groupId>org.json</groupId>
  125. <artifactId>json</artifactId>
  126. </exclusion>
  127. </exclusions>
  128. </dependency>
  129.  
  130. <!-- test dependencies -->
  131. <dependency>
  132. <groupId>com.company.sbg.ml.spark</groupId>
  133. <artifactId>companyapp-common</artifactId>
  134. <version>${companyapp.version}</version>
  135. <scope>test</scope>
  136. <type>test-jar</type>
  137. <exclusions>
  138. <exclusion>
  139. <groupId>org.glassfish.jersey</groupId>
  140. <artifactId>*</artifactId>
  141. </exclusion>
  142. <exclusion>
  143. <groupId>org.glassfish.jersey.containers</groupId>
  144. <artifactId>*</artifactId>
  145. </exclusion>
  146. <exclusion>
  147. <groupId>org.glassfish.jersey.core</groupId>
  148. <artifactId>*</artifactId>
  149. </exclusion>
  150. <exclusion>
  151. <groupId>org.glassfish.jersey.inject</groupId>
  152. <artifactId>*</artifactId>
  153. </exclusion>
  154. <exclusion>
  155. <groupId>org.glassfish.jersey.media</groupId>
  156. <artifactId>*</artifactId>
  157. </exclusion>
  158. <exclusion>
  159. <groupId>com.google.guava</groupId>
  160. <artifactId>*</artifactId>
  161. </exclusion>
  162. <exclusion>
  163. <groupId>com.datastax.dse</groupId>
  164. <artifactId>*</artifactId>
  165. </exclusion>
  166. <exclusion>
  167. <groupId>com.datastax.cassandra</groupId>
  168. <artifactId>*</artifactId>
  169. </exclusion>
  170. <exclusion>
  171. <groupId>com.fasterxml.jackson.core</groupId>
  172. <artifactId>*</artifactId>
  173. </exclusion>
  174. <exclusion>
  175. <groupId>com.fasterxml.jackson.datatype</groupId>
  176. <artifactId>*</artifactId>
  177. </exclusion>
  178. <exclusion>
  179. <groupId>org.codehaus.jackson</groupId>
  180. <artifactId>*</artifactId>
  181. </exclusion>
  182. <exclusion>
  183. <groupId>log4j</groupId>
  184. <artifactId>log4j</artifactId>
  185. </exclusion>
  186. <exclusion>
  187. <groupId>org.slf4j</groupId>
  188. <artifactId>*</artifactId>
  189. </exclusion>
  190. <exclusion>
  191. <groupId>ch.qos.logback</groupId>
  192. <artifactId>logback-classic</artifactId>
  193. </exclusion>
  194. </exclusions>
  195. </dependency>
  196.  
  197. <dependency>
  198. <groupId>org.scalactic</groupId>
  199. <artifactId>scalactic_2.11</artifactId>
  200. <version>3.0.5</version>
  201. </dependency>
  202. <dependency>
  203. <groupId>org.scalatest</groupId>
  204. <artifactId>scalatest_2.11</artifactId>
  205. <version>3.0.5</version>
  206. <scope>test</scope>
  207. </dependency>
  208. <dependency>
  209. <groupId>org.scalamock</groupId>
  210. <artifactId>scalamock_2.11</artifactId>
  211. <version>4.1.0</version>
  212. <scope>test</scope>
  213. </dependency>
  214. </dependencies>
  215.  
  216. <build>
  217. <plugins>
  218. <plugin>
  219. <groupId>net.alchim31.maven</groupId>
  220. <artifactId>scala-maven-plugin</artifactId>
  221. <version>3.3.3</version>
  222. <configuration>
  223. <recompileMode>incremental</recompileMode>
  224. </configuration>
  225. <executions>
  226. <execution>
  227. <id>scala-compile-first</id>
  228. <phase>process-resources</phase>
  229. <goals>
  230. <goal>add-source</goal>
  231. <goal>compile</goal>
  232. </goals>
  233. </execution>
  234. <execution>
  235. <id>scala-test-compile</id>
  236. <phase>process-test-resources</phase>
  237. <goals>
  238. <goal>testCompile</goal>
  239. </goals>
  240. </execution>
  241. </executions>
  242. </plugin>
  243.  
  244. <plugin>
  245. <groupId>org.scoverage</groupId>
  246. <artifactId>scoverage-maven-plugin</artifactId>
  247. <version>${scoverage.plugin.version}</version>
  248. <configuration>
  249. <excludedPackages>com.company.mlp.companyapp.spark.structured.reader.proto</excludedPackages>
  250. <scalacPluginVersion>1.4.0</scalacPluginVersion>
  251. <minimumCoverage>32</minimumCoverage>
  252. <failOnMinimumCoverage>true</failOnMinimumCoverage>
  253. </configuration>
  254. <executions>
  255. <execution>
  256. <goals>
  257. <goal>check</goal> <!-- or integration-check -->
  258. </goals>
  259. </execution>
  260. </executions>
  261. </plugin>
  262. <plugin>
  263. <groupId>org.apache.maven.plugins</groupId>
  264. <artifactId>maven-compiler-plugin</artifactId>
  265. <version>2.0.2</version>
  266. <configuration>
  267. <source>1.8</source>
  268. <target>1.8</target>
  269. <encoding>ISO-8859-1</encoding>
  270. </configuration>
  271. <executions>
  272. <execution>
  273. <phase>compile</phase>
  274. <goals>
  275. <goal>compile</goal>
  276. </goals>
  277. </execution>
  278. </executions>
  279. </plugin>
  280.  
  281. <plugin>
  282. <groupId>org.apache.maven.plugins</groupId>
  283. <artifactId>maven-enforcer-plugin</artifactId>
  284. <version>1.0</version>
  285. <executions>
  286. <execution>
  287. <goals>
  288. <goal>enforce</goal>
  289. </goals>
  290. <configuration>
  291. <rules>
  292. <bannedDependencies>
  293. <excludes>
  294. <exclude>org.slf4j:log4j-over-slf4j</exclude>
  295. </excludes>
  296. </bannedDependencies>
  297. </rules>
  298. </configuration>
  299. </execution>
  300. </executions>
  301. </plugin>
  302.  
  303. <plugin>
  304. <groupId>org.apache.maven.plugins</groupId>
  305. <artifactId>maven-surefire-plugin</artifactId>
  306. <version>2.17</version>
  307. <configuration>
  308. <skipTests>false</skipTests>
  309. <reuseForks>true</reuseForks>
  310. <argLine>-Xmx1024m -XX:MaxPermSize=256m</argLine>
  311. </configuration>
  312. </plugin>
  313.  
  314. <plugin>
  315. <groupId>org.scalatest</groupId>
  316. <artifactId>scalatest-maven-plugin</artifactId>
  317. <version>1.0</version>
  318. <configuration>
  319. <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
  320. <junitxml>.</junitxml>
  321. <filereports>WDF TestSuite.txt</filereports>
  322. </configuration>
  323. <executions>
  324. <execution>
  325. <id>test</id>
  326. <goals>
  327. <goal>test</goal>
  328. </goals>
  329. </execution>
  330. </executions>
  331. </plugin>
  332. </plugins>
  333.  
  334. </build>
  335. </project>
  336.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement