Skip to content

Commit

Permalink
chore: prevent jandex artifact to import transitive dependencies (#19937
Browse files Browse the repository at this point in the history
) (#19939)

Makes all flow-jandex dependencies provided scoped to prevent optional
adding transitive dependencies on the user project.
Also removes optional dependencies that might not be automatically
added by Vaadin (e.g. polymer templates) or excluded by the user
project (e.g. vaadin-dev-server).

Part of vaadin/quarkus#158

Co-authored-by: Marco Collovati <[email protected]>
  • Loading branch information
vaadin-bot and mcollovati authored Sep 12, 2024
1 parent a16b909 commit 12de7a0
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions flow-jandex/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,46 +35,43 @@
<groupId>com.vaadin</groupId>
<artifactId>flow-server</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.vaadin</groupId>
<artifactId>flow-polymer-template</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.vaadin</groupId>
<artifactId>flow-lit-template</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.vaadin</groupId>
<artifactId>flow-push</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.vaadin</groupId>
<artifactId>flow-data</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.vaadin</groupId>
<artifactId>flow-html-components</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.vaadin</groupId>
<artifactId>flow-server-production-mode</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.vaadin</groupId>
<artifactId>flow-dnd</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.vaadin</groupId>
<artifactId>vaadin-dev-server</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
</dependency>
</dependencies>

Expand Down

0 comments on commit 12de7a0

Please sign in to comment.