Advertisement
Guest User

Untitled

a guest
Dec 17th, 2023
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 50.59 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"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
  4. https://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6.  
  7. <groupId>br.com.sonartrip.intern</groupId>
  8. <artifactId>internsonartripbackend</artifactId>
  9. <version>0.0.1-SNAPSHOT</version>
  10. <packaging>jar</packaging>
  11. <name>Intern SonarTrip Backend</name>
  12.  
  13. <properties>
  14. <!--
  15. Build properties
  16. The spring-boot version should match the one managed by https://mvnrepository.com/artifact/tech.jhipster/jhipster-dependencies/${jhipster-dependencies.version}
  17. -->
  18. <maven.version>3.2.5</maven.version>
  19. <java.version>17</java.version>
  20. <node.version>v18.18.2</node.version>
  21. <npm.version>10.2.2</npm.version>
  22. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  23. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  24. <maven.build.timestamp.format>yyyyMMddHHmmss</maven.build.timestamp.format>
  25. <maven.compiler.source>${java.version}</maven.compiler.source>
  26. <maven.compiler.target>${java.version}</maven.compiler.target>
  27. <start-class>br.com.sonartrip.intern.InternSonarTripBackendApp</start-class>
  28. <argLine>-Djava.security.egd=file:/dev/./urandom -Xmx1G</argLine>
  29. <m2e.apt.activation>jdt_apt</m2e.apt.activation>
  30. <run.addResources>false</run.addResources>
  31. <jhipster-dependencies.version>8.0.0</jhipster-dependencies.version>
  32. <spring-boot.version>3.1.5</spring-boot.version>
  33. <archunit-junit5.version>1.1.0</archunit-junit5.version>
  34. <checkstyle.version>10.12.4</checkstyle.version>
  35. <checksum-maven-plugin.version>1.11</checksum-maven-plugin.version>
  36. <frontend-maven-plugin.version>1.14.2</frontend-maven-plugin.version>
  37. <git-commit-id-maven-plugin.version>7.0.0</git-commit-id-maven-plugin.version>
  38. <hibernate.version>6.2.13.Final</hibernate.version>
  39. <jacoco-maven-plugin.version>0.8.11</jacoco-maven-plugin.version>
  40. <jaxb-runtime.version>4.0.4</jaxb-runtime.version>
  41. <jib-maven-plugin.architecture>amd64</jib-maven-plugin.architecture>
  42. <jib-maven-plugin.image>eclipse-temurin:17-jre-focal</jib-maven-plugin.image>
  43. <jib-maven-plugin.version>3.4.0</jib-maven-plugin.version>
  44. <lifecycle-mapping.version>1.0.0</lifecycle-mapping.version>
  45. <liquibase-plugin.password/>
  46. <liquibase-plugin.url/>
  47. <liquibase-plugin.username/>
  48. <liquibase.version>4.24.0</liquibase.version>
  49. <querydsl.version>5.0.0</querydsl.version>
  50. <mapstruct.version>1.5.5.Final</mapstruct.version>
  51. <maven-antrun-plugin.version>3.1.0</maven-antrun-plugin.version>
  52. <maven-checkstyle-plugin.version>3.3.1</maven-checkstyle-plugin.version>
  53. <maven-clean-plugin.version>3.3.2</maven-clean-plugin.version>
  54. <maven-compiler-plugin.version>3.11.0</maven-compiler-plugin.version>
  55. <maven-eclipse-plugin.version>2.1</maven-eclipse-plugin.version>
  56. <maven-enforcer-plugin.version>3.4.1</maven-enforcer-plugin.version>
  57. <maven-failsafe-plugin.version>3.2.1</maven-failsafe-plugin.version>
  58. <maven-idea-plugin.version>2.2.1</maven-idea-plugin.version>
  59. <maven-jar-plugin.version>3.3.0</maven-jar-plugin.version>
  60. <maven-javadoc-plugin.version>3.6.0</maven-javadoc-plugin.version>
  61. <maven-resources-plugin.version>3.3.1</maven-resources-plugin.version>
  62. <maven-site-plugin.version>3.12.1</maven-site-plugin.version>
  63. <maven-surefire-plugin.version>3.2.1</maven-surefire-plugin.version>
  64. <maven-war-plugin.version>3.4.0</maven-war-plugin.version>
  65. <modernizer-maven-plugin.version>2.7.0</modernizer-maven-plugin.version>
  66. <nohttp-checkstyle.version>0.0.11</nohttp-checkstyle.version>
  67. <profile.api-docs/>
  68. <profile.e2e/>
  69. <profile.no-liquibase/>
  70. <profile.test/>
  71. <profile.tls/>
  72. <properties-maven-plugin.version>1.2.1</properties-maven-plugin.version>
  73. <sonar-maven-plugin.version>3.10.0.2594</sonar-maven-plugin.version>
  74. <spotless-maven-plugin.version>2.40.0</spotless-maven-plugin.version>
  75. <validation-api.version>3.0.2</validation-api.version>
  76. <jjwt.version>0.12.3</jjwt.version>
  77. <org.projectlombok.version>1.18.28</org.projectlombok.version>
  78. </properties>
  79.  
  80. <dependencyManagement>
  81. <dependencies>
  82. <dependency>
  83. <groupId>tech.jhipster</groupId>
  84. <artifactId>jhipster-dependencies</artifactId>
  85. <version>${jhipster-dependencies.version}</version>
  86. <type>pom</type>
  87. <scope>import</scope>
  88. </dependency>
  89.  
  90. <dependency>
  91. <groupId>io.jsonwebtoken</groupId>
  92. <artifactId>jjwt-api</artifactId>
  93. <version>${jjwt.version}</version>
  94. </dependency>
  95. <dependency>
  96. <groupId>io.jsonwebtoken</groupId>
  97. <artifactId>jjwt-impl</artifactId>
  98. <version>${jjwt.version}</version>
  99. <scope>runtime</scope>
  100. </dependency>
  101. <dependency>
  102. <groupId>io.jsonwebtoken</groupId>
  103. <artifactId>jjwt-jackson</artifactId>
  104. <version>${jjwt.version}</version>
  105. <scope>runtime</scope>
  106. </dependency>
  107. </dependencies>
  108. </dependencyManagement>
  109.  
  110. <dependencies>
  111. <dependency>
  112. <groupId>tech.jhipster</groupId>
  113. <artifactId>jhipster-framework</artifactId>
  114. </dependency>
  115. <dependency>
  116. <groupId>org.springframework.boot</groupId>
  117. <artifactId>spring-boot-configuration-processor</artifactId>
  118. <scope>provided</scope>
  119. </dependency>
  120. <dependency>
  121. <groupId>org.springframework.boot</groupId>
  122. <artifactId>spring-boot-loader-tools</artifactId>
  123. </dependency>
  124. <dependency>
  125. <groupId>org.springframework.boot</groupId>
  126. <artifactId>spring-boot-starter-actuator</artifactId>
  127. </dependency>
  128. <dependency>
  129. <groupId>org.springframework.boot</groupId>
  130. <artifactId>spring-boot-starter-cache</artifactId>
  131. </dependency>
  132. <dependency>
  133. <groupId>org.springframework.boot</groupId>
  134. <artifactId>spring-boot-starter-data-jpa</artifactId>
  135. </dependency>
  136. <dependency>
  137. <groupId>org.springframework.boot</groupId>
  138. <artifactId>spring-boot-starter-logging</artifactId>
  139. </dependency>
  140. <dependency>
  141. <groupId>org.springframework.boot</groupId>
  142. <artifactId>spring-boot-starter-mail</artifactId>
  143. </dependency>
  144. <dependency>
  145. <groupId>org.springframework.boot</groupId>
  146. <artifactId>spring-boot-starter-oauth2-resource-server</artifactId>
  147. </dependency>
  148. <dependency>
  149. <groupId>org.springframework.boot</groupId>
  150. <artifactId>spring-boot-starter-security</artifactId>
  151. </dependency>
  152. <dependency>
  153. <groupId>org.springframework.boot</groupId>
  154. <artifactId>spring-boot-starter-test</artifactId>
  155. <scope>test</scope>
  156. </dependency>
  157. <dependency>
  158. <groupId>org.springframework.boot</groupId>
  159. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  160. </dependency>
  161. <dependency>
  162. <groupId>org.springframework.boot</groupId>
  163. <artifactId>spring-boot-starter-undertow</artifactId>
  164. </dependency>
  165. <dependency>
  166. <groupId>org.projectlombok</groupId>
  167. <artifactId>lombok</artifactId>
  168. <version>${org.projectlombok.version}</version>
  169. </dependency>
  170. <dependency>
  171. <groupId>org.springframework.boot</groupId>
  172. <artifactId>spring-boot-starter-web</artifactId>
  173. </dependency>
  174. <dependency>
  175. <groupId>org.springframework.boot</groupId>
  176. <artifactId>spring-boot-starter-websocket</artifactId>
  177. </dependency>
  178. <dependency>
  179. <groupId>org.springframework.boot</groupId>
  180. <artifactId>spring-boot-test</artifactId>
  181. <scope>test</scope>
  182. </dependency>
  183. <dependency>
  184. <groupId>org.springframework.security</groupId>
  185. <artifactId>spring-security-data</artifactId>
  186. </dependency>
  187. <dependency>
  188. <groupId>org.springframework.security</groupId>
  189. <artifactId>spring-security-messaging</artifactId>
  190. </dependency>
  191. <dependency>
  192. <groupId>org.springframework.security</groupId>
  193. <artifactId>spring-security-test</artifactId>
  194. <scope>test</scope>
  195. </dependency>
  196. <dependency>
  197. <groupId>org.springdoc</groupId>
  198. <artifactId>springdoc-openapi-starter-webmvc-api</artifactId>
  199. </dependency>
  200. <dependency>
  201. <groupId>com.fasterxml.jackson.datatype</groupId>
  202. <artifactId>jackson-datatype-hibernate6</artifactId>
  203. </dependency>
  204. <dependency>
  205. <groupId>com.fasterxml.jackson.datatype</groupId>
  206. <artifactId>jackson-datatype-hppc</artifactId>
  207. </dependency>
  208. <dependency>
  209. <groupId>com.fasterxml.jackson.datatype</groupId>
  210. <artifactId>jackson-datatype-jsr310</artifactId>
  211. </dependency>
  212. <dependency>
  213. <groupId>com.fasterxml.jackson.module</groupId>
  214. <artifactId>jackson-module-jaxb-annotations</artifactId>
  215. </dependency>
  216. <dependency>
  217. <groupId>com.mysql</groupId>
  218. <artifactId>mysql-connector-j</artifactId>
  219. </dependency>
  220. <dependency>
  221. <groupId>com.tngtech.archunit</groupId>
  222. <artifactId>archunit-junit5-api</artifactId>
  223. <version>${archunit-junit5.version}</version>
  224. <scope>test</scope>
  225. </dependency>
  226. <dependency>
  227. <!-- Adding the engine dependency to the surefire-plugin unfortunately does not work in the current version. -->
  228. <!-- https://www.archunit.org/userguide/html/000_Index.html#_junit_5 -->
  229. <groupId>com.tngtech.archunit</groupId>
  230. <artifactId>archunit-junit5-engine</artifactId>
  231. <version>${archunit-junit5.version}</version>
  232. <scope>test</scope>
  233. </dependency>
  234. <dependency>
  235. <groupId>com.zaxxer</groupId>
  236. <artifactId>HikariCP</artifactId>
  237. </dependency>
  238. <dependency>
  239. <groupId>io.dropwizard.metrics</groupId>
  240. <artifactId>metrics-core</artifactId>
  241. </dependency>
  242. <dependency>
  243. <groupId>io.micrometer</groupId>
  244. <artifactId>micrometer-registry-prometheus</artifactId>
  245. </dependency>
  246. <dependency>
  247. <groupId>jakarta.annotation</groupId>
  248. <artifactId>jakarta.annotation-api</artifactId>
  249. </dependency>
  250. <dependency>
  251. <groupId>org.apache.commons</groupId>
  252. <artifactId>commons-lang3</artifactId>
  253. </dependency>
  254. <dependency>
  255. <groupId>org.hibernate.orm</groupId>
  256. <artifactId>hibernate-core</artifactId>
  257. <version>${hibernate.version}</version>
  258. </dependency>
  259. <dependency>
  260. <groupId>org.hibernate.orm</groupId>
  261. <artifactId>hibernate-jcache</artifactId>
  262. <version>${hibernate.version}</version>
  263. </dependency>
  264. <dependency>
  265. <groupId>org.hibernate.orm</groupId>
  266. <artifactId>hibernate-jpamodelgen</artifactId>
  267. <scope>provided</scope>
  268. </dependency>
  269. <dependency>
  270. <groupId>org.hibernate.validator</groupId>
  271. <artifactId>hibernate-validator</artifactId>
  272. </dependency>
  273. <dependency>
  274. <groupId>org.liquibase</groupId>
  275. <artifactId>liquibase-core</artifactId>
  276. <version>${liquibase.version}</version>
  277. </dependency>
  278. <dependency>
  279. <groupId>com.querydsl</groupId>
  280. <artifactId>querydsl-jpa</artifactId>
  281. <version>${querydsl.version}</version>
  282. <classifier>jakarta</classifier>
  283. </dependency>
  284. <dependency>
  285. <groupId>com.querydsl</groupId>
  286. <artifactId>querydsl-apt</artifactId>
  287. <version>${querydsl.version}</version>
  288. <classifier>jakarta</classifier>
  289. </dependency>
  290. <dependency>
  291. <groupId>io.jsonwebtoken</groupId>
  292. <artifactId>jjwt-api</artifactId>
  293. </dependency>
  294. <dependency>
  295. <groupId>io.jsonwebtoken</groupId>
  296. <artifactId>jjwt-impl</artifactId>
  297. <scope>runtime</scope>
  298. </dependency>
  299. <dependency>
  300. <groupId>io.jsonwebtoken</groupId>
  301. <artifactId>jjwt-jackson</artifactId>
  302. <scope>runtime</scope>
  303. </dependency>
  304. <dependency>
  305. <groupId>org.mapstruct</groupId>
  306. <artifactId>mapstruct</artifactId>
  307. <version>${mapstruct.version}</version>
  308. </dependency>
  309. <dependency>
  310. <groupId>org.mapstruct</groupId>
  311. <artifactId>mapstruct-processor</artifactId>
  312. <version>${mapstruct.version}</version>
  313. <scope>provided</scope>
  314. </dependency>
  315. <dependency>
  316. <groupId>org.redisson</groupId>
  317. <artifactId>redisson</artifactId>
  318. </dependency>
  319. <dependency>
  320. <groupId>org.testcontainers</groupId>
  321. <artifactId>jdbc</artifactId>
  322. <scope>test</scope>
  323. </dependency>
  324. <dependency>
  325. <groupId>org.testcontainers</groupId>
  326. <artifactId>junit-jupiter</artifactId>
  327. <scope>test</scope>
  328. </dependency>
  329. <dependency>
  330. <groupId>org.testcontainers</groupId>
  331. <artifactId>mysql</artifactId>
  332. <scope>test</scope>
  333. </dependency>
  334. <dependency>
  335. <groupId>org.testcontainers</groupId>
  336. <artifactId>testcontainers</artifactId>
  337. <scope>test</scope>
  338. </dependency>
  339. <dependency>
  340. <groupId>jakarta.persistence</groupId>
  341. <artifactId>jakarta.persistence-api</artifactId>
  342. </dependency>
  343. </dependencies>
  344.  
  345. <build>
  346. <defaultGoal>spring-boot:run</defaultGoal>
  347. <plugins>
  348. <plugin>
  349. <groupId>org.springframework.boot</groupId>
  350. <artifactId>spring-boot-maven-plugin</artifactId>
  351. </plugin>
  352. <plugin>
  353. <groupId>com.diffplug.spotless</groupId>
  354. <artifactId>spotless-maven-plugin</artifactId>
  355. </plugin>
  356. <plugin>
  357. <groupId>com.google.cloud.tools</groupId>
  358. <artifactId>jib-maven-plugin</artifactId>
  359. </plugin>
  360. <plugin>
  361. <groupId>org.apache.maven.plugins</groupId>
  362. <artifactId>maven-checkstyle-plugin</artifactId>
  363. </plugin>
  364. <plugin>
  365. <groupId>org.apache.maven.plugins</groupId>
  366. <artifactId>maven-compiler-plugin</artifactId>
  367. </plugin>
  368. <plugin>
  369. <groupId>org.apache.maven.plugins</groupId>
  370. <artifactId>maven-eclipse-plugin</artifactId>
  371. </plugin>
  372. <plugin>
  373. <groupId>org.apache.maven.plugins</groupId>
  374. <artifactId>maven-enforcer-plugin</artifactId>
  375. </plugin>
  376. <plugin>
  377. <groupId>org.apache.maven.plugins</groupId>
  378. <artifactId>maven-failsafe-plugin</artifactId>
  379. </plugin>
  380. <plugin>
  381. <groupId>org.apache.maven.plugins</groupId>
  382. <artifactId>maven-idea-plugin</artifactId>
  383. </plugin>
  384. <plugin>
  385. <groupId>org.apache.maven.plugins</groupId>
  386. <artifactId>maven-javadoc-plugin</artifactId>
  387. </plugin>
  388. <plugin>
  389. <groupId>org.apache.maven.plugins</groupId>
  390. <artifactId>maven-resources-plugin</artifactId>
  391. </plugin>
  392. <plugin>
  393. <groupId>org.apache.maven.plugins</groupId>
  394. <artifactId>maven-surefire-plugin</artifactId>
  395. </plugin>
  396. <plugin>
  397. <groupId>org.codehaus.mojo</groupId>
  398. <artifactId>properties-maven-plugin</artifactId>
  399. </plugin>
  400. <plugin>
  401. <groupId>org.gaul</groupId>
  402. <artifactId>modernizer-maven-plugin</artifactId>
  403. </plugin>
  404. <plugin>
  405. <groupId>org.jacoco</groupId>
  406. <artifactId>jacoco-maven-plugin</artifactId>
  407. </plugin>
  408. <plugin>
  409. <groupId>org.sonarsource.scanner.maven</groupId>
  410. <artifactId>sonar-maven-plugin</artifactId>
  411. </plugin>
  412. <plugin>
  413. <groupId>org.liquibase</groupId>
  414. <artifactId>liquibase-maven-plugin</artifactId>
  415. </plugin>
  416. </plugins>
  417. <pluginManagement>
  418. <plugins>
  419. <plugin>
  420. <groupId>org.liquibase</groupId>
  421. <artifactId>liquibase-maven-plugin</artifactId>
  422. <version>${liquibase.version}</version>
  423. <configuration>
  424. <outputChangeLogFile>src/main/resources/config/liquibase/changelog-master.xml
  425. </outputChangeLogFile>
  426. <changeLogFile>src/main/resources/config/liquibase/changelog-master.xml</changeLogFile>
  427. <diffChangeLogFile>
  428. src/main/resources/config/liquibase/changelog/${maven.build.timestamp}_changelog.xml
  429. </diffChangeLogFile>
  430. <propertyFile>src/main/resources/config/liquibase/liquibase.properties</propertyFile>
  431. </configuration>
  432. <dependencies>
  433. <dependency>
  434. <groupId>org.liquibase</groupId>
  435. <artifactId>liquibase-core</artifactId>
  436. <version>${liquibase.version}</version>
  437. </dependency>
  438. <dependency>
  439. <groupId>org.liquibase.ext</groupId>
  440. <artifactId>liquibase-hibernate6</artifactId>
  441. <version>${liquibase.version}</version>
  442. </dependency>
  443. <dependency>
  444. <groupId>org.springframework.boot</groupId>
  445. <artifactId>spring-boot-starter-data-jpa</artifactId>
  446. <version>${spring-boot.version}</version>
  447. </dependency>
  448. <dependency>
  449. <groupId>jakarta.validation</groupId>
  450. <artifactId>jakarta.validation-api</artifactId>
  451. <version>${validation-api.version}</version>
  452. </dependency>
  453. </dependencies>
  454. </plugin>
  455. <plugin>
  456. <groupId>org.springframework.boot</groupId>
  457. <artifactId>spring-boot-maven-plugin</artifactId>
  458. <version>${spring-boot.version}</version>
  459. <executions>
  460. <execution>
  461. <goals>
  462. <goal>repackage</goal>
  463. </goals>
  464. </execution>
  465. </executions>
  466. <configuration>
  467. <mainClass>${start-class}</mainClass>
  468. <!--
  469. Enable the line below to have remote debugging of your application on port 5005
  470. <jvmArguments>-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005</jvmArguments>
  471. -->
  472. </configuration>
  473. </plugin>
  474. <!-- <plugin>-->
  475. <!-- <groupId>com.diffplug.spotless</groupId>-->
  476. <!-- <artifactId>spotless-maven-plugin</artifactId>-->
  477. <!-- <version>${spotless-maven-plugin.version}</version>-->
  478. <!-- <configuration>-->
  479. <!-- <java>-->
  480. <!-- &lt;!&ndash; <removeUnusedImports/> &ndash;&gt;-->
  481. <!-- </java>-->
  482. <!-- </configuration>-->
  483. <!-- <executions>-->
  484. <!-- <execution>-->
  485. <!-- <id>spotless</id>-->
  486. <!-- <phase>process-sources</phase>-->
  487. <!-- <goals>-->
  488. <!-- <goal>apply</goal>-->
  489. <!-- </goals>-->
  490. <!-- </execution>-->
  491. <!-- </executions>-->
  492. <!-- </plugin>-->
  493. <!-- <plugin>-->
  494. <!-- <groupId>com.google.cloud.tools</groupId>-->
  495. <!-- <artifactId>jib-maven-plugin</artifactId>-->
  496. <!-- <version>${jib-maven-plugin.version}</version>-->
  497. <!-- <configuration>-->
  498. <!-- <from>-->
  499. <!-- <image>${jib-maven-plugin.image}</image>-->
  500. <!-- <platforms>-->
  501. <!-- <platform>-->
  502. <!-- <architecture>${jib-maven-plugin.architecture}</architecture>-->
  503. <!-- <os>linux</os>-->
  504. <!-- </platform>-->
  505. <!-- </platforms>-->
  506. <!-- </from>-->
  507. <!-- <to>-->
  508. <!-- <image>internsonartripbackend:latest</image>-->
  509. <!-- </to>-->
  510. <!-- <container>-->
  511. <!-- <entrypoint>-->
  512. <!-- <shell>bash</shell>-->
  513. <!-- <option>-c</option>-->
  514. <!-- <arg>/entrypoint.sh</arg>-->
  515. <!-- </entrypoint>-->
  516. <!-- <ports>-->
  517. <!-- <port>8080</port>-->
  518. <!-- </ports>-->
  519. <!-- <environment>-->
  520. <!-- <SPRING_OUTPUT_ANSI_ENABLED>ALWAYS</SPRING_OUTPUT_ANSI_ENABLED>-->
  521. <!-- <JHIPSTER_SLEEP>0</JHIPSTER_SLEEP>-->
  522. <!-- </environment>-->
  523. <!-- <creationTime>USE_CURRENT_TIMESTAMP</creationTime>-->
  524. <!-- <user>1000</user>-->
  525. <!-- </container>-->
  526. <!-- <extraDirectories>-->
  527. <!-- <paths>src/main/docker/jib</paths>-->
  528. <!-- <permissions>-->
  529. <!-- <permission>-->
  530. <!-- <file>/entrypoint.sh</file>-->
  531. <!-- <mode>755</mode>-->
  532. <!-- </permission>-->
  533. <!-- </permissions>-->
  534. <!-- </extraDirectories>-->
  535. <!-- </configuration>-->
  536. <!-- </plugin>-->
  537. <!-- <plugin>-->
  538. <!-- <groupId>io.github.git-commit-id</groupId>-->
  539. <!-- <artifactId>git-commit-id-maven-plugin</artifactId>-->
  540. <!-- <version>${git-commit-id-maven-plugin.version}</version>-->
  541. <!-- <executions>-->
  542. <!-- <execution>-->
  543. <!-- <goals>-->
  544. <!-- <goal>revision</goal>-->
  545. <!-- </goals>-->
  546. <!-- </execution>-->
  547. <!-- </executions>-->
  548. <!-- <configuration>-->
  549. <!-- <failOnNoGitDirectory>false</failOnNoGitDirectory>-->
  550. <!-- <failOnUnableToExtractRepoInfo>false</failOnUnableToExtractRepoInfo>-->
  551. <!-- <generateGitPropertiesFile>true</generateGitPropertiesFile>-->
  552. <!-- <includeOnlyProperties>-->
  553. <!-- <includeOnlyProperty>^git.commit.id.abbrev$</includeOnlyProperty>-->
  554. <!-- <includeOnlyProperty>^git.commit.id.describe$</includeOnlyProperty>-->
  555. <!-- <includeOnlyProperty>^git.branch$</includeOnlyProperty>-->
  556. <!-- </includeOnlyProperties>-->
  557. <!-- </configuration>-->
  558. <!-- </plugin>-->
  559. <!-- <plugin>-->
  560. <!-- <groupId>org.apache.maven.plugins</groupId>-->
  561. <!-- <artifactId>maven-checkstyle-plugin</artifactId>-->
  562. <!-- <version>${maven-checkstyle-plugin.version}</version>-->
  563. <!-- <dependencies>-->
  564. <!-- <dependency>-->
  565. <!-- <groupId>com.puppycrawl.tools</groupId>-->
  566. <!-- <artifactId>checkstyle</artifactId>-->
  567. <!-- <version>${checkstyle.version}</version>-->
  568. <!-- </dependency>-->
  569. <!-- <dependency>-->
  570. <!-- <groupId>io.spring.nohttp</groupId>-->
  571. <!-- <artifactId>nohttp-checkstyle</artifactId>-->
  572. <!-- <version>${nohttp-checkstyle.version}</version>-->
  573. <!-- </dependency>-->
  574. <!-- </dependencies>-->
  575. <!-- <configuration>-->
  576. <!-- <configLocation>checkstyle.xml</configLocation>-->
  577. <!-- <includes>pom.xml,README.md</includes>-->
  578. <!-- <excludes>.git/**/*,target/**/*,node_modules/**/*,node/**/*</excludes>-->
  579. <!-- <sourceDirectories>./</sourceDirectories>-->
  580. <!-- </configuration>-->
  581. <!-- <executions>-->
  582. <!-- <execution>-->
  583. <!-- <goals>-->
  584. <!-- <goal>check</goal>-->
  585. <!-- </goals>-->
  586. <!-- </execution>-->
  587. <!-- </executions>-->
  588. <!-- </plugin>-->
  589. <!-- <plugin>-->
  590. <!-- <groupId>org.apache.maven.plugins</groupId>-->
  591. <!-- <artifactId>maven-clean-plugin</artifactId>-->
  592. <!-- <version>${maven-clean-plugin.version}</version>-->
  593. <!-- </plugin>-->
  594. <!-- <plugin>-->
  595. <!-- <groupId>org.apache.maven.plugins</groupId>-->
  596. <!-- <artifactId>maven-compiler-plugin</artifactId>-->
  597. <!-- <version>${maven-compiler-plugin.version}</version>-->
  598. <!-- <configuration>-->
  599. <!-- <source>${java.version}</source>-->
  600. <!-- <target>${java.version}</target>-->
  601. <!-- <annotationProcessorPaths>-->
  602. <!-- <path>-->
  603. <!-- <groupId>org.springframework.boot</groupId>-->
  604. <!-- <artifactId>spring-boot-configuration-processor</artifactId>-->
  605. <!-- <version>${spring-boot.version}</version>-->
  606. <!-- </path>-->
  607. <!-- &lt;!&ndash; <path>&ndash;&gt;-->
  608. <!-- &lt;!&ndash; <groupId>org.mapstruct</groupId>&ndash;&gt;-->
  609. <!-- &lt;!&ndash; <artifactId>mapstruct-processor</artifactId>&ndash;&gt;-->
  610. <!-- &lt;!&ndash; <version>${mapstruct.version}</version>&ndash;&gt;-->
  611. <!-- &lt;!&ndash; </path>&ndash;&gt;-->
  612. <!-- &lt;!&ndash; <path>&ndash;&gt;-->
  613. <!-- &lt;!&ndash; <groupId>org.glassfish.jaxb</groupId>&ndash;&gt;-->
  614. <!-- &lt;!&ndash; <artifactId>jaxb-runtime</artifactId>&ndash;&gt;-->
  615. <!-- &lt;!&ndash; <version>${jaxb-runtime.version}</version>&ndash;&gt;-->
  616. <!-- &lt;!&ndash; </path>&ndash;&gt;-->
  617. <!-- &lt;!&ndash; <path>&ndash;&gt;-->
  618. <!-- &lt;!&ndash; <groupId>org.hibernate.orm</groupId>&ndash;&gt;-->
  619. <!-- &lt;!&ndash; <artifactId>hibernate-jpamodelgen</artifactId>&ndash;&gt;-->
  620. <!-- &lt;!&ndash; <version>${hibernate.version}</version>&ndash;&gt;-->
  621. <!-- &lt;!&ndash; </path>&ndash;&gt;-->
  622. <!-- <path>-->
  623. <!-- <groupId>org.projectlombok</groupId>-->
  624. <!-- <artifactId>lombok</artifactId>-->
  625. <!-- <version>${org.projectlombok.version}</version>-->
  626. <!-- </path>-->
  627. <!--&lt;!&ndash; <path>&ndash;&gt;-->
  628. <!--&lt;!&ndash; <groupId>com.querydsl</groupId>&ndash;&gt;-->
  629. <!--&lt;!&ndash; <artifactId>querydsl-apt</artifactId>&ndash;&gt;-->
  630. <!--&lt;!&ndash; <version>${querydsl.version}</version>&ndash;&gt;-->
  631. <!--&lt;!&ndash; </path>&ndash;&gt;-->
  632. <!--&lt;!&ndash; <path>&ndash;&gt;-->
  633. <!--&lt;!&ndash; <groupId>com.mysema.querydsl</groupId>&ndash;&gt;-->
  634. <!--&lt;!&ndash; <artifactId>querydsl-jpa</artifactId>&ndash;&gt;-->
  635. <!--&lt;!&ndash; <version>3.7.4</version>&ndash;&gt;-->
  636. <!--&lt;!&ndash; </path>&ndash;&gt;-->
  637. <!--&lt;!&ndash; <path>&ndash;&gt;-->
  638. <!--&lt;!&ndash; <groupId>jakarta.persistence</groupId>&ndash;&gt;-->
  639. <!--&lt;!&ndash; <artifactId>jakarta.persistence-api</artifactId>&ndash;&gt;-->
  640. <!--&lt;!&ndash; <version>3.1.0</version>&ndash;&gt;-->
  641. <!--&lt;!&ndash; </path>&ndash;&gt;-->
  642. <!-- </annotationProcessorPaths>-->
  643. <!-- </configuration>-->
  644. <!-- </plugin>-->
  645. <!-- <plugin>-->
  646. <!-- <groupId>org.apache.maven.plugins</groupId>-->
  647. <!-- <artifactId>maven-eclipse-plugin</artifactId>-->
  648. <!-- <version>${maven-eclipse-plugin.version}</version>-->
  649. <!-- <configuration>-->
  650. <!-- <downloadSources>true</downloadSources>-->
  651. <!-- <downloadJavadocs>true</downloadJavadocs>-->
  652. <!-- </configuration>-->
  653. <!-- </plugin>-->
  654. <!-- <plugin>-->
  655. <!-- <groupId>org.apache.maven.plugins</groupId>-->
  656. <!-- <artifactId>maven-enforcer-plugin</artifactId>-->
  657. <!-- <version>${maven-enforcer-plugin.version}</version>-->
  658. <!-- <executions>-->
  659. <!-- <execution>-->
  660. <!-- <id>enforce-versions</id>-->
  661. <!-- <goals>-->
  662. <!-- <goal>enforce</goal>-->
  663. <!-- </goals>-->
  664. <!-- </execution>-->
  665. <!-- <execution>-->
  666. <!-- <id>enforce-dependencyConvergence</id>-->
  667. <!-- <configuration>-->
  668. <!-- <rules>-->
  669. <!-- <DependencyConvergence/>-->
  670. <!-- </rules>-->
  671. <!-- <fail>false</fail>-->
  672. <!-- </configuration>-->
  673. <!-- <goals>-->
  674. <!-- <goal>enforce</goal>-->
  675. <!-- </goals>-->
  676. <!-- </execution>-->
  677. <!-- </executions>-->
  678. <!-- <configuration>-->
  679. <!-- <rules>-->
  680. <!-- <requireMavenVersion>-->
  681. <!-- <message>You are running an older version of Maven. JHipster requires at least Maven-->
  682. <!-- ${maven.version}-->
  683. <!-- </message>-->
  684. <!-- <version>[${maven.version},)</version>-->
  685. <!-- </requireMavenVersion>-->
  686. <!-- <requireJavaVersion>-->
  687. <!-- <message>You are running an incompatible version of Java. JHipster supports JDK 17 to-->
  688. <!-- 21.-->
  689. <!-- </message>-->
  690. <!-- <version>[17,18),[18,19),[19,20),[20,21),[21,22)</version>-->
  691. <!-- </requireJavaVersion>-->
  692. <!-- </rules>-->
  693. <!-- </configuration>-->
  694. <!-- </plugin>-->
  695. <!-- <plugin>-->
  696. <!-- <groupId>org.apache.maven.plugins</groupId>-->
  697. <!-- <artifactId>maven-failsafe-plugin</artifactId>-->
  698. <!-- <version>${maven-failsafe-plugin.version}</version>-->
  699. <!-- <configuration>-->
  700. <!-- &lt;!&ndash; Due to spring-boot repackage, without adding this property test classes are not found-->
  701. <!-- See https://github.com/spring-projects/spring-boot/issues/6254 &ndash;&gt;-->
  702. <!-- &lt;!&ndash; Force alphabetical order to have a reproducible build &ndash;&gt;-->
  703. <!-- <classesDirectory>${project.build.outputDirectory}</classesDirectory>-->
  704. <!-- <runOrder>alphabetical</runOrder>-->
  705. <!-- <includes>-->
  706. <!-- <include>**/*IT*</include>-->
  707. <!-- <include>**/*IntTest*</include>-->
  708. <!-- </includes>-->
  709. <!-- <argLine>@{argLine} -Dspring.profiles.active=${profile.test}</argLine>-->
  710. <!-- </configuration>-->
  711. <!-- <executions>-->
  712. <!-- <execution>-->
  713. <!-- <id>integration-test</id>-->
  714. <!-- <goals>-->
  715. <!-- <goal>integration-test</goal>-->
  716. <!-- </goals>-->
  717. <!-- </execution>-->
  718. <!-- <execution>-->
  719. <!-- <id>verify</id>-->
  720. <!-- <goals>-->
  721. <!-- <goal>verify</goal>-->
  722. <!-- </goals>-->
  723. <!-- </execution>-->
  724. <!-- </executions>-->
  725. <!-- </plugin>-->
  726. <!-- <plugin>-->
  727. <!-- <groupId>org.apache.maven.plugins</groupId>-->
  728. <!-- <artifactId>maven-idea-plugin</artifactId>-->
  729. <!-- <version>${maven-idea-plugin.version}</version>-->
  730. <!-- <configuration>-->
  731. <!-- <exclude>node_modules</exclude>-->
  732. <!-- </configuration>-->
  733. <!-- </plugin>-->
  734. <!-- <plugin>-->
  735. <!-- <groupId>org.apache.maven.plugins</groupId>-->
  736. <!-- <artifactId>maven-jar-plugin</artifactId>-->
  737. <!-- <version>${maven-jar-plugin.version}</version>-->
  738. <!-- </plugin>-->
  739. <!-- <plugin>-->
  740. <!-- <groupId>org.apache.maven.plugins</groupId>-->
  741. <!-- <artifactId>maven-javadoc-plugin</artifactId>-->
  742. <!-- <version>${maven-javadoc-plugin.version}</version>-->
  743. <!-- <configuration>-->
  744. <!-- <source>${maven.compiler.source}</source>-->
  745. <!-- </configuration>-->
  746. <!-- </plugin>-->
  747. <!-- <plugin>-->
  748. <!-- <groupId>org.apache.maven.plugins</groupId>-->
  749. <!-- <artifactId>maven-resources-plugin</artifactId>-->
  750. <!-- <version>${maven-resources-plugin.version}</version>-->
  751. <!-- <executions>-->
  752. <!-- <execution>-->
  753. <!-- <id>config-resources</id>-->
  754. <!-- <phase>validate</phase>-->
  755. <!-- <goals>-->
  756. <!-- <goal>copy-resources</goal>-->
  757. <!-- </goals>-->
  758. <!-- <configuration>-->
  759. <!-- <outputDirectory>${project.build.directory}/classes</outputDirectory>-->
  760. <!-- <useDefaultDelimiters>false</useDefaultDelimiters>-->
  761. <!-- <delimiters>-->
  762. <!-- <delimiter>#</delimiter>-->
  763. <!-- </delimiters>-->
  764. <!-- <resources>-->
  765. <!-- <resource>-->
  766. <!-- <directory>src/main/resources/</directory>-->
  767. <!-- <filtering>true</filtering>-->
  768. <!-- <includes>-->
  769. <!-- <include>config/*.yml</include>-->
  770. <!-- </includes>-->
  771. <!-- </resource>-->
  772. <!-- </resources>-->
  773. <!-- </configuration>-->
  774. <!-- </execution>-->
  775. <!-- </executions>-->
  776. <!-- </plugin>-->
  777. <!-- <plugin>-->
  778. <!-- <groupId>org.apache.maven.plugins</groupId>-->
  779. <!-- <artifactId>maven-site-plugin</artifactId>-->
  780. <!-- <version>${maven-site-plugin.version}</version>-->
  781. <!-- </plugin>-->
  782. <plugin>
  783. <groupId>org.apache.maven.plugins</groupId>
  784. <artifactId>maven-surefire-plugin</artifactId>
  785. <version>${maven-surefire-plugin.version}</version>
  786. <configuration>
  787. <!-- Force alphabetical order to have a reproducible build -->
  788. <runOrder>alphabetical</runOrder>
  789. <excludes>
  790. <exclude>**/*IT*</exclude>
  791. <exclude>**/*IntTest*</exclude>
  792. </excludes>
  793. </configuration>
  794. </plugin>
  795. <!-- <plugin>-->
  796. <!-- <groupId>org.apache.maven.plugins</groupId>-->
  797. <!-- <artifactId>maven-war-plugin</artifactId>-->
  798. <!-- <version>${maven-war-plugin.version}</version>-->
  799. <!-- <executions>-->
  800. <!-- <execution>-->
  801. <!-- <id>default-war</id>-->
  802. <!-- <goals>-->
  803. <!-- <goal>war</goal>-->
  804. <!-- </goals>-->
  805. <!-- <phase>package</phase>-->
  806. <!-- </execution>-->
  807. <!-- </executions>-->
  808. <!-- <configuration>-->
  809. <!-- <warSourceIncludes>WEB-INF/**,META-INF/**</warSourceIncludes>-->
  810. <!-- <failOnMissingWebXml>false</failOnMissingWebXml>-->
  811. <!-- <warSourceDirectory>target/classes/static/</warSourceDirectory>-->
  812. <!-- <webResources>-->
  813. <!-- <resource>-->
  814. <!-- <directory>src/main/webapp</directory>-->
  815. <!-- <includes>-->
  816. <!-- <include>WEB-INF/**</include>-->
  817. <!-- </includes>-->
  818. <!-- </resource>-->
  819. <!-- </webResources>-->
  820. <!-- </configuration>-->
  821. <!-- </plugin>-->
  822. <!-- <plugin>-->
  823. <!-- <groupId>org.codehaus.mojo</groupId>-->
  824. <!-- <artifactId>properties-maven-plugin</artifactId>-->
  825. <!-- <version>${properties-maven-plugin.version}</version>-->
  826. <!-- <executions>-->
  827. <!-- <execution>-->
  828. <!-- <phase>initialize</phase>-->
  829. <!-- <goals>-->
  830. <!-- <goal>read-project-properties</goal>-->
  831. <!-- </goals>-->
  832. <!-- <configuration>-->
  833. <!-- <files>-->
  834. <!-- <file>sonar-project.properties</file>-->
  835. <!-- </files>-->
  836. <!-- </configuration>-->
  837. <!-- </execution>-->
  838. <!-- </executions>-->
  839. <!-- </plugin>-->
  840. <!-- <plugin>-->
  841. <!-- <groupId>org.gaul</groupId>-->
  842. <!-- <artifactId>modernizer-maven-plugin</artifactId>-->
  843. <!-- <version>${modernizer-maven-plugin.version}</version>-->
  844. <!-- <executions>-->
  845. <!-- <execution>-->
  846. <!-- <id>modernizer</id>-->
  847. <!-- <phase>package</phase>-->
  848. <!-- <goals>-->
  849. <!-- <goal>modernizer</goal>-->
  850. <!-- </goals>-->
  851. <!-- </execution>-->
  852. <!-- </executions>-->
  853. <!-- <configuration>-->
  854. <!-- <javaVersion>${java.version}</javaVersion>-->
  855. <!-- </configuration>-->
  856. <!-- </plugin>-->
  857. <!-- <plugin>-->
  858. <!-- <groupId>org.jacoco</groupId>-->
  859. <!-- <artifactId>jacoco-maven-plugin</artifactId>-->
  860. <!-- <version>${jacoco-maven-plugin.version}</version>-->
  861. <!-- <executions>-->
  862. <!-- <execution>-->
  863. <!-- <id>pre-unit-tests</id>-->
  864. <!-- <goals>-->
  865. <!-- <goal>prepare-agent</goal>-->
  866. <!-- </goals>-->
  867. <!-- </execution>-->
  868. <!-- <execution>-->
  869. <!-- &lt;!&ndash; Ensures that the code coverage report for unit tests is created after unit tests have been run &ndash;&gt;-->
  870. <!-- <id>post-unit-test</id>-->
  871. <!-- <phase>test</phase>-->
  872. <!-- <goals>-->
  873. <!-- <goal>report</goal>-->
  874. <!-- </goals>-->
  875. <!-- </execution>-->
  876. <!-- <execution>-->
  877. <!-- <id>pre-integration-tests</id>-->
  878. <!-- <goals>-->
  879. <!-- <goal>prepare-agent-integration</goal>-->
  880. <!-- </goals>-->
  881. <!-- </execution>-->
  882. <!-- <execution>-->
  883. <!-- &lt;!&ndash; Ensures that the code coverage report for integration tests is created after integration tests have been run &ndash;&gt;-->
  884. <!-- <id>post-integration-tests</id>-->
  885. <!-- <phase>post-integration-test</phase>-->
  886. <!-- <goals>-->
  887. <!-- <goal>report-integration</goal>-->
  888. <!-- </goals>-->
  889. <!-- </execution>-->
  890. <!-- </executions>-->
  891. <!-- </plugin>-->
  892. <!-- <plugin>-->
  893. <!-- <groupId>org.sonarsource.scanner.maven</groupId>-->
  894. <!-- <artifactId>sonar-maven-plugin</artifactId>-->
  895. <!-- <version>${sonar-maven-plugin.version}</version>-->
  896. <!-- </plugin>-->
  897. </plugins>
  898. </pluginManagement>
  899. </build>
  900.  
  901. <profiles>
  902. <profile>
  903. <id>api-docs</id>
  904. <properties>
  905. <profile.api-docs>,api-docs</profile.api-docs>
  906. </properties>
  907. </profile>
  908. <profile>
  909. <id>dev</id>
  910. <activation>
  911. <activeByDefault>true</activeByDefault>
  912. </activation>
  913. <properties>
  914. <!-- default Spring profiles -->
  915. <spring.profiles.active>dev${profile.tls}</spring.profiles.active>
  916. <profile.test>testdev</profile.test>
  917. <liquibase-plugin.url>jdbc:mysql://localhost:3306/internsonartripbackend</liquibase-plugin.url>
  918. <liquibase-plugin.username>root</liquibase-plugin.username>
  919. <liquibase-plugin.password/>
  920. </properties>
  921. <dependencies>
  922. <dependency>
  923. <groupId>org.springframework.boot</groupId>
  924. <artifactId>spring-boot-devtools</artifactId>
  925. <optional>true</optional>
  926. </dependency>
  927. </dependencies>
  928. </profile>
  929. <profile>
  930. <!--
  931. Profile for applying IDE-specific configuration.
  932. At the moment it configures MapStruct and Hibernate JPA Metamodel Generator, which you need when working
  933. with DTOs and entity filtering.
  934. -->
  935. <id>IDE</id>
  936. <dependencies>
  937. <dependency>
  938. <groupId>org.mapstruct</groupId>
  939. <artifactId>mapstruct-processor</artifactId>
  940. <version>${mapstruct.version}</version>
  941. </dependency>
  942. <dependency>
  943. <groupId>org.hibernate.orm</groupId>
  944. <artifactId>hibernate-jpamodelgen</artifactId>
  945. </dependency>
  946. </dependencies>
  947. </profile>
  948. <profile>
  949. <id>prod</id>
  950. <properties>
  951. <!-- default Spring profiles -->
  952. <spring.profiles.active>prod${profile.api-docs}${profile.tls}${profile.e2e}</spring.profiles.active>
  953. <profile.test>testprod</profile.test>
  954. <liquibase-plugin.url>jdbc:mysql://localhost:3306/internsonartripbackend</liquibase-plugin.url>
  955. <liquibase-plugin.username>root</liquibase-plugin.username>
  956. <liquibase-plugin.password/>
  957. </properties>
  958. <build>
  959. <plugins>
  960. <plugin>
  961. <groupId>org.apache.maven.plugins</groupId>
  962. <artifactId>maven-clean-plugin</artifactId>
  963. <configuration>
  964. <filesets>
  965. <fileset>
  966. <directory>target/classes/static/</directory>
  967. </fileset>
  968. </filesets>
  969. </configuration>
  970. </plugin>
  971. <plugin>
  972. <groupId>org.springframework.boot</groupId>
  973. <artifactId>spring-boot-maven-plugin</artifactId>
  974. <executions>
  975. <execution>
  976. <goals>
  977. <goal>build-info</goal>
  978. </goals>
  979. </execution>
  980. </executions>
  981. </plugin>
  982. <!-- <plugin>-->
  983. <!-- <groupId>io.github.git-commit-id</groupId>-->
  984. <!-- <artifactId>git-commit-id-maven-plugin</artifactId>-->
  985. <!-- </plugin>-->
  986. </plugins>
  987. </build>
  988. </profile>
  989. <profile>
  990. <id>tls</id>
  991. <properties>
  992. <profile.tls>,tls</profile.tls>
  993. </properties>
  994. </profile>
  995. <!-- <profile>-->
  996. <!-- <id>war</id>-->
  997. <!-- <build>-->
  998. <!-- <plugins>-->
  999. <!-- <plugin>-->
  1000. <!-- <groupId>org.apache.maven.plugins</groupId>-->
  1001. <!-- <artifactId>maven-war-plugin</artifactId>-->
  1002. <!-- </plugin>-->
  1003. <!-- </plugins>-->
  1004. <!-- </build>-->
  1005. <!-- </profile>-->
  1006. </profiles>
  1007. </project>
  1008.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement