Skip to content

Helidon MP

You need a valid Helidon MicroProfile project. Create one from IntelliJ or from the Helidon project starter.

<dependency>
<groupId>io.mateu</groupId>
<artifactId>helidon-mp-core</artifactId>
<version>2.4.94</version>
</dependency>
<!-- serves the built-in frontend; choose one: vaadin-lit, redhat-lit, sapui5-lit -->
<dependency>
<groupId>io.mateu</groupId>
<artifactId>vaadin-lit</artifactId>
<version>2.4.94</version>
</dependency>

Step 3: Configure the annotation processor

Section titled “Step 3: Configure the annotation processor”
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<annotationProcessorPaths>
<path>
<groupId>io.mateu</groupId>
<artifactId>annotation-processor-helidon-mp</artifactId>
<version>2.4.94</version>
</path>
</annotationProcessorPaths>
</configuration>
</plugin>
</plugins>
</build>
package com.example;
import io.mateu.uidl.annotations.UI;
@UI("")
public class HelloWorld {
}
Terminal window
mvn helidon:dev

Open http://localhost:8080 in your browser.