Java VCS Deployment with Maven
Java VCS Deployment with Maven
Maven is a build automation and project-management tool commonly used for Java applications. The platform can connect a public or private Git or SVN repository to a Maven build node, build the project, and deploy the resulting application to a Java application server.
Before You Begin
Add the public or private Git or SVN repository to Deployment Manager before configuring the Maven project. Supported repository link types include HTTP, HTTPS, SVN, Git, and FTP, depending on the selected version-control system.
Demo project
A public “Hello World” GitHub project can be used to test the workflow without repository authentication.
Add a Project to Maven
Open the project form
Click Add project beside the Maven layer, Maven node, or the Projects line below it.

Configure the project
Complete the required project fields and choose whether the Maven node should only build the project or build and deploy it immediately.

Project Configuration Options
master.ROOT.When starting deployment from a Java application server, two additional options may be available:
- Build: Select an existing Maven build node or add one to the target environment.
- Deploy Strategy: For a horizontally scaled application server, choose simultaneous deployment or sequential deployment with a configurable delay.

Deployment strategy
Simultaneous deployment is faster but causes brief downtime. Sequential deployment updates application servers one by one with a configured delay to preserve application availability.
Use Add to save the project configuration without starting an action. Use Add + Build or Add + Deploy to save the project and immediately execute the selected operation.
Manage Maven Projects
After the project is added, it appears in the Maven node’s Projects list. Hover over the project to access the available actions.


Expected Result
The Java project is linked to the Maven build node, built from the selected Git or SVN repository, and optionally deployed to the target Java application server using the configured context and deployment strategy.
Important Notes
- Add the repository to Deployment Manager before creating the Maven project.
- Project names cannot contain spaces or special symbols.
- Use the Working Directory field when the application source is stored in a repository subdirectory.
- Auto-resolve conflicts discards local changes that conflict with repository files.
- Use sequential deployment to reduce downtime on scaled application-server layers.
- Review Maven logs when build or deployment operations fail.
