Skip to content

Commit abb3f98

Browse files
committed
Remove flow-build-info.json from compiled JAR
1 parent 05e57ff commit abb3f98

File tree

1 file changed

+17
-6
lines changed

1 file changed

+17
-6
lines changed

pom.xml

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@
108108
</exclusion>
109109
</exclusions>
110110
</dependency>
111-
<dependency>
111+
<dependency>
112112
<groupId>javax.servlet</groupId>
113113
<artifactId>javax.servlet-api</artifactId>
114114
<version>3.0.1</version>
@@ -151,7 +151,7 @@
151151
<plugin>
152152
<groupId>org.apache.maven.plugins</groupId>
153153
<artifactId>maven-jar-plugin</artifactId>
154-
<version>3.0.2</version>
154+
<version>3.1.2</version>
155155
<configuration>
156156
<archive>
157157
<index>true</index>
@@ -250,8 +250,19 @@
250250
<additionalparam>-Xdoclint:none</additionalparam>
251251
</configuration>
252252
</plugin>
253-
</plugins>
254-
</build>
255-
</profile>
256-
</profiles>
253+
<plugin>
254+
<groupId>org.apache.maven.plugins</groupId>
255+
<artifactId>maven-jar-plugin</artifactId>
256+
<version>3.1.2</version>
257+
<configuration>
258+
<!-- Generated file that shouldn't be included in add-ons -->
259+
<excludes>
260+
<exclude>META-INF/VAADIN/config/flow-build-info.json</exclude>
261+
</excludes>
262+
</configuration>
263+
</plugin>
264+
</plugins>
265+
</build>
266+
</profile>
267+
</profiles>
257268
</project>

0 commit comments

Comments
 (0)