apache / apache/maven-archetype
[ARCHETYPE-512] archetype:generate while merging the pom with existing pom does not copy the attributes on the elements
- Dominant language
- Java
- Stars
- 148
- Forks
- 181
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 8
Description
**[Chetana](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=rachetana)** opened **[ARCHETYPE-512](https://issues.apache.org/jira/browse/ARCHETYPE-512?redirect=false)** and commented
I am using partial=true and running the archetype on an existing project. The template pom has plugins with attributes. On archetype:generate, the template pom is getting merged with the existing pom however the attributes are missed out
---
**Affects:** 2.4
**Attachments:**
- [MNG-ARCHETYPE-512-archetype-common.patch](https://issues.apache.org/jira/secure/attachment/12837626/MNG-ARCHETYPE-512-archetype-common.patch) (_1.47 kB_)
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the archetype:generate entry point using partial=true and reproduce the merge of a template pom into an existing project. Inspect how plugin element attributes are handled during the merge, using the attached MNG-ARCHETYPE-512-archetype-common.patch as context. Done means the merged pom retains the template element attributes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100