apache / apache/maven-mvnd

mvnd in rtMaven

Open
#498 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
Java
Stars
3.5k
Forks
250
Avg merge
16h 22m
Merged PRs (30d)
36

Description

Hi,

I was wondering if we can use mvnd as a tool in `rtMaven` (https://www.jfrog.com/confluence/display/RTF5X/Working+With+Pipeline+Jobs+in+Jenkins)

We use `rtMaven` as part of jenkins pipeline file written in groovy and it only uses maven and runs `mvn` I was wondering if we can somehow use `mvnd` instead of `mvn`.
For us the `rtMaven.tool` equals to `maven-3.3.9` and the way it runs maven is as follows -
`rtMaven.run pom: 'pom.xml', goals: "clean install -Dmaven.test.skip=${params.skipJUnitTests}".toString()`

Not sure if it is possible or if we can get this working, any help will be appreciated.
I want to fully utilize `mvnd` to improve the build process time.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the rtMaven Jenkins Pipeline step and its tool configuration, using the linked Working With Pipeline Jobs reference for context. Determine whether the existing `rtMaven.run` invocation can select `mvnd` instead of `mvn`; done means a Groovy pipeline can use mvnd through rtMaven and the behavior is documented or verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
groovy, java
Domain
build-system, ci-cd
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.