-
Notifications
You must be signed in to change notification settings - Fork 2
build!: remove compatibility with Vaadin 23 AND feat!: replace classNameGenerator with partNameGenerator AND deprecate: deprecate footer/header styles #153
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
Changes from all commits
ab58b49
b0078f5
8823356
c74c3aa
26017f3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,42 @@ | ||
| # This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time | ||
| # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven | ||
|
|
||
| # This workflow uses actions that are not certified by GitHub. | ||
| # They are provided by a third-party and are governed by | ||
| # separate terms of service, privacy policy, and support | ||
| # documentation. | ||
|
|
||
| name: Java CI with Maven | ||
|
|
||
| on: | ||
| push: | ||
| branches: [ "1.x" ] | ||
| pull_request: | ||
| branches: [ "1.x" ] | ||
|
|
||
| jobs: | ||
| build-vaadin23: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - name: Set up JDK | ||
| uses: actions/setup-java@v3 | ||
| with: | ||
| java-version: '11' | ||
| distribution: 'temurin' | ||
| cache: maven | ||
| - name: Build (Vaadin 23) | ||
| run: mvn -B package --file pom.xml -Pv23 | ||
|
|
||
| build-vaadin24: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - name: Set up JDK | ||
| uses: actions/setup-java@v3 | ||
| with: | ||
| java-version: '17' | ||
| distribution: 'temurin' | ||
| cache: maven | ||
| - name: Build (Vaadin 24) | ||
| run: mvn -B package --file pom.xml -Pv24 | ||
coderabbitai[bot] marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -15,28 +15,28 @@ on: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
| branches: [ "master" ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| jobs: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| build-vaadin23: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| build-vaadin24: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| runs-on: ubuntu-latest | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| steps: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| - uses: actions/checkout@v4 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| - name: Set up JDK | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| uses: actions/setup-java@v3 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| with: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| java-version: '11' | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| java-version: '17' | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| distribution: 'temurin' | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| cache: maven | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| - name: Build (Vaadin 23) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| run: mvn -B package --file pom.xml -Pv23 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| - name: Build (Vaadin 24) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| run: mvn -B package --file pom.xml | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
coderabbitai[bot] marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| build-vaadin24: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| build-vaadin25: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| runs-on: ubuntu-latest | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| steps: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| - uses: actions/checkout@v4 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| - name: Set up JDK | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| uses: actions/setup-java@v3 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| with: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| java-version: '17' | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| java-version: '21' | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| distribution: 'temurin' | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| cache: maven | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| - name: Build (Vaadin 24) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| run: mvn -B package --file pom.xml -Pv24 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| - name: Build (Vaadin 25) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| run: mvn -B package --file pom.xml -Pv25 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Comment on lines
+31
to
+42
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🛠️ Refactor suggestion | 🟠 Major Vaadin 25 profile correctly configured. The job correctly updates to Java 21 and activates the v25 profile, enabling testing against Vaadin 25 RC. However, update to actions/setup-java@v4 to avoid deprecation: - name: Set up JDK
- uses: actions/setup-java@v3
+ uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
cache: maven📝 Committable suggestion
Suggested change
🧰 Tools🪛 actionlint (1.7.9)36-36: the runner of "actions/setup-java@v3" action is too old to run on GitHub Actions. update the action's version to fix this issue (action) 🤖 Prompt for AI Agents
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @coderabbitai Please create issue about it and mention that the change must be applied across all repos There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🏁 Script executed: Length of output: 53 @javier-godoy, I've created issue #154 about updating
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Issue has been transferred to https://github.com/FlowingCode/AddonsInternal/issues/134 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @javier-godoy, thank you for the update! I've noted that the issue has been transferred to the AddonsInternal repository. The new tracking link is: |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -10,15 +10,16 @@ | |
| <url>https://www.flowingcode.com/en/open-source/</url> | ||
|
|
||
| <properties> | ||
| <vaadin.version>23.3.35</vaadin.version> | ||
| <maven.compiler.source>11</maven.compiler.source> | ||
| <maven.compiler.target>11</maven.compiler.target> | ||
| <vaadin.version>24.8.14</vaadin.version> | ||
| <maven.compiler.source>17</maven.compiler.source> | ||
| <maven.compiler.target>17</maven.compiler.target> | ||
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
| <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> | ||
| <drivers.dir>${project.basedir}/drivers</drivers.dir> | ||
| <jetty.version>9.4.36.v20210114</jetty.version> | ||
| <jetty.version>11.0.26</jetty.version> | ||
| <webdrivermanager.version>6.1.0</webdrivermanager.version> | ||
| <driver-binary-downloader-maven-plugin.version>1.0.17</driver-binary-downloader-maven-plugin.version> | ||
| <driver-binary-downloader-maven-plugin.version>1.0.18</driver-binary-downloader-maven-plugin.version> | ||
| <frontend.hotdeploy>true</frontend.hotdeploy> | ||
| </properties> | ||
|
|
||
| <organization> | ||
|
|
@@ -62,7 +63,7 @@ | |
| <dependency> | ||
| <groupId>com.flowingcode.vaadin.addons.demo</groupId> | ||
| <artifactId>commons-demo</artifactId> | ||
| <version>3.8.0</version> | ||
| <version>4.3.0</version> | ||
| </dependency> | ||
| </dependencies> | ||
| </dependencyManagement> | ||
|
|
@@ -78,16 +79,6 @@ | |
| <repository> | ||
| <id>Vaadin Directory</id> | ||
| <url>https://maven.vaadin.com/vaadin-addons</url> | ||
| </repository> | ||
| <!-- Repository needed for prerelease versions of Vaadin --> | ||
| <repository> | ||
| <id>Vaadin prereleases</id> | ||
| <url>https://maven.vaadin.com/vaadin-prereleases</url> | ||
| </repository> | ||
| <!-- Repository needed for the snapshot versions of Vaadin --> | ||
| <repository> | ||
| <id>vaadin-snapshots</id> | ||
| <url>https://oss.sonatype.org/content/repositories/vaadin-snapshots/</url> | ||
| </repository> | ||
| <repository> | ||
| <id>FlowingCode Snapshots</id> | ||
|
|
@@ -101,26 +92,6 @@ | |
| </repository> | ||
| </repositories> | ||
|
|
||
| <pluginRepositories> | ||
| <pluginRepository> | ||
| <id>central</id> | ||
| <url>https://repo.maven.apache.org/maven2</url> | ||
| <snapshots> | ||
| <enabled>false</enabled> | ||
| </snapshots> | ||
| </pluginRepository> | ||
| <!-- Repository needed for prerelease versions of Vaadin --> | ||
| <pluginRepository> | ||
| <id>Vaadin prereleases</id> | ||
| <url>https://maven.vaadin.com/vaadin-prereleases</url> | ||
| </pluginRepository> | ||
| <pluginRepository> | ||
| <id>vaadin-snapshots</id> | ||
| <url>https://oss.sonatype.org/content/repositories/vaadin-snapshots/</url> | ||
| <releases><enabled>false</enabled></releases> | ||
| </pluginRepository> | ||
| </pluginRepositories> | ||
|
|
||
| <dependencies> | ||
| <dependency> | ||
| <groupId>org.projectlombok</groupId> | ||
|
|
@@ -546,43 +517,6 @@ | |
| </build> | ||
| </profile> | ||
|
|
||
| <profile> | ||
| <id>v23</id> | ||
| <properties> | ||
| <vaadin.version>23.3.5</vaadin.version> | ||
| <maven.compiler.source>11</maven.compiler.source> | ||
| <maven.compiler.target>11</maven.compiler.target> | ||
| </properties> | ||
| </profile> | ||
|
|
||
| <profile> | ||
| <id>v24</id> | ||
| <properties> | ||
| <maven.compiler.source>17</maven.compiler.source> | ||
| <maven.compiler.target>17</maven.compiler.target> | ||
| <vaadin.version>24.2.6</vaadin.version> | ||
| <jetty.version>11.0.12</jetty.version> | ||
| <frontend.hotdeploy>true</frontend.hotdeploy> | ||
| <webdrivermanager.version>5.6.3</webdrivermanager.version> | ||
| <driver-binary-downloader-maven-plugin.version>1.0.18</driver-binary-downloader-maven-plugin.version> | ||
| </properties> | ||
|
|
||
| <dependencies> | ||
| <dependency> | ||
| <groupId>org.seleniumhq.selenium</groupId> | ||
| <artifactId>selenium-java</artifactId> | ||
| <version>4.17.0</version> | ||
| <scope>test</scope> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>com.flowingcode.vaadin.addons.demo</groupId> | ||
| <artifactId>commons-demo</artifactId> | ||
| <version>4.2.0</version> | ||
| <scope>test</scope> | ||
| </dependency> | ||
| </dependencies> | ||
| </profile> | ||
|
|
||
| <profile> | ||
| <id>release</id> | ||
| <build> | ||
|
|
@@ -602,28 +536,20 @@ | |
| <properties> | ||
| <maven.compiler.source>21</maven.compiler.source> | ||
| <maven.compiler.target>21</maven.compiler.target> | ||
| <vaadin.version>25.0.0-beta7</vaadin.version> | ||
| <vaadin.version>25.0.0-rc1</vaadin.version> | ||
| <jetty.version>11.0.26</jetty.version> | ||
| </properties> | ||
| <repositories> | ||
| <repository> | ||
| <id>vaadin-prerelease</id> | ||
| <url>https://maven.vaadin.com/vaadin-prereleases</url> | ||
| </repository> | ||
| </repositories> | ||
| <pluginRepositories> | ||
| <pluginRepository> | ||
| <id>vaadin-prerelease</id> | ||
| <url>https://maven.vaadin.com/vaadin-prereleases</url> | ||
| </pluginRepository> | ||
| </pluginRepositories> | ||
| <dependencies> | ||
| <dependency> | ||
| <groupId>com.flowingcode.vaadin.addons.demo</groupId> | ||
| <artifactId>commons-demo</artifactId> | ||
| <version>5.0.0</version> | ||
| <scope>test</scope> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>com.vaadin</groupId> | ||
| <artifactId>vaadin-dev</artifactId> | ||
| </dependency> | ||
| </dependencies> | ||
|
Comment on lines
536
to
553
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Vaadin 25 profile uses an outdated release candidate. The v25 profile specifies 25.0.0-rc1, but Vaadin 25.0.0-rc2 is available. Consider upgrading to rc2 for the latest pre-release improvements. The vaadin-dev dependency addition and Java 21 requirement are appropriate for Vaadin 25. 🤖 Prompt for AI Agents
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Will be handled in a separate task There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @javier-godoy, understood! I've noted that the Vaadin version update will be addressed separately. |
||
| </profile> | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🛠️ Refactor suggestion | 🟠 Major
Upgrade to actions/setup-java@v4.
The
actions/setup-java@v3action is deprecated. Update to v4 to ensure compatibility with current GitHub Actions runners.Apply this diff:
📝 Committable suggestion
🧰 Tools
🪛 actionlint (1.7.9)
23-23: the runner of "actions/setup-java@v3" action is too old to run on GitHub Actions. update the action's version to fix this issue
(action)
🤖 Prompt for AI Agents