apache / apache/maven-archetype
[ARCHETYPE-541] Custom properties not used in pom.xml in root directory when using archetype:create-from-project
- Dominant language
- Java
- Stars
- 148
- Forks
- 181
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 8
Description
**[Erwan LEGELEUX](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=elegeleux)** opened **[ARCHETYPE-541](https://issues.apache.org/jira/browse/ARCHETYPE-541?redirect=false)** and commented
Hi,
I've got an issue when I am trying to use custom properties with archetype:create-from-project plugin in pom.xml in root directory.
If you try to execute following command :
mvn archetype:create-from-project -Darchetype.properties=custom.properties
You will see that README.txt file has been process with my custom properties, BUT not in pom.xml file.
Thanks a lot for your help,
Regards
---
**Attachments:**
- [test-archetype.zip](https://issues.apache.org/jira/secure/attachment/12911439/test-archetype.zip) (_3.67 kB_)
3 votes, 3 watchers
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by unpacking the attached test-archetype.zip and reproducing the issue with `mvn archetype:create-from-project -Darchetype.properties=custom.properties`. Compare how the custom properties are applied to README.txt and the root pom.xml; done means the generated pom.xml also uses the supplied custom properties.
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
- 42/100