[MNG-4506] Split site deployment URLs into release vs. snapshot, just like artifacts
- Dominant language
- Java
- Stars
- 5.3k
- Forks
- 3.1k
- Avg merge
- 20h 42m
- Merged PRs (30d)
- 297
Description
**[Matthew Beermann](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=mbeerman)** opened **[MNG-4506](https://issues.apache.org/jira/browse/MNG-4506?redirect=false)** and commented
(This is for Maven 2.1. My apologies if it's a duplicate, but I couldn't find this issue reported elsewhere.)
One of the things we've always considered to be a major design oversight in Maven is that the artifact repositories (in the \ section) are split up into releases vs. snapshots, but the site repository isn't. This practice significantly conflicts with the way that we (and many others) use Maven: there's a centralized, locked-down release artifact repository, there are many, loosely secured snapshot artifact repositories for each team, /and there's a corresponding site repository for each/.
This organization doesn't seem especially radical, but the way the POM is organized makes it difficult to achieve. Either we have to (hope to) remember to update the site deployment URL just before a release, or else override it from the command line during the release. Would it be possible to split these two apart by enhancing the POM schema in Maven 2.1?
---
**Issue Links:**
- [MNG-4508](https://issues.apache.org/jira/browse/MNG-4508) No way to avoid adding artifactId to site urls
**Remote Links:**
- [Page
](https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=65875544)
4 votes, 6 watchers
Contributor guide
Assessment
This issue has not been assessed yet.