You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Klara Ward (Jira)" <ji...@apache.org> on 2022/01/18 10:58:00 UTC
[jira] [Commented] (ARCHETYPE-541) Custom properties not used in pom.xml in root directory when using archetype:create-from-project
[ https://issues.apache.org/jira/browse/ARCHETYPE-541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17477766#comment-17477766 ]
Klara Ward commented on ARCHETYPE-541:
--------------------------------------
I also have this issue.
I have a line in my pom.xml that says
{{ <exclusion>com.spotify.archetypepackage.CucumberIT</exclusion>,}}
and in my archetype properties I have
{{cucumberClass=com.spotify.archetypepackage.CucumberIT
}}
(I had hoped just having the package as a property would have been enough, but when that didn't work I tried with this)
There as also other similar non-working examples
> Custom properties not used in pom.xml in root directory when using archetype:create-from-project
> ------------------------------------------------------------------------------------------------
>
> Key: ARCHETYPE-541
> URL: https://issues.apache.org/jira/browse/ARCHETYPE-541
> Project: Maven Archetype
> Issue Type: Bug
> Reporter: Erwan LEGELEUX
> Priority: Minor
> Attachments: test-archetype.zip
>
>
> 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
>
--
This message was sent by Atlassian Jira
(v8.20.1#820001)