Add FlexPack business logic from jfrog-cli #261
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Maven FlexPack Support with Build Info Collection and Artifact Property Setting
Overview
This PR implements comprehensive Maven FlexPack support in jfrog-cli-artifactory, enabling native Maven execution with complete build info collection, deployed artifact tracking, and build property setting. The implementation follows the established Poetry FlexPack pattern for consistency and maintainability.
Key Features
🚀 Native Maven Execution
JFROG_RUN_NATIVE=truecompile,install,deploy, etc.)📊 Complete Build Info Collection
compile,runtime,test,provided,system,import)🏷️ Build Property Setting
build.name,build.number, andbuild.projectproperties on deployed artifactsdeploycommands (notcompile,install, etc.)🔄 Build Info Publishing
jf rt bpImplementation Details
Architecture
The implementation follows the Poetry FlexPack pattern exactly:
File Structure
Usage Examples
Basic Maven Deploy with Build Info
export JFROG_RUN_NATIVE=true jf mvn deploy --build-name=my-maven-build --build-number=1 jf rt bp my-maven-build 1Maven Install (No Deployment)
Related PRs: