I'm creating some in-house archectypes.

I've got some questions :

- I need to add extra parameters, ie -DappId and got it resolved in
the generated pom.xml

I do :

mvn archetype:generate -DarchetypeGroupId=org.mycorp.archetypes
-DarchetypeArtifactId=myapp -DarchetypeVersion=1.0-SNAPSHOT
-DgroupId=org.mycorp.urba -DartifactId=urba-myapp -DappId=WZ

but It is not resolved and i could see :

[WARNING] org.apache.velocity.runtime.exception.ReferenceException:
reference : template = archetype-resources/pom.xml [line 29,column 56]
: ${appId} is not a valid reference.


- Is it possible to move some files, ie: src/main/Skel.java to another
location in the created project (ie: src/main/appId/Skel.java).


Thanks for you help

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to