|
1 | 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> |
2 | 5 |
|
3 | | - <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
4 | | - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> |
5 | | - <modelVersion>4.0.0</modelVersion> |
| 6 | + <parent> |
| 7 | + <groupId>org.springframework.boot</groupId> |
| 8 | + <artifactId>spring-boot-starter-parent</artifactId> |
| 9 | + <version>3.5.4</version> |
| 10 | + <relativePath/> <!-- lookup parent from repository --> |
| 11 | + </parent> |
6 | 12 |
|
7 | | - <parent> |
8 | | - <groupId>org.springframework.boot</groupId> |
9 | | - <artifactId>spring-boot-starter-parent</artifactId> |
10 | | - <version>3.5.4</version> |
11 | | - <relativePath/> <!-- lookup parent from repository --> |
12 | | - </parent> |
| 13 | + <groupId>com.otavio</groupId> |
| 14 | + <artifactId>AiFoodAPP</artifactId> |
| 15 | + <version>0.0.1-SNAPSHOT</version> |
| 16 | + <name>AiFoodAPP</name> |
| 17 | + <description>Aplicativo de comida utilizando IA</description> |
13 | 18 |
|
| 19 | + <properties> |
| 20 | + <java.version>23</java.version> |
| 21 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 22 | + <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
| 23 | + <!-- ATUALIZADO: Usando a versão estável mais recente disponível publicamente. --> |
| 24 | + <spring-ai.version>1.0.0-M6</spring-ai.version> |
| 25 | + </properties> |
14 | 26 |
|
15 | | - <groupId>com.otavio</groupId> |
16 | | - <artifactId>AiFoodAPP</artifactId> |
17 | | - <version>0.0.1-SNAPSHOT</version> |
18 | | - <name>AiFoodAPP</name> |
19 | | - <description>Aplicativo de comida utilizando IA</description> |
| 27 | + <dependencies> |
| 28 | + <!-- Spring Boot Starters --> |
| 29 | + <dependency> |
| 30 | + <groupId>org.springframework.boot</groupId> |
| 31 | + <artifactId>spring-boot-starter-oauth2-resource-server</artifactId> |
| 32 | + </dependency> |
| 33 | + <dependency> |
| 34 | + <groupId>org.springframework.boot</groupId> |
| 35 | + <artifactId>spring-boot-starter-oauth2-client</artifactId> |
| 36 | + </dependency> |
| 37 | + <dependency> |
| 38 | + <groupId>org.springframework.session</groupId> |
| 39 | + <artifactId>spring-session-jdbc</artifactId> |
| 40 | + </dependency> |
| 41 | + <dependency> |
| 42 | + <groupId>org.springframework.boot</groupId> |
| 43 | + <artifactId>spring-boot-starter-web</artifactId> |
| 44 | + </dependency> |
| 45 | + <dependency> |
| 46 | + <groupId>org.springframework.boot</groupId> |
| 47 | + <artifactId>spring-boot-starter-webflux</artifactId> |
| 48 | + </dependency> |
| 49 | + <dependency> |
| 50 | + <groupId>org.springframework.boot</groupId> |
| 51 | + <artifactId>spring-boot-starter-actuator</artifactId> |
| 52 | + </dependency> |
| 53 | + <dependency> |
| 54 | + <groupId>org.springframework.boot</groupId> |
| 55 | + <artifactId>spring-boot-starter-data-jpa</artifactId> |
| 56 | + </dependency> |
| 57 | + <dependency> |
| 58 | + <groupId>org.springframework.boot</groupId> |
| 59 | + <artifactId>spring-boot-starter-jdbc</artifactId> |
| 60 | + </dependency> |
| 61 | + <dependency> |
| 62 | + <groupId>org.springframework.boot</groupId> |
| 63 | + <artifactId>spring-boot-starter-security</artifactId> |
| 64 | + </dependency> |
| 65 | + <dependency> |
| 66 | + <groupId>org.springframework.boot</groupId> |
| 67 | + <artifactId>spring-boot-starter-test</artifactId> |
| 68 | + <scope>test</scope> |
| 69 | + </dependency> |
| 70 | + <dependency> |
| 71 | + <groupId>org.springframework.boot</groupId> |
| 72 | + <artifactId>spring-boot-starter-validation</artifactId> |
| 73 | + </dependency> |
| 74 | + <dependency> |
| 75 | + <groupId>org.springframework.session</groupId> |
| 76 | + <artifactId>spring-session-core</artifactId> |
| 77 | + </dependency> |
| 78 | + <dependency> |
| 79 | + <groupId>org.springframework.boot</groupId> |
| 80 | + <artifactId>spring-boot-starter-amqp</artifactId> |
| 81 | + </dependency> |
20 | 82 |
|
| 83 | + <dependency> |
| 84 | + <groupId>org.springframework.ai</groupId> |
| 85 | + <artifactId>spring-ai-openai-spring-boot-starter</artifactId> |
| 86 | + </dependency> |
21 | 87 |
|
22 | | - <properties> |
23 | | - <java.version>17</java.version> |
24 | | - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
25 | | - <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
26 | | - <spring-ai.version>1.0.0-M6</spring-ai.version> |
27 | | - <tomcat.version>11.0.7</tomcat.version> |
28 | | - </properties> |
| 88 | + <!-- Database & Migration --> |
| 89 | + <dependency> |
| 90 | + <groupId>org.postgresql</groupId> |
| 91 | + <artifactId>postgresql</artifactId> |
| 92 | + </dependency> |
| 93 | + <dependency> |
| 94 | + <groupId>org.flywaydb</groupId> |
| 95 | + <artifactId>flyway-database-postgresql</artifactId> |
| 96 | + <scope>runtime</scope> |
| 97 | + </dependency> |
29 | 98 |
|
30 | | - <dependencies> |
31 | | - <!-- Spring Boot Starters --> |
32 | | - <dependency> |
33 | | - <groupId>org.springframework.boot</groupId> |
34 | | - <artifactId>spring-boot-starter-oauth2-resource-server</artifactId> |
35 | | - </dependency> |
36 | | - <dependency> |
37 | | - <groupId>org.springframework.boot</groupId> |
38 | | - <artifactId>spring-boot-starter-oauth2-client</artifactId> |
39 | | - </dependency> |
40 | | - <dependency> |
41 | | - <groupId>org.springframework.session</groupId> |
42 | | - <artifactId>spring-session-jdbc</artifactId> |
43 | | - </dependency> |
44 | | - <dependency> |
45 | | - <groupId>org.springframework.boot</groupId> |
46 | | - <artifactId>spring-boot-starter-web</artifactId> |
47 | | - </dependency> |
48 | | - <dependency> |
49 | | - <groupId>org.springframework.boot</groupId> |
50 | | - <artifactId>spring-boot-starter-webflux</artifactId> |
51 | | - </dependency> |
52 | | - <dependency> |
53 | | - <groupId>org.springframework.boot</groupId> |
54 | | - <artifactId>spring-boot-starter-actuator</artifactId> |
55 | | - </dependency> |
56 | | - <dependency> |
57 | | - <groupId>org.springframework.boot</groupId> |
58 | | - <artifactId>spring-boot-starter-data-jpa</artifactId> |
59 | | - </dependency> |
60 | | - <dependency> |
61 | | - <groupId>org.springframework.boot</groupId> |
62 | | - <artifactId>spring-boot-starter-jdbc</artifactId> |
63 | | - </dependency> |
64 | | - <dependency> |
65 | | - <groupId>org.springframework.boot</groupId> |
66 | | - <artifactId>spring-boot-starter-security</artifactId> |
67 | | - </dependency> |
68 | | - <dependency> |
69 | | - <groupId>org.springframework.boot</groupId> |
70 | | - <artifactId>spring-boot-starter-test</artifactId> |
71 | | - <scope>test</scope> |
72 | | - </dependency> |
73 | | - <!-- https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-validation --> |
74 | | - <dependency> |
75 | | - <groupId>org.springframework.boot</groupId> |
76 | | - <artifactId>spring-boot-starter-validation</artifactId> |
77 | | - </dependency> |
78 | | - <dependency> |
79 | | - <groupId>org.springframework.session</groupId> |
80 | | - <artifactId>spring-session-core</artifactId> |
81 | | - </dependency> |
| 99 | + <!-- Utility --> |
| 100 | + <dependency> |
| 101 | + <groupId>org.projectlombok</groupId> |
| 102 | + <artifactId>lombok</artifactId> |
| 103 | + <optional>true</optional> |
| 104 | + </dependency> |
| 105 | + <dependency> |
| 106 | + <groupId>io.github.cdimascio</groupId> |
| 107 | + <artifactId>dotenv-java</artifactId> |
| 108 | + <version>3.0.0</version> |
| 109 | + </dependency> |
| 110 | + <dependency> |
| 111 | + <groupId>io.projectreactor</groupId> |
| 112 | + <artifactId>reactor-core</artifactId> |
| 113 | + </dependency> |
82 | 114 |
|
83 | | - <!-- Spring AI Dependencies --> |
84 | | - <dependency> |
85 | | - <groupId>org.springframework.ai</groupId> |
86 | | - <artifactId>spring-ai-core</artifactId> |
87 | | - <version>${spring-ai.version}</version> |
88 | | - </dependency> |
89 | | - <dependency> |
90 | | - <groupId>org.springframework.ai</groupId> |
91 | | - <artifactId>spring-ai-openai</artifactId> |
92 | | - <version>${spring-ai.version}</version> |
93 | | - </dependency> |
94 | | - <dependency> |
95 | | - <groupId>org.springframework.ai</groupId> |
96 | | - <artifactId>spring-ai-openai-spring-boot-starter</artifactId> |
97 | | - <version>${spring-ai.version}</version> |
98 | | - </dependency> |
99 | | - <dependency> |
100 | | - <groupId>org.springframework.ai</groupId> |
101 | | - <artifactId>spring-ai-spring-boot-autoconfigure</artifactId> |
102 | | - <version>${spring-ai.version}</version> |
103 | | - </dependency> |
| 115 | + <!-- Security --> |
| 116 | + <dependency> |
| 117 | + <groupId>com.auth0</groupId> |
| 118 | + <artifactId>java-jwt</artifactId> |
| 119 | + <version>4.4.0</version> |
| 120 | + </dependency> |
| 121 | + </dependencies> |
104 | 122 |
|
105 | | - <!-- Database & Migration --> |
106 | | - <dependency> |
107 | | - <groupId>org.postgresql</groupId> |
108 | | - <artifactId>postgresql</artifactId> |
109 | | - </dependency> |
110 | | - <dependency> |
111 | | - <groupId>org.flywaydb</groupId> |
112 | | - <artifactId>flyway-database-postgresql</artifactId> |
113 | | - <scope>runtime</scope> |
114 | | - </dependency> |
| 123 | + <dependencyManagement> |
| 124 | + <dependencies> |
| 125 | + <dependency> |
| 126 | + <groupId>org.springframework.ai</groupId> |
| 127 | + <artifactId>spring-ai-bom</artifactId> |
| 128 | + <version>${spring-ai.version}</version> |
| 129 | + <type>pom</type> |
| 130 | + <scope>import</scope> |
| 131 | + </dependency> |
| 132 | + </dependencies> |
| 133 | + </dependencyManagement> |
115 | 134 |
|
116 | | - <!-- Utility --> |
117 | | - <dependency> |
118 | | - <groupId>org.projectlombok</groupId> |
119 | | - <artifactId>lombok</artifactId> |
120 | | - </dependency> |
121 | | - <dependency> |
122 | | - <groupId>io.github.cdimascio</groupId> |
123 | | - <artifactId>dotenv-java</artifactId> |
124 | | - <version>2.3.2</version> |
125 | | - </dependency> |
126 | | - <dependency> |
127 | | - <groupId>io.projectreactor</groupId> |
128 | | - <artifactId>reactor-core</artifactId> |
129 | | - </dependency> |
| 135 | + <build> |
| 136 | + <plugins> |
| 137 | + <plugin> |
| 138 | + <groupId>org.springframework.boot</groupId> |
| 139 | + <artifactId>spring-boot-maven-plugin</artifactId> |
| 140 | + <configuration> |
| 141 | + <excludes> |
| 142 | + <exclude> |
| 143 | + <groupId>org.projectlombok</groupId> |
| 144 | + <artifactId>lombok</artifactId> |
| 145 | + </exclude> |
| 146 | + </excludes> |
| 147 | + </configuration> |
| 148 | + </plugin> |
| 149 | + </plugins> |
| 150 | + </build> |
130 | 151 |
|
131 | | - <!-- Security --> |
132 | | - <dependency> |
133 | | - <groupId>com.auth0</groupId> |
134 | | - <artifactId>java-jwt</artifactId> |
135 | | - <version>4.5.0</version> |
136 | | - </dependency> |
137 | 152 |
|
138 | | - </dependencies> |
| 153 | + <repositories> |
| 154 | + <repository> |
| 155 | + <id>spring-milestones</id> |
| 156 | + <name>Spring Milestones</name> |
| 157 | + <url>https://repo.spring.io/milestone</url> |
| 158 | + <snapshots> |
| 159 | + <enabled>false</enabled> |
| 160 | + </snapshots> |
| 161 | + </repository> |
| 162 | + </repositories> |
139 | 163 |
|
140 | 164 |
|
141 | | - <build> |
142 | | - <plugins> |
143 | | - <plugin> |
144 | | - <groupId>org.springframework.boot</groupId> |
145 | | - <artifactId>spring-boot-maven-plugin</artifactId> |
146 | | - <configuration> |
147 | | - </configuration> |
148 | | - </plugin> |
149 | | - <plugin> |
150 | | - <groupId>org.apache.maven.plugins</groupId> |
151 | | - <artifactId>maven-resources-plugin</artifactId> |
152 | | - <version>3.3.1</version> |
153 | | - <configuration> |
154 | | - <encoding>UTF-8</encoding> |
155 | | - <nonFilteredFileExtensions> |
156 | | - <nonFilteredFileExtension>properties</nonFilteredFileExtension> |
157 | | - </nonFilteredFileExtensions> |
158 | | - </configuration> |
159 | | - </plugin> |
160 | | - </plugins> |
161 | | - </build> |
162 | | - </project> |
| 165 | +</project> |
163 | 166 |
|
0 commit comments