Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make vaadin dependency optional and add profiles for snapshot versions #162

Merged
merged 2 commits into from
Oct 3, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 40 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,23 @@
</developers>

<repositories>
<repository>
<id>Vaadin Directory</id>
<url>https://maven.vaadin.com/vaadin-addons</url>
</repository>
<repository>
<id>central</id>
<url>https://repo.maven.apache.org/maven2</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>vaadin-snapshots</id>
<url>https://tools.vaadin.com/nexus/content/repositories/vaadin-snapshots/</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
<releases>
<enabled>false</enabled>
</releases>
</repository>
<repository>
<id>FlowingCode Snapshots</id>
<url>https://maven.flowingcode.com/snapshots</url>
Expand All @@ -55,6 +68,26 @@
</repository>
</repositories>

<pluginRepositories>
<pluginRepository>
<id>central</id>
<url>https://repo.maven.apache.org/maven2</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
<pluginRepository>
<id>vaadin-snapshots</id>
<url>https://tools.vaadin.com/nexus/content/repositories/vaadin-snapshots/</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
<releases>
<enabled>false</enabled>
</releases>
</pluginRepository>
</pluginRepositories>

<scm>
<url>https://github.com/FlowingCode/TwinColGridAddon</url>
<connection>scm:git:git://github.com/FlowingCode/TwinColGridAddon.git</connection>
Expand Down Expand Up @@ -85,6 +118,7 @@
<dependency>
<groupId>com.vaadin</groupId>
<artifactId>vaadin-core</artifactId>
<optional>true</optional>
<exclusions>
<!-- Webjars are only needed when running in Vaadin 13 compatibility mode in V14.
Your add-on can support npm in the same version mode and V13 compatiblity mode at the same time,
Expand Down Expand Up @@ -350,7 +384,7 @@
<profile>
<id>v23</id>
<properties>
<vaadin.version>23.3.5</vaadin.version>
<vaadin.version>23.3-SNAPSHOT</vaadin.version>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
</properties>
Expand All @@ -361,7 +395,7 @@
<properties>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<vaadin.version>24.1.10</vaadin.version>
<vaadin.version>24.1-SNAPSHOT</vaadin.version>
<jetty.version>11.0.12</jetty.version>
</properties>
<repositories>
Expand Down