Maven archetype to modify an existing project? -
i'm trying create archetype add data in existing pom file.
actually, archetype specify distributionmanagement project not configured that.
i know allowpartial attribute in archetype.xml file allow that, didn't figure out how it.
is there way ? have use existing plugin ? have create own ?
thanks in advance !
you run archetype:generate
command in directory of project want update (with parameters - equal groupid/artifactid/version of existing project).
note, apart <allowpartial>true</allowpartial>
need <archetype-descriptor partial="true">
in archetype-metadata.xml
Comments
Post a Comment