Skip to content
Draft
Show file tree
Hide file tree
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
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,24 @@
This project can be used as a starting point to create your own Vaadin Flow 25.0 application with CDI 16.0.
It contains all the necessary configuration and some placeholder files to get you started.

Vaadin 25.0 is based on Jakarta EE 11.0 and requires Java 17.
Vaadin 25.0 is based on Jakarta EE 11.0 and requires Java 21.

The best way to use it is via [vaadin.com/start](https://vaadin.com/start) - you can get only the necessary parts and choose the package naming you want to use.

## Running the Application

Import the project to the IDE of your choosing as a Maven project.

Run application using
Run application in development mode using
```
mvn wildfly:run
mvn wildfly:run -Pdevelopment
```

Open [http://localhost:8080/](http://localhost:8080/) in browser.

If you want to run your app locally in the production mode, run using
```
mvn clean package wildfly:run -Pproduction
mvn clean package wildfly:run
```

### Running Integration Tests
Expand Down
32 changes: 16 additions & 16 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<failOnMissingWebXml>false</failOnMissingWebXml>

<!-- Dependencies -->
<vaadin.version>25.0.0-beta5</vaadin.version>
<vaadin.version>25.0-SNAPSHOT</vaadin.version>
</properties>

<repositories>
Expand Down Expand Up @@ -124,7 +124,6 @@
<!--
Take care of synchronizing java dependencies and imports in
package.json and main.js files.
It also creates webpack.config.js if not exists yet.
-->
<plugin>
<groupId>com.vaadin</groupId>
Expand All @@ -143,21 +142,11 @@

<profiles>
<profile>
<!-- Production mode is activated using -Pproduction -->
<!-- Production mode is activated by default -->
<id>production</id>
<dependencies>
<!-- Exclude development dependencies from production -->
<dependency>
<groupId>com.vaadin</groupId>
<artifactId>vaadin-core</artifactId>
<exclusions>
<exclusion>
<groupId>com.vaadin</groupId>
<artifactId>vaadin-dev</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
Expand All @@ -174,6 +163,17 @@
</plugins>
</build>
</profile>
<profile>
<!-- Development mode is activated using -Pdevelopment -->
<id>development</id>
<dependencies>
<!-- Include development dependencies -->
<dependency>
<groupId>com.vaadin</groupId>
<artifactId>vaadin-dev</artifactId>
</dependency>
</dependencies>
</profile>

<profile>
<id>it</id>
Expand Down