Skip to content

Commit 1532023

Browse files
authored
refactor: Move frontend build classes to flow-build-tools (#23161)
The idea with flow-build-tools is that it contains classes only used by vaadin-dev-server and the plugins. It is ok for flow-build-tools to depend on flow-server but not the other way around This fixes the dependency so flow-build-tools depend on flow-server and not the other way around
1 parent 13427a0 commit 1532023

File tree

229 files changed

+53
-128
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

229 files changed

+53
-128
lines changed

flow-build-tools/pom.xml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,28 @@
2424
<artifactId>commons-compress</artifactId>
2525
<version>1.28.0</version>
2626
</dependency>
27+
<dependency>
28+
<groupId>com.vaadin</groupId>
29+
<artifactId>license-checker</artifactId>
30+
<scope>provided</scope>
31+
</dependency>
32+
<dependency>
33+
<groupId>com.vaadin</groupId>
34+
<artifactId>flow-server</artifactId>
35+
<version>${project.version}</version>
36+
</dependency>
37+
<!-- Byte code analysis -->
38+
<dependency>
39+
<groupId>org.ow2.asm</groupId>
40+
<artifactId>asm</artifactId>
41+
</dependency>
42+
<!-- API DEPENDENCIES -->
43+
44+
<dependency>
45+
<groupId>jakarta.servlet</groupId>
46+
<artifactId>jakarta.servlet-api</artifactId>
47+
<scope>provided</scope>
48+
</dependency>
2749

2850
<!-- Test dependencies -->
2951

@@ -39,6 +61,13 @@
3961
<version>${project.version}</version>
4062
<scope>test</scope>
4163
</dependency>
64+
<dependency>
65+
<groupId>com.vaadin</groupId>
66+
<artifactId>flow-server</artifactId>
67+
<version>${project.version}</version>
68+
<type>test-jar</type>
69+
<scope>test</scope>
70+
</dependency>
4271

4372
</dependencies>
4473

flow-server/src/main/java/com/vaadin/flow/server/frontend/AbstractFileGeneratorFallibleCommand.java renamed to flow-build-tools/src/main/java/com/vaadin/flow/server/frontend/AbstractFileGeneratorFallibleCommand.java

File renamed without changes.

flow-server/src/main/java/com/vaadin/flow/server/frontend/AbstractTaskClientGenerator.java renamed to flow-build-tools/src/main/java/com/vaadin/flow/server/frontend/AbstractTaskClientGenerator.java

File renamed without changes.

flow-server/src/main/java/com/vaadin/flow/server/frontend/AbstractUpdateImports.java renamed to flow-build-tools/src/main/java/com/vaadin/flow/server/frontend/AbstractUpdateImports.java

File renamed without changes.

flow-server/src/main/java/com/vaadin/flow/server/frontend/BundleBuildUtils.java renamed to flow-build-tools/src/main/java/com/vaadin/flow/server/frontend/BundleBuildUtils.java

File renamed without changes.

flow-server/src/main/java/com/vaadin/flow/server/frontend/BundleValidationUtil.java renamed to flow-build-tools/src/main/java/com/vaadin/flow/server/frontend/BundleValidationUtil.java

File renamed without changes.

flow-server/src/main/java/com/vaadin/flow/server/frontend/CvdlProducts.java renamed to flow-build-tools/src/main/java/com/vaadin/flow/server/frontend/CvdlProducts.java

File renamed without changes.

flow-server/src/main/java/com/vaadin/flow/server/frontend/EndpointGeneratorTaskFactory.java renamed to flow-build-tools/src/main/java/com/vaadin/flow/server/frontend/EndpointGeneratorTaskFactory.java

File renamed without changes.

flow-server/src/main/java/com/vaadin/flow/server/frontend/ExclusionFilter.java renamed to flow-build-tools/src/main/java/com/vaadin/flow/server/frontend/ExclusionFilter.java

File renamed without changes.

flow-server/src/main/java/com/vaadin/flow/server/frontend/ExecutionFailedException.java renamed to flow-build-tools/src/main/java/com/vaadin/flow/server/frontend/ExecutionFailedException.java

File renamed without changes.

0 commit comments

Comments
 (0)