ymahtat-dev

pre-registration-application-service - pom.xml

Dec 9th, 2024
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.30 KB | None | 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>org.springframework.boot</groupId>
  90. <artifactId>spring-boot-starter-security</artifactId>
  91. </dependency>
  92. <dependency>
  93. <groupId>org.springframework.security</groupId>
  94. <artifactId>spring-security-test</artifactId>
  95. <scope>test</scope>
  96. </dependency>
  97. <dependency>
  98. <groupId>io.mosip.commons</groupId>
  99. <artifactId>khazana</artifactId>
  100. <version>${kernel.khazana.version}</version>
  101. </dependency>
  102. <dependency>
  103. <groupId>io.mosip.kernel</groupId>
  104. <artifactId>kernel-idobjectvalidator</artifactId>
  105. <version>${kernel.idobjectvalidator.version}</version>
  106. <exclusions>
  107. <exclusion>
  108. <groupId>com.fasterxml.jackson.datatype</groupId>
  109. <artifactId>jackson-datatype-jdk8</artifactId>
  110. </exclusion>
  111. </exclusions>
  112. </dependency>
  113. <dependency>
  114. <groupId>io.mosip.kernel</groupId>
  115. <artifactId>kernel-templatemanager-velocity</artifactId>
  116. <version>${kernel.templatemanager.velocity.version}</version>
  117. </dependency>
  118. <dependency>
  119. <groupId>io.mosip.kernel</groupId>
  120. <artifactId>kernel-qrcodegenerator-zxing</artifactId>
  121. <version>${kernel.qrcodegenerator.zxing.version}</version>
  122. </dependency>
  123. <dependency>
  124. <groupId>org.apache.httpcomponents</groupId>
  125. <artifactId>httpclient</artifactId>
  126. <version>${apache.httpclient.version}</version>
  127. </dependency>
  128. <dependency>
  129. <groupId>org.json</groupId>
  130. <artifactId>json</artifactId>
  131. <version>${org.json.version}</version>
  132. </dependency>
  133. <dependency>
  134. <groupId>io.micrometer</groupId>
  135. <artifactId>micrometer-core</artifactId>
  136. <version>${io.micrometer.prometheus.version}</version>
  137. </dependency>
  138. <dependency>
  139. <groupId>io.micrometer</groupId>
  140. <artifactId>micrometer-registry-prometheus</artifactId>
  141. <version>${io.micrometer.prometheus.version}</version>
  142. </dependency>
  143. <dependency>
  144. <groupId>org.springframework.boot</groupId>
  145. <artifactId>spring-boot-configuration-processor</artifactId>
  146. <version>${spring.boot.version}</version>
  147. <optional>true</optional>
  148. </dependency>
  149. <dependency>
  150. <groupId>io.mosip.kernel</groupId>
  151. <artifactId>kernel-auth-adapter</artifactId>
  152. <version>${project.version}</version>
  153. </dependency>
  154. <dependency>
  155. <groupId>io.mosip.kernel</groupId>
  156. <artifactId>kernel-transliteration-icu4j</artifactId>
  157. <version>${project.version}</version>
  158. </dependency>
  159. <dependency>
  160. <groupId>io.mosip.kernel</groupId>
  161. <artifactId>kernel-ref-idobjectvalidator</artifactId>
  162. <version>${project.version}</version>
  163. </dependency>
  164. <dependency>
  165. <groupId>io.mosip.kernel</groupId>
  166. <artifactId>kernel-virusscanner-clamav</artifactId>
  167. <version>${project.version}</version>
  168. </dependency>
  169. </dependencies>
  170. <build>
  171. <plugins>
  172. <plugin>
  173. <groupId>org.springframework.boot</groupId>
  174. <artifactId>spring-boot-maven-plugin</artifactId>
  175. <version>${spring.boot.version}</version>
  176. <configuration>
  177. <layout>ZIP</layout>
  178. <executable>true</executable>
  179. </configuration>
  180. <executions>
  181. <execution>
  182. <goals>
  183. <goal>build-info</goal>
  184. <goal>repackage</goal>
  185. </goals>
  186. </execution>
  187. </executions>
  188. </plugin>
  189. <plugin>
  190. <artifactId>maven-jar-plugin</artifactId>
  191. <executions>
  192. <execution>
  193. <phase>package</phase>
  194. <goals>
  195. <goal>jar</goal>
  196. </goals>
  197. <configuration>
  198. <excludes>
  199. <exclude>**/*.properties</exclude>
  200. </excludes>
  201. <classifier>lib</classifier>
  202. </configuration>
  203. </execution>
  204. </executions>
  205. </plugin>
  206. </plugins>
  207. </build>
  208. <profiles>
  209. <profile>
  210. <id>openapi-doc-generate-profile</id>
  211. <dependencies>
  212. <dependency>
  213. <groupId>io.mosip.kernel</groupId>
  214. <artifactId>kernel-auth-adapter</artifactId>
  215. <version>${project.version}</version>
  216. </dependency>
  217. <dependency>
  218. <groupId>io.mosip.kernel</groupId>
  219. <artifactId>kernel-ref-idobjectvalidator</artifactId>
  220. <version>1.2.0.1</version>
  221. </dependency>
  222. <dependency>
  223. <groupId>io.mosip.kernel</groupId>
  224. <artifactId>kernel-transliteration-icu4j</artifactId>
  225. <version>1.2.0.1</version>
  226. </dependency>
  227. </dependencies>
  228. <build>
  229. <plugins>
  230. <plugin>
  231. <groupId>org.springframework.boot</groupId>
  232. <artifactId>spring-boot-maven-plugin</artifactId>
  233. <version>${spring.boot.version}</version>
  234. <configuration>
  235. <executable>true</executable>
  236. <layout>ZIP</layout>
  237. </configuration>
  238. <executions>
  239. <execution>
  240. <id>pre-integration-test</id>
  241. <goals>
  242. <goal>start</goal>
  243. </goals>
  244. <configuration>
  245. <folders>
  246. <folder>src/test/resources</folder>
  247. </folders>
  248. <profiles>
  249. <profile>mz</profile>
  250. </profiles>
  251. </configuration>
  252. </execution>
  253. <execution>
  254. <id>post-integration-test</id>
  255. <goals>
  256. <goal>stop</goal>
  257. </goals>
  258. </execution>
  259. <execution>
  260. <goals>
  261. <goal>build-info</goal>
  262. <goal>repackage</goal>
  263. </goals>
  264. </execution>
  265. </executions>
  266. </plugin>
  267. <plugin>
  268. <groupId>org.springdoc</groupId>
  269. <artifactId>springdoc-openapi-maven-plugin</artifactId>
  270. <version>0.2</version>
  271. <executions>
  272. <execution>
  273. <id>integration-test</id>
  274. <goals>
  275. <goal>generate</goal>
  276. </goals>
  277. </execution>
  278. </executions>
  279. <configuration>
  280. <apiDocsUrl>
  281. http://localhost:9090/preregistration/v1/application-service/v3/api-docs/Pre-Registration
  282. </apiDocsUrl>
  283. <outputFileName>${artifactId}-openapi.json</outputFileName>
  284. <outputDir>${project.build.directory}</outputDir>
  285. <skip>false</skip>
  286. </configuration>
  287. </plugin>
  288. </plugins>
  289. </build>
  290. </profile>
  291. </profiles>
  292. </project>
  293.  
Advertisement
Add Comment
Please, Sign In to add comment