apache / apache/maven-archiver

add isDeployable()

Open
#304 1 comment 0 reactions 1 assignee Claimed by @hboutemy View on GitHub
enhancement
Dominant language
Java
Stars
13
Forks
26
Avg merge
1d 1h
Merged PRs (30d)
7

Description

### New feature, improvement proposal

utility to detect if a Maven module is installed deployed or not, to be able to change a plugin goal's behaviour if the module being built is just a transient reactor-level only module, or a module that really deploy to remote repository of r future external

to consolidate what is done:
- in https://github.com/apache/maven-artifact-plugin/blob/master/src/main/java/org/apache/maven/plugins/artifact/buildinfo/PluginUtil.java
- and https://github.com/CycloneDX/cyclonedx-maven-plugin/blob/master/src/main/java/org/cyclonedx/maven/BaseCycloneDxMojo.java#L603

with current addition of a new case https://github.com/CycloneDX/cyclonedx-maven-plugin/pull/604

## why in maven-archiver?

This is not really an archiving feature. Putting this code here is just because it's another case where we analyze plugin configuration to detect facts on the build process, like we do in https://github.com/apache/maven-archiver/blob/master/src/main/java/org/apache/maven/shared/archiver/BuildHelper.java around maven-compiler-plugin

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.