Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.0.0-M1
-
None
Description
Reproducer: https://github.com/cstamas/mvn-md-bug
Command like: mvn clean deploy -DaltDeploymentRepository=localhost-nexus::default::http://localhost:8081/content/repositories/snapshots/ (w/ 3.0.0-M1 m-d-p, needs POM edit)
As seen inĀ MDEPLOY-274, m-d-p 2.x succeeds, while 3.x fails with same CLI command line.
True, the parameter did change between 2.x and 3.x, still IMO validation is missing: 3.x should either fail early (not at attempted deploy w/o credentials) or at least WARN about "not recognized parameter", or best. accept 2.x format as well, but only if layout is "default".
Maybe some other changed parameters needs some validation as well.
Attachments
Issue Links
- is duplicated by
-
MDEPLOY-278 Input validation for repository URLs is missing rejection of 2.x style URLs
- Closed
- supercedes
-
MDEPLOY-274 Deploy archetype failed with Unauthorized error
- Closed
- links to