| Summary: | ArchetypeArtifactManager fails to resolve local archetypes properly | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Fred Bricon <fbricon> | ||||
| Component: | m2e | Assignee: | Fred Bricon <fbricon> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | jurevert | ||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 371775 | ||||||
| Attachments: |
|
||||||
|
Description
Fred Bricon
Created attachment 204516 [details]
Archetype to unzip and install in the local repo
*** Bug 385273 has been marked as a duplicate of this bug. *** Fixed with http://git.eclipse.org/c/m2e/m2e-core.git/commit/?id=052c1ee493b0c6be9738166442501f605a3bd45c. Highlight of the fix is calling LegacySupport to provide a proper maven session to the archetyper resolver. Using the actual remote repo of the archetype, properly configured, also fixes bug 371775. Tests : https://github.com/sonatype/m2e-core-tests/commit/1ba7b2efc09da1a882d6356d40edbab2063ae33a |