Skip to content

flowlogix/depchain

Repository files navigation

Dependency Chains for Maven

Introduction

Dramatically simplifies using Jakarta EE in your Maven projects. Supports Maven 4 and 3. Features include automatic unit and integration testing, TestContainers support, and much more.
Please see documentation.

Usage

In conjunction with Base POM, this project provides a set of Maven dependencies to quickly get started with Jakarta EE projects. Archetype is available to generate a starter project with all the necessary dependencies and configuration.

Remove 1000s of lines of boilerplate configuration, and override the provided properties to configure your project if needed. Dependency Chains is designed to stay out of your way, while providing a solid foundation for your Jakarta EE projects. Anything that’s not necessary for your project can be opted out or overridden.

Quick Start

Use the FlowLogix Quick Start web-based tool to download the starter project with one click, or use it to generate a maven or curl command line to run in the terminal.

Single-line starter - generate a JAR sample via curl
curl -sSL https://start.flowlogix.com/download -o starter.zip
Single-line starter - generate a WAR sample via curl
curl -sSL "https://start.flowlogix.com/download/;packagingType=war" -o starter.zip
Generate Example Project in current directory (no prompts)
mvn archetype:generate -DarchetypeGroupId=com.flowlogix.archetypes -DarchetypeArtifactId=starter \
-DarchetypeVersion=LATEST -DbaseType=payara -DinteractiveMode=false \
-DgroupId=com.example -DartifactId=example -Dpackage=com.example
Generate Example Project in current directory interactively
mvn archetype:generate -DarchetypeGroupId=com.flowlogix.archetypes -DarchetypeArtifactId=starter \
-DarchetypeVersion=LATEST

Updating Dependencies

Update dependencies (except plugins, as they are defined in this parent project)
mvn -U -ntp versions:use-latest-releases versions:update-parent versions:update-properties \
-DgenerateBackupPoms=false \
-Dmaven.version.rules=https://raw.githubusercontent.com/flowlogix/base-pom/main/versions-ruleset.xml
Display outdated plugins
mvn -U -ntp versions:display-plugin-updates -DgenerateBackupPoms=false -DprocessUnboundPlugins=true