apache / apache/maven-site-plugin

[MSITE-874] Skip site:deploy instead of fail if distributionManagement.site.url is scm:*

Open
#1,006 1 comment 0 reactions 0 assignees View on GitHub
priority:major
Dominant language
Java
Stars
55
Forks
50
Avg merge
2d 7h
Merged PRs (30d)
11

Description

**[Hervé Boutemy](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=hboutemy)** opened **[MSITE-874](https://issues.apache.org/jira/browse/MSITE-874?redirect=false)** and commented

when deploying to SCM, [maven-scm-publish-plugin](https://maven.apache.org/plugins/maven-scm-publish-plugin/) is the way to go

instead of failing, site:deploy could simply skip deploy because it is known: this would permit simpler config for https://maven.apache.org/plugins/maven-scm-publish-plugin/examples/one-module-configuration.html 

---

**Affects:** 3.9.1

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the site:deploy entry point and trace how distributionManagement.site.url values beginning with scm:* are handled. Compare the requested behavior with the maven-scm-publish-plugin one-module configuration example; done means site:deploy skips SCM deployment instead of failing while normal deployment remains unchanged.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.