apache / apache/maven-assembly-plugin

Don't rev namespace with each release

Open
#1,272 0 comments 0 reactions 0 assignees View on GitHub
bug priority:major
Dominant language
Java
Stars
110
Forks
75
Avg merge
12h 54m
Merged PRs (30d)
10

Description

### Affected version

HEAD and many previous versions

### Bug description

The current setup is creating new namespaces for each release. E.g.

```
https://maven.apache.org/xsd/assembly-2.2.0.xsd, https://maven.apache.org/xsd/assembly-component-2.2.0.xsd (for version 3.6.0 and higher)
https://maven.apache.org/xsd/assembly-2.1.1.xsd, https://maven.apache.org/xsd/assembly-component-2.1.1.xsd (for version 3.4.0 and higher)
https://maven.apache.org/xsd/assembly-2.1.0.xsd, https://maven.apache.org/xsd/assembly-component-2.1.0.xsd (for version 3.2 and higher)
https://maven.apache.org/xsd/assembly-2.0.0.xsd, https://maven.apache.org/xsd/assembly-component-2.0.0.xsd (for version 3.0 and higher)
https://maven.apache.org/xsd/assembly-1.1.3.xsd, https://maven.apache.org/xsd/component-1.1.3.xsd (for version 2.5.4 and higher)
https://maven.apache.org/xsd/assembly-1.1.2.xsd, https://maven.apache.org/xsd/component-1.1.2.xsd (for version 2.2 and higher)
https://maven.apache.org/xsd/assembly-1.1.1.xsd, https://maven.apache.org/xsd/component-1.1.1.xsd (for version 2.2-beta-4 - 2.2-beta-5)
https://maven.apache.org/xsd/assembly-1.1.0.xsd, https://maven.apache.org/xsd/component-1.1.0.xsd (for version 2.2-beta-1 - 2.2-beta-3)
https://maven.apache.org/xsd/assembly-1.0.0.xsd, https://maven.apache.org/xsd/component-1.0.0.xsd (for version 2.1 and lower)
```

I don't think that's a complete list, just what we currently document. This is not the purpose or intent of XML namespaces. Namespaces are not versions, and this approach breaks a lot of XML processing chains based on XPath, XQuery, XInclude, JDOM and/or XSLT among many others. There should be a single namespace that doesn't change unless we really redo everything from scratch with a new vocabulary.

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names no files, tests, or entry points. Begin by tracing where the documented assembly and component XML namespaces are declared, then establish the compatibility requirements; the work is done when releases use one stable namespace without disrupting existing XML processing.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.