|
7 | 7 | <parent> |
8 | 8 | <groupId>software.xdev</groupId> |
9 | 9 | <artifactId>vaadin-chartjs-wrapper-root</artifactId> |
10 | | - <version>1.0.2-SNAPSHOT</version> |
| 10 | + <version>2.0.0-SNAPSHOT</version> |
11 | 11 | </parent> |
12 | 12 |
|
13 | 13 | <artifactId>vaadin-chartjs-wrapper-demo</artifactId> |
14 | | - <version>1.0.2-SNAPSHOT</version> |
| 14 | + <version>2.0.0-SNAPSHOT</version> |
15 | 15 | <packaging>jar</packaging> |
16 | 16 |
|
17 | 17 | <organization> |
|
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> |
|
109 | 96 | <dependency> |
110 | 97 | <groupId>com.vaadin</groupId> |
111 | 98 | <artifactId>vaadin-spring-boot-starter</artifactId> |
112 | | - <exclusions> |
113 | | - <!-- No Hilla is used --> |
114 | | - <exclusion> |
115 | | - <groupId>com.vaadin</groupId> |
116 | | - <artifactId>hilla</artifactId> |
117 | | - </exclusion> |
118 | | - </exclusions> |
119 | | - </dependency> |
120 | | - <!-- Temporarily excluded by Vaadin due to "security vulnerability" --> |
121 | | - <dependency> |
122 | | - <groupId>org.yaml</groupId> |
123 | | - <artifactId>snakeyaml</artifactId> |
124 | 99 | </dependency> |
125 | 100 | <dependency> |
126 | 101 | <groupId>org.springframework.boot</groupId> |
|
143 | 118 | </pluginManagement> |
144 | 119 |
|
145 | 120 | <plugins> |
146 | | - <plugin> |
147 | | - <groupId>org.codehaus.mojo</groupId> |
148 | | - <artifactId>exec-maven-plugin</artifactId> |
149 | | - <version>3.6.3</version> |
150 | | - <executions> |
151 | | - <execution> |
152 | | - <id>patch-package-json-overrides</id> |
153 | | - <phase>compile</phase> |
154 | | - <goals> |
155 | | - <goal>java</goal> |
156 | | - </goals> |
157 | | - <configuration> |
158 | | - <mainClass>software.xdev.vaadin.vpjo.Launcher</mainClass> |
159 | | - <arguments> |
160 | | - <argument>${project.basedir}</argument> |
161 | | - <argument>${project.build.directory}</argument> |
162 | | - </arguments> |
163 | | - <includeProjectDependencies>false</includeProjectDependencies> |
164 | | - <includePluginDependencies>true</includePluginDependencies> |
165 | | - <executableDependency> |
166 | | - <groupId>software.xdev</groupId> |
167 | | - <artifactId>vaadin-package-json-optimizer</artifactId> |
168 | | - </executableDependency> |
169 | | - </configuration> |
170 | | - </execution> |
171 | | - </executions> |
172 | | - <dependencies> |
173 | | - <dependency> |
174 | | - <groupId>software.xdev</groupId> |
175 | | - <artifactId>vaadin-package-json-optimizer</artifactId> |
176 | | - <version>1.0.0</version> |
177 | | - </dependency> |
178 | | - </dependencies> |
179 | | - </plugin> |
180 | 121 | <plugin> |
181 | 122 | <groupId>com.vaadin</groupId> |
182 | 123 | <artifactId>vaadin-maven-plugin</artifactId> |
|
189 | 130 | </execution> |
190 | 131 | </executions> |
191 | 132 | <configuration> |
| 133 | + <!-- PNPM allows --> |
| 134 | + <pnpmEnable>true</pnpmEnable> |
192 | 135 | <!-- Can only be true if hilla is used --> |
193 | 136 | <!-- Takes a few seconds to scan everything for hilla --> |
194 | 137 | <frontendHotdeploy>false</frontendHotdeploy> |
195 | | - <!-- Prevent scanning for react (not used) --> |
196 | | - <reactEnable>false</reactEnable> |
197 | 138 | <!-- Only scan required --> |
198 | 139 | <frontendScanner> |
199 | 140 | <includes> |
|
233 | 174 | <activation> |
234 | 175 | <activeByDefault>true</activeByDefault> |
235 | 176 | </activation> |
236 | | - <dependencies> |
237 | | - <dependency> |
238 | | - <groupId>software.xdev</groupId> |
239 | | - <artifactId>vaadin-package-json-optimizer</artifactId> |
240 | | - <version>1.0.0</version> |
241 | | - </dependency> |
242 | | - </dependencies> |
243 | 177 | </profile> |
244 | 178 | <profile> |
245 | 179 | <id>production</id> |
246 | | - <dependencies> |
247 | | - <!-- Exclude development dependencies from production --> |
248 | | - <dependency> |
249 | | - <groupId>com.vaadin</groupId> |
250 | | - <artifactId>vaadin-core</artifactId> |
251 | | - <exclusions> |
252 | | - <exclusion> |
253 | | - <groupId>com.vaadin</groupId> |
254 | | - <artifactId>vaadin-dev</artifactId> |
255 | | - </exclusion> |
256 | | - </exclusions> |
257 | | - </dependency> |
258 | | - </dependencies> |
259 | 180 | <build> |
260 | 181 | <plugins> |
261 | 182 | <plugin> |
|
0 commit comments