Skip to content

Commit 7c8a258

Browse files
committed
Hand over dependency control to spring boot
Flatten maven plugin will resolve these versions anyway
1 parent a33d45a commit 7c8a258

File tree

2 files changed

+20
-8
lines changed
  • vaadin-package-json-optimizer-demo
  • vaadin-package-json-optimizer

2 files changed

+20
-8
lines changed

vaadin-package-json-optimizer-demo/pom.xml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,23 @@
149149
<frontendHotdeploy>false</frontendHotdeploy>
150150
<!-- Prevent scanning for react (not used) -->
151151
<reactEnable>false</reactEnable>
152+
<!-- Only scan required -->
153+
<frontendScanner>
154+
<includes>
155+
<include>
156+
<groupId>software.xdev</groupId>
157+
<artifactId>*vaadin*</artifactId>
158+
</include>
159+
<include>
160+
<groupId>com.vaadin</groupId>
161+
</include>
162+
</includes>
163+
<excludes>
164+
<exclude>
165+
<groupId>com.vaadin.external*</groupId>
166+
</exclude>
167+
</excludes>
168+
</frontendScanner>
152169
</configuration>
153170
</plugin>
154171
<plugin>

vaadin-package-json-optimizer/pom.xml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@
5252
<dependencyManagement>
5353
<dependencies>
5454
<dependency>
55-
<groupId>com.fasterxml.jackson</groupId>
56-
<artifactId>jackson-bom</artifactId>
57-
<version>2.20.0</version>
55+
<groupId>org.springframework.boot</groupId>
56+
<artifactId>spring-boot-dependencies</artifactId>
57+
<version>3.5.5</version>
5858
<type>pom</type>
5959
<scope>import</scope>
6060
</dependency>
@@ -82,35 +82,30 @@
8282
<dependency>
8383
<groupId>org.slf4j</groupId>
8484
<artifactId>slf4j-api</artifactId>
85-
<version>2.0.17</version>
8685
<scope>provided</scope>
8786
</dependency>
8887

8988
<dependency>
9089
<groupId>org.springframework</groupId>
9190
<artifactId>spring-context</artifactId>
92-
<version>6.2.11</version>
9391
<scope>provided</scope>
9492
</dependency>
9593

9694
<dependency>
9795
<groupId>jakarta.validation</groupId>
9896
<artifactId>jakarta.validation-api</artifactId>
99-
<version>3.1.1</version>
10097
<scope>provided</scope>
10198
</dependency>
10299

103100
<dependency>
104101
<groupId>org.springframework.boot</groupId>
105102
<artifactId>spring-boot-autoconfigure</artifactId>
106-
<version>3.5.5</version>
107103
<scope>provided</scope>
108104
</dependency>
109105

110106
<dependency>
111107
<groupId>jakarta.servlet</groupId>
112108
<artifactId>jakarta.servlet-api</artifactId>
113-
<version>6.1.0</version>
114109
<scope>provided</scope>
115110
</dependency>
116111
</dependencies>

0 commit comments

Comments
 (0)