pom.xml 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <parent>
  6. <groupId>org.springframework.boot</groupId>
  7. <artifactId>spring-boot-starter-parent</artifactId>
  8. <version>3.4.5</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>it.powerbyte</groupId>
  12. <artifactId>pratiche</artifactId>
  13. <version>1.0</version>
  14. <packaging>war</packaging>
  15. <name>pratiche</name>
  16. <description>pratiche</description>
  17. <url/>
  18. <licenses>
  19. <license/>
  20. </licenses>
  21. <developers>
  22. <developer/>
  23. </developers>
  24. <scm>
  25. <connection/>
  26. <developerConnection/>
  27. <tag/>
  28. <url/>
  29. </scm>
  30. <properties>
  31. <java.version>21</java.version>
  32. </properties>
  33. <dependencies>
  34. <dependency>
  35. <groupId>org.springframework.boot</groupId>
  36. <artifactId>spring-boot-starter-web</artifactId>
  37. </dependency>
  38. <dependency>
  39. <groupId>org.springframework.boot</groupId>
  40. <artifactId>spring-boot-devtools</artifactId>
  41. <scope>runtime</scope>
  42. <optional>true</optional>
  43. </dependency>
  44. <dependency>
  45. <groupId>org.springframework.boot</groupId>
  46. <artifactId>spring-boot-configuration-processor</artifactId>
  47. <optional>true</optional>
  48. </dependency>
  49. <dependency>
  50. <groupId>org.projectlombok</groupId>
  51. <artifactId>lombok</artifactId>
  52. <optional>true</optional>
  53. </dependency>
  54. <dependency>
  55. <groupId>org.springframework.boot</groupId>
  56. <artifactId>spring-boot-starter-tomcat</artifactId>
  57. <scope>provided</scope>
  58. </dependency>
  59. <dependency>
  60. <groupId>org.springframework.boot</groupId>
  61. <artifactId>spring-boot-starter-test</artifactId>
  62. <scope>test</scope>
  63. </dependency>
  64. </dependencies>
  65. <build>
  66. <finalName>${project.artifactId}</finalName>
  67. <plugins>
  68. <plugin>
  69. <groupId>org.apache.maven.plugins</groupId>
  70. <artifactId>maven-compiler-plugin</artifactId>
  71. <configuration>
  72. <annotationProcessorPaths>
  73. <path>
  74. <groupId>org.springframework.boot</groupId>
  75. <artifactId>spring-boot-configuration-processor</artifactId>
  76. </path>
  77. <path>
  78. <groupId>org.projectlombok</groupId>
  79. <artifactId>lombok</artifactId>
  80. </path>
  81. </annotationProcessorPaths>
  82. </configuration>
  83. </plugin>
  84. <plugin>
  85. <groupId>org.springframework.boot</groupId>
  86. <artifactId>spring-boot-maven-plugin</artifactId>
  87. <configuration>
  88. <excludes>
  89. <exclude>
  90. <groupId>org.projectlombok</groupId>
  91. <artifactId>lombok</artifactId>
  92. </exclude>
  93. </excludes>
  94. </configuration>
  95. </plugin>
  96. <plugin>
  97. <groupId>com.github.eirslett</groupId>
  98. <artifactId>frontend-maven-plugin</artifactId>
  99. <version>1.15.0</version>
  100. <configuration>
  101. <nodeVersion>v22.13.0</nodeVersion>
  102. <npmVersion>10.2.3</npmVersion>
  103. <workingDirectory>frontend</workingDirectory>
  104. </configuration>
  105. <executions>
  106. <execution>
  107. <id>install node and npm</id>
  108. <goals>
  109. <goal>install-node-and-npm</goal>
  110. </goals>
  111. </execution>
  112. <execution>
  113. <id>npm install</id>
  114. <goals>
  115. <goal>npm</goal>
  116. </goals>
  117. </execution>
  118. <execution>
  119. <id>npm run build</id>
  120. <goals>
  121. <goal>npm</goal>
  122. </goals>
  123. <configuration>
  124. <arguments>run build</arguments>
  125. </configuration>
  126. </execution>
  127. </executions>
  128. </plugin>
  129. </plugins>
  130. </build>
  131. </project>