apache / apache/maven-artifact-plugin

support central-publishing-maven-plugin for detectSkip

Open
#173 3 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
14
Forks
23
Avg merge
1h 27m
Merged PRs (30d)
8

Description

### New feature, improvement proposal

[detectSkip](https://maven.apache.org/plugins/maven-artifact-plugin/compare-mojo.html#detectSkip) detectes skipped sub-projects by checking skipped deploy using https://github.com/apache/maven-artifact-plugin/blob/master/src/main/java/org/apache/maven/plugins/artifact/buildinfo/PluginUtil.java

the [new Maven Central publishing approach](https://central.sonatype.org/publish/publish-portal-maven/) promoting central-publishing-maven-plugin de-facto marks everything as "skip deploy" to replace the upload step with its own approach: then projects that migrate to this approach are detected to skip absolutely everything...

skipModules requires a specific check with this plugin

Contributor guide

No contributing guide indexed for this repository

Research direction

Read the detectSkip documentation and the referenced maven-artifact-plugin PluginUtil.java, then compare how central-publishing-maven-plugin marks deployments as skipped. Trace the skipModules handling and determine the specific check needed for this publishing approach. Done means projects using the Central publishing plugin no longer have all modules incorrectly treated as skipped, while existing detection still works.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.