You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Pankaj <pa...@rediffmail.com> on 2011/02/24 08:36:33 UTC
Archetype with a property file
Hi,
Can we use archetype:create with a property file rather than using
archetype:create-from-project.
My archetype.properties file will have below entry -
DgroupId=com.sample
DartifactId=sampleproject
DarchetypeGroupId=com.sample.archetype
DarchetypeArtifactId=samplearchtype
DarchetypeVersion=1.0
Which all step should i follow. I was referring below link for help.
http://maven.apache.org/archetype/maven-archetype-plugin/examples/create-with-property-file.html
- Pankaj
--
View this message in context: http://maven.40175.n5.nabble.com/Archetype-with-a-property-file-tp3398151p3398151.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Archetype with a property file
Posted by Hervé BOUTEMY <he...@free.fr>.
IIUC, you want to use an external file instead of command-line java properties
when creating a project from an archetype, the same way it is done for
creating an archetype from a project
Sorry, this feature is not here yet, but could be added: please create a Jira
issue.
Note that this new feature won't be added to deprecated "create" but to
"generate" goal.
Regards,
Hervé
Le jeudi 24 février 2011, Pankaj a écrit :
> Hi,
>
> Can we use archetype:create with a property file rather than using
> archetype:create-from-project.
> My archetype.properties file will have below entry -
>
> DgroupId=com.sample
> DartifactId=sampleproject
> DarchetypeGroupId=com.sample.archetype
> DarchetypeArtifactId=samplearchtype
> DarchetypeVersion=1.0
>
> Which all step should i follow. I was referring below link for help.
> http://maven.apache.org/archetype/maven-archetype-plugin/examples/create-wi
> th-property-file.html
>
> - Pankaj
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org