|
28 | 28 | <groupId>com.vaadin</groupId> |
29 | 29 | <artifactId>vaadin-spring-boot-starter</artifactId> |
30 | 30 | <exclusions> |
31 | | - <!-- We don't use hilla, so we don't need it --> |
32 | | - <exclusion> |
33 | | - <groupId>com.vaadin</groupId> |
34 | | - <artifactId>hilla</artifactId> |
35 | | - </exclusion> |
36 | | - <exclusion> |
37 | | - <groupId>com.vaadin</groupId> |
38 | | - <artifactId>hilla-dev</artifactId> |
39 | | - </exclusion> |
40 | | - <!-- https://github.com/vaadin/copilot/issues/7 --> |
41 | | - <exclusion> |
42 | | - <groupId>com.vaadin</groupId> |
43 | | - <artifactId>copilot</artifactId> |
44 | | - </exclusion> |
45 | | - <!-- We use Lumo - also not sure why this is included by default --> |
46 | | - <exclusion> |
47 | | - <groupId>com.vaadin</groupId> |
48 | | - <artifactId>vaadin-material-theme</artifactId> |
49 | | - </exclusion> |
50 | | - <!-- React is not enabled and thus not required --> |
51 | | - <exclusion> |
52 | | - <groupId>com.vaadin</groupId> |
53 | | - <artifactId>flow-react</artifactId> |
54 | | - </exclusion> |
55 | | - <!-- Is not active (requires license - just an OpenAI wrapper), why is this shipped by default (dev-only)? --> |
56 | | - <exclusion> |
57 | | - <groupId>com.vaadin</groupId> |
58 | | - <artifactId>ui-tests</artifactId> |
59 | | - </exclusion> |
60 | 31 | <!-- There is like 10 people on the planet that need this, why is this shipped by default??? --> |
61 | 32 | <exclusion> |
62 | 33 | <groupId>com.vaadin</groupId> |
63 | 34 | <artifactId>collaboration-engine</artifactId> |
64 | 35 | </exclusion> |
65 | | - <!-- Just useless for us - we don't use an appserver --> |
66 | | - <exclusion> |
67 | | - <groupId>com.vaadin.servletdetector</groupId> |
68 | | - <artifactId>throw-if-servlet3</artifactId> |
69 | | - </exclusion> |
70 | 36 |
|
71 | 37 | <!-- We don't use these components --> |
72 | 38 | <exclusion> |
|
91 | 57 | </exclusion> |
92 | 58 | </exclusions> |
93 | 59 | </dependency> |
| 60 | + <dependency> |
| 61 | + <groupId>com.vaadin</groupId> |
| 62 | + <artifactId>vaadin-dev</artifactId> |
| 63 | + <optional>true</optional> |
| 64 | + <exclusions> |
| 65 | + <exclusion> |
| 66 | + <groupId>com.vaadin</groupId> |
| 67 | + <artifactId>copilot</artifactId> |
| 68 | + </exclusion> |
| 69 | + </exclusions> |
| 70 | + </dependency> |
94 | 71 |
|
95 | 72 | <!-- SSE --> |
96 | 73 | <dependency> |
|
170 | 147 | </execution> |
171 | 148 | </executions> |
172 | 149 | <configuration> |
| 150 | + <!-- Allows for greater control --> |
| 151 | + <pnpmEnable>true</pnpmEnable> |
173 | 152 | <!-- Can only be true if hilla is used --> |
174 | 153 | <!-- Takes a few seconds to scan everything for hilla --> |
175 | 154 | <frontendHotdeploy>false</frontendHotdeploy> |
176 | | - <!-- Prevent scanning for react (not used) --> |
177 | | - <reactEnable>false</reactEnable> |
178 | 155 | <frontendScanner> |
179 | 156 | <includes> |
180 | 157 | <include> |
|
225 | 202 | </profile> |
226 | 203 | <profile> |
227 | 204 | <id>prod</id> |
228 | | - <dependencies> |
229 | | - <!-- Exclude development dependencies from production --> |
230 | | - <dependency> |
231 | | - <groupId>com.vaadin</groupId> |
232 | | - <artifactId>vaadin-core</artifactId> |
233 | | - <exclusions> |
234 | | - <exclusion> |
235 | | - <groupId>com.vaadin</groupId> |
236 | | - <artifactId>vaadin-dev</artifactId> |
237 | | - </exclusion> |
238 | | - </exclusions> |
239 | | - </dependency> |
240 | | - </dependencies> |
241 | 205 | <build> |
242 | 206 | <resources> |
243 | 207 | <resource> |
|
0 commit comments