Douglas Ferguson wrote:
>
> Sorry for the spam, but is there a way to prevent the archetype from
> adding the created module to the pom file?
>
> -----Original Message-----
> From: Douglas Ferguson
> Sent: Thursday, September 14, 2006 9:59 PM
> To: users
> Subject: RE: creating archetypes
>
> Also, the archetype also seems to be creating a src/main/java/${groupId}
> directory. Anyway to keep this from happening?
>
> D-
>
> -----Original Message-----
> From: Douglas Ferguson
> Sent: Thursday, September 14, 2006 9:32 PM
> To: users
> Subject: creating archetypes
>
> The create archetypes document seems to have descripancies.
>
>
>
> Which is correct?
>
>
>
> testRecources or test-recources?
>
>
>
> Is allowPartial supported?
>
>
>
> The document also says that you cant create empty directories, is that
> still the case?
>
>
>
> D-
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
Good day to you, Douglas,
Sorry for the late reply. I did not see this before. Anyway, here are my
answers:
* testResources is the correct one (see [1] for the archetype descriptor
schema)
* AFAIK, you can not stop maven-archetype-plugin from creating
src\main\java\{groupId}\**\*.*, unless you specifically specify the
packageName, which would then create src\main\java\{packageName}\**\*.*.
* IIRC, allowPartial is used for multi-module maven projects. what were you
trying to accomplish with allowPartial?
* Yes, you still can not create empty directories.
* AFAIK, you cannot stop the adding of the created module to the pom.
For more info regarding the maven-archetype-plugin, here's it's unreleased
under review revised documentation, [2].
Cheers,
Franz
[1] http://www.nabble.com/forum/ViewPost.jtp?post=6052980&framed=y
[2] http://people.apache.org/~oching/maven-archetype-plugin/
--
View this message in context:
http://www.nabble.com/creating-archetypes-tf2275184.html#a6422092
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]