Snapshots
Every webforJ version release is accompanied by detailed release notes and a release blog article. Snapshot versions of webforJ give you access to the latest features for testing while development continues on the pre-released version.
While snapshots aren't publicly listed on Maven repository sites like Maven Central or MVN Repository, it's easy to access the name of the snapshot. To find the newest snapshot version, navigate to the webforJ project on GitHub. From there, find the project's POM file and look for the version tag:
<groupId>com.webforj</groupId>
<artifactId>webforj-parent</artifactId>
<version>26.00-SNAPSHOT</version>
<packaging>pom</packaging>
<name>webforj</name>
To use that snapshot version in your app, use that value as the webforj.version property in your app's POM file:
<properties>
<webforj.version>26.00-SNAPSHOT</webforj.version>
<maven.compiler.target>21</maven.compiler.target>
<maven.compiler.source>21</maven.compiler.source>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<tomcat.version>11.0.2</tomcat.version>
</properties>
Configure the snapshot repository
Because snapshots aren't published to Maven Central, you need to add the Central Portal Snapshots repository to your app's pom.xml so Maven can resolve them. You need two entries: a <repository> for webforJ's runtime artifacts, and a <pluginRepository> for its Maven plugins (such as the install and minify plugins), which are also released as snapshots. Both entries turn off release resolution so Maven only uses this repository for snapshot artifacts.
<repositories>
<repository>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
<id>central-portal-snapshots</id>
<name>Central Portal Snapshots</name>
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
<id>central-portal-snapshots</id>
<name>Central Portal Snapshots</name>
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
</pluginRepository>
</pluginRepositories>
Alternatively, if you're creating a new webforJ app, go to startforJ and choose the webforJ version that ends with (pre).
Snapshot versions are under active development and are subject to change, so they aren't recommended for use in live production apps.