|
20 | 20 | </organization> |
21 | 21 |
|
22 | 22 | <properties> |
23 | | - <javaVersion>17</javaVersion> |
| 23 | + <javaVersion>21</javaVersion> |
24 | 24 | <maven.compiler.release>${javaVersion}</maven.compiler.release> |
25 | 25 |
|
26 | 26 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
|
62 | 62 | <groupId>com.vaadin</groupId> |
63 | 63 | <artifactId>vaadin-core</artifactId> |
64 | 64 | <exclusions> |
65 | | - <!-- No Hilla is used --> |
66 | | - <exclusion> |
67 | | - <groupId>com.vaadin</groupId> |
68 | | - <artifactId>hilla-dev</artifactId> |
69 | | - </exclusion> |
70 | | - <exclusion> |
71 | | - <groupId>com.vaadin</groupId> |
72 | | - <artifactId>copilot</artifactId> |
73 | | - </exclusion> |
74 | | - <!-- Lumo is used instead --> |
75 | | - <exclusion> |
76 | | - <groupId>com.vaadin</groupId> |
77 | | - <artifactId>vaadin-material-theme</artifactId> |
78 | | - </exclusion> |
79 | | - <!-- React is not enabled and thus not required --> |
80 | | - <exclusion> |
81 | | - <groupId>com.vaadin</groupId> |
82 | | - <artifactId>flow-react</artifactId> |
83 | | - </exclusion> |
84 | 65 | <!-- There is like 10 people on the planet that need this by default --> |
85 | 66 | <exclusion> |
86 | 67 | <groupId>com.vaadin</groupId> |
87 | 68 | <artifactId>collaboration-engine</artifactId> |
88 | 69 | </exclusion> |
89 | | - <!-- No Wildfly used here --> |
| 70 | + </exclusions> |
| 71 | + </dependency> |
| 72 | + <dependency> |
| 73 | + <groupId>com.vaadin</groupId> |
| 74 | + <artifactId>vaadin-dev</artifactId> |
| 75 | + <optional>true</optional> |
| 76 | + <exclusions> |
90 | 77 | <exclusion> |
91 | | - <groupId>com.vaadin.servletdetector</groupId> |
92 | | - <artifactId>throw-if-servlet3</artifactId> |
| 78 | + <groupId>com.vaadin</groupId> |
| 79 | + <artifactId>copilot</artifactId> |
93 | 80 | </exclusion> |
94 | 81 | </exclusions> |
95 | 82 | </dependency> |
| 83 | + |
96 | 84 | <dependency> |
97 | 85 | <groupId>software.xdev</groupId> |
98 | 86 | <artifactId>template-placeholder</artifactId> |
|
103 | 91 | <dependency> |
104 | 92 | <groupId>com.vaadin</groupId> |
105 | 93 | <artifactId>vaadin-spring-boot-starter</artifactId> |
106 | | - <exclusions> |
107 | | - <!-- No Hilla is used --> |
108 | | - <exclusion> |
109 | | - <groupId>com.vaadin</groupId> |
110 | | - <artifactId>hilla</artifactId> |
111 | | - </exclusion> |
112 | | - </exclusions> |
113 | | - </dependency> |
114 | | - <!-- Temporarily excluded by Vaadin due to "security vulnerability" --> |
115 | | - <dependency> |
116 | | - <groupId>org.yaml</groupId> |
117 | | - <artifactId>snakeyaml</artifactId> |
118 | 94 | </dependency> |
119 | 95 | <dependency> |
120 | 96 | <groupId>org.springframework.boot</groupId> |
|
137 | 113 | </pluginManagement> |
138 | 114 |
|
139 | 115 | <plugins> |
140 | | - <plugin> |
141 | | - <groupId>org.codehaus.mojo</groupId> |
142 | | - <artifactId>exec-maven-plugin</artifactId> |
143 | | - <version>3.6.3</version> |
144 | | - <executions> |
145 | | - <execution> |
146 | | - <id>patch-package-json-overrides</id> |
147 | | - <phase>compile</phase> |
148 | | - <goals> |
149 | | - <goal>java</goal> |
150 | | - </goals> |
151 | | - <configuration> |
152 | | - <mainClass>software.xdev.vaadin.vpjo.Launcher</mainClass> |
153 | | - <arguments> |
154 | | - <argument>${project.basedir}</argument> |
155 | | - <argument>${project.build.directory}</argument> |
156 | | - </arguments> |
157 | | - <includeProjectDependencies>false</includeProjectDependencies> |
158 | | - <includePluginDependencies>true</includePluginDependencies> |
159 | | - <executableDependency> |
160 | | - <groupId>software.xdev</groupId> |
161 | | - <artifactId>vaadin-package-json-optimizer</artifactId> |
162 | | - </executableDependency> |
163 | | - </configuration> |
164 | | - </execution> |
165 | | - </executions> |
166 | | - <dependencies> |
167 | | - <dependency> |
168 | | - <groupId>software.xdev</groupId> |
169 | | - <artifactId>vaadin-package-json-optimizer</artifactId> |
170 | | - <version>1.0.0</version> |
171 | | - </dependency> |
172 | | - </dependencies> |
173 | | - </plugin> |
174 | 116 | <plugin> |
175 | 117 | <groupId>com.vaadin</groupId> |
176 | 118 | <artifactId>vaadin-maven-plugin</artifactId> |
|
183 | 125 | </execution> |
184 | 126 | </executions> |
185 | 127 | <configuration> |
| 128 | + <!-- Allows for greater control --> |
| 129 | + <pnpmEnable>true</pnpmEnable> |
186 | 130 | <!-- Can only be true if hilla is used --> |
187 | 131 | <!-- Takes a few seconds to scan everything for hilla --> |
188 | 132 | <frontendHotdeploy>false</frontendHotdeploy> |
189 | | - <!-- Prevent scanning for react (not used) --> |
190 | | - <reactEnable>false</reactEnable> |
191 | 133 | <!-- Only scan required --> |
192 | 134 | <frontendScanner> |
193 | 135 | <includes> |
|
227 | 169 | <activation> |
228 | 170 | <activeByDefault>true</activeByDefault> |
229 | 171 | </activation> |
230 | | - <dependencies> |
231 | | - <dependency> |
232 | | - <groupId>software.xdev</groupId> |
233 | | - <artifactId>vaadin-package-json-optimizer</artifactId> |
234 | | - <version>1.0.0</version> |
235 | | - </dependency> |
236 | | - </dependencies> |
237 | 172 | </profile> |
238 | 173 | <profile> |
239 | 174 | <id>production</id> |
|
0 commit comments