Skip to content

Commit 661c959

Browse files
committed
Improve pom for Vaadin 24
1 parent 4dd2bc4 commit 661c959

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

vaadin-addon-template-demo/pom.xml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -134,16 +134,19 @@
134134
<profiles>
135135
<profile>
136136
<id>production</id>
137-
<properties>
138-
<vaadin.productionMode>true</vaadin.productionMode>
139-
</properties>
140137
<dependencies>
138+
<!-- Exclude development dependencies from production -->
141139
<dependency>
142140
<groupId>com.vaadin</groupId>
143-
<artifactId>flow-server-production-mode</artifactId>
141+
<artifactId>vaadin-core</artifactId>
142+
<exclusions>
143+
<exclusion>
144+
<groupId>com.vaadin</groupId>
145+
<artifactId>vaadin-dev</artifactId>
146+
</exclusion>
147+
</exclusions>
144148
</dependency>
145149
</dependencies>
146-
147150
<build>
148151
<plugins>
149152
<plugin>

0 commit comments

Comments
 (0)