thulasi001

pom.xml

Dec 6th, 2024
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.51 KB | Software | 0 0
  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 http://maven.apache.org/maven-v4_0_0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5.  
  6. <parent>
  7. <groupId>io.mosip.preregistration</groupId>
  8. <artifactId>pre-registration-parent</artifactId>
  9. <version>1.2.0.1</version>
  10. </parent>
  11.  
  12. <artifactId>pre-registration-application-service</artifactId>
  13. <name>Pre-Registration Application Service Project</name>
  14. <description>Maven project of MOSIP Pre-Registration Service</description>
  15. <version>1.2.0.1</version>
  16. <properties>
  17. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  18. <kernel.core.version>1.2.0.1</kernel.core.version>
  19. <kernel.khazana.version>1.2.0.1</kernel.khazana.version>
  20. <kernel.idobjectvalidator.version>1.2.0.1</kernel.idobjectvalidator.version>
  21. <kernel.templatemanager.velocity.version>1.2.0.1</kernel.templatemanager.velocity.version>
  22. <kernel.qrcodegenerator.zxing.version>1.2.0.1</kernel.qrcodegenerator.zxing.version>
  23. <pre.registration.core.version>1.2.0.1</pre.registration.core.version>
  24. <io.micrometer.prometheus.version>1.4.2</io.micrometer.prometheus.version>
  25. </properties>
  26.  
  27. <dependencyManagement>
  28. <dependencies>
  29. <dependency>
  30. <groupId>org.springframework.boot</groupId>
  31. <artifactId>spring-boot-dependencies</artifactId>
  32. <version>${spring.boot.version}</version>
  33. <type>pom</type>
  34. <scope>import</scope>
  35. </dependency>
  36. <dependency>
  37. <groupId>org.projectlombok</groupId>
  38. <artifactId>lombok</artifactId>
  39. <version>${lombok.version}</version>
  40. <scope>compile</scope>
  41. </dependency>
  42. </dependencies>
  43. </dependencyManagement>
  44. <dependencies>
  45. <dependency>
  46. <groupId>io.jsonwebtoken</groupId>
  47. <artifactId>jjwt</artifactId>
  48. <version>0.6.0</version>
  49. </dependency>
  50. <dependency>
  51. <groupId>org.hamcrest</groupId>
  52. <artifactId>hamcrest</artifactId>
  53. <version>2.1</version>
  54. <scope>test</scope>
  55. </dependency>
  56. <dependency>
  57. <groupId>com.h2database</groupId>
  58. <artifactId>h2</artifactId>
  59. </dependency>
  60. <dependency>
  61. <groupId>org.springframework.cloud</groupId>
  62. <artifactId>spring-cloud-starter-config</artifactId>
  63. <version>${spring-cloud-config.version}</version>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.springframework.boot</groupId>
  67. <artifactId>spring-boot-starter-cache</artifactId>
  68. </dependency>
  69. <dependency>
  70. <groupId>net.sf.ehcache</groupId>
  71. <artifactId>ehcache</artifactId>
  72. </dependency>
  73. <dependency>
  74. <groupId>org.springframework.boot</groupId>
  75. <artifactId>spring-boot-devtools</artifactId>
  76. <scope>runtime</scope>
  77. </dependency>
  78. <dependency>
  79. <groupId>io.mosip.preregistration</groupId>
  80. <artifactId>pre-registration-core</artifactId>
  81. <version>${pre.registration.core.version}</version>
  82. </dependency>
  83. <dependency>
  84. <groupId>io.mosip.kernel</groupId>
  85. <artifactId>kernel-core</artifactId>
  86. <version>${kernel.core.version}</version>
  87. </dependency>
  88. <dependency>
  89. <groupId>io.mosip.kernel</groupId>
  90. <artifactId>kernel-virusscanner-clamav</artifactId>
  91. <version>${project.version}</version>
  92. </dependency>
  93. <dependency>
  94. <groupId>org.springframework.boot</groupId>
  95. <artifactId>spring-boot-starter-security</artifactId>
  96. </dependency>
  97. <dependency>
  98. <groupId>org.springframework.security</groupId>
  99. <artifactId>spring-security-test</artifactId>
  100. <scope>test</scope>
  101. </dependency>
  102. <dependency>
  103. <groupId>io.mosip.commons</groupId>
  104. <artifactId>khazana</artifactId>
  105. <version>${kernel.khazana.version}</version>
  106. </dependency>
  107. <dependency>
  108. <groupId>io.mosip.kernel</groupId>
  109. <artifactId>kernel-idobjectvalidator</artifactId>
  110. <version>${kernel.idobjectvalidator.version}</version>
  111. <exclusions>
  112. <exclusion>
  113. <groupId>com.fasterxml.jackson.datatype</groupId>
  114. <artifactId>jackson-datatype-jdk8</artifactId>
  115. </exclusion>
  116. </exclusions>
  117. </dependency>
  118. <dependency>
  119. <groupId>io.mosip.kernel</groupId>
  120. <artifactId>kernel-templatemanager-velocity</artifactId>
  121. <version>${kernel.templatemanager.velocity.version}</version>
  122. </dependency>
  123. <dependency>
  124. <groupId>io.mosip.kernel</groupId>
  125. <artifactId>kernel-qrcodegenerator-zxing</artifactId>
  126. <version>${kernel.qrcodegenerator.zxing.version}</version>
  127. </dependency>
  128. <dependency>
  129. <groupId>org.apache.httpcomponents</groupId>
  130. <artifactId>httpclient</artifactId>
  131. <version>${apache.httpclient.version}</version>
  132. </dependency>
  133. <dependency>
  134. <groupId>org.json</groupId>
  135. <artifactId>json</artifactId>
  136. <version>${org.json.version}</version>
  137. </dependency>
  138. <dependency>
  139. <groupId>io.micrometer</groupId>
  140. <artifactId>micrometer-core</artifactId>
  141. <version>${io.micrometer.prometheus.version}</version>
  142. </dependency>
  143. <dependency>
  144. <groupId>io.micrometer</groupId>
  145. <artifactId>micrometer-registry-prometheus</artifactId>
  146. <version>${io.micrometer.prometheus.version}</version>
  147. </dependency>
  148. <dependency>
  149. <groupId>org.springframework.boot</groupId>
  150. <artifactId>spring-boot-configuration-processor</artifactId>
  151. <version>${spring.boot.version}</version>
  152. <optional>true</optional>
  153. </dependency>
  154. </dependencies>
  155. <build>
  156. <plugins>
  157. <plugin>
  158. <groupId>org.springframework.boot</groupId>
  159. <artifactId>spring-boot-maven-plugin</artifactId>
  160. <version>${spring.boot.version}</version>
  161. <configuration>
  162. <layout>ZIP</layout>
  163. <executable>true</executable>
  164. </configuration>
  165. <executions>
  166. <execution>
  167. <goals>
  168. <goal>build-info</goal>
  169. <goal>repackage</goal>
  170. </goals>
  171. </execution>
  172. </executions>
  173. </plugin>
  174. <plugin>
  175. <artifactId>maven-jar-plugin</artifactId>
  176. <executions>
  177. <execution>
  178. <phase>package</phase>
  179. <goals>
  180. <goal>jar</goal>
  181. </goals>
  182. <configuration>
  183. <excludes>
  184. <exclude>**/*.properties</exclude>
  185. </excludes>
  186. <classifier>lib</classifier>
  187. </configuration>
  188. </execution>
  189. </executions>
  190. </plugin>
  191. </plugins>
  192. </build>
  193. <profiles>
  194. <profile>
  195. <id>openapi-doc-generate-profile</id>
  196. <dependencies>
  197. <dependency>
  198. <groupId>io.mosip.kernel</groupId>
  199. <artifactId>kernel-auth-adapter</artifactId>
  200. <version>${project.version}</version>
  201. </dependency>
  202. <dependency>
  203. <groupId>io.mosip.kernel</groupId>
  204. <artifactId>kernel-ref-idobjectvalidator</artifactId>
  205. <version>1.2.0.1</version>
  206. </dependency>
  207. <dependency>
  208. <groupId>io.mosip.kernel</groupId>
  209. <artifactId>kernel-transliteration-icu4j</artifactId>
  210. <version>1.2.0.1</version>
  211. </dependency>
  212. </dependencies>
  213. <build>
  214. <plugins>
  215. <plugin>
  216. <groupId>org.springframework.boot</groupId>
  217. <artifactId>spring-boot-maven-plugin</artifactId>
  218. <version>${spring.boot.version}</version>
  219. <configuration>
  220. <executable>true</executable>
  221. <layout>ZIP</layout>
  222. </configuration>
  223. <executions>
  224. <execution>
  225. <id>pre-integration-test</id>
  226. <goals>
  227. <goal>start</goal>
  228. </goals>
  229. <configuration>
  230. <folders>
  231. <folder>src/test/resources</folder>
  232. </folders>
  233. <profiles>
  234. <profile>mz</profile>
  235. </profiles>
  236. </configuration>
  237. </execution>
  238. <execution>
  239. <id>post-integration-test</id>
  240. <goals>
  241. <goal>stop</goal>
  242. </goals>
  243. </execution>
  244. <execution>
  245. <goals>
  246. <goal>build-info</goal>
  247. <goal>repackage</goal>
  248. </goals>
  249. </execution>
  250. </executions>
  251. </plugin>
  252. <plugin>
  253. <groupId>org.springdoc</groupId>
  254. <artifactId>springdoc-openapi-maven-plugin</artifactId>
  255. <version>0.2</version>
  256. <executions>
  257. <execution>
  258. <id>integration-test</id>
  259. <goals>
  260. <goal>generate</goal>
  261. </goals>
  262. </execution>
  263. </executions>
  264. <configuration>
  265. <apiDocsUrl>http://localhost:9090/preregistration/v1/application-service/v3/api-docs/Pre-Registration</apiDocsUrl>
  266. <outputFileName>${artifactId}-openapi.json</outputFileName>
  267. <outputDir>${project.build.directory}</outputDir>
  268. <skip>false</skip>
  269. </configuration>
  270. </plugin>
  271. </plugins>
  272. </build>
  273. </profile>
  274. </profiles>
  275. </project>
Advertisement
Add Comment
Please, Sign In to add comment