Turns out the deprecation of archetype:create is even printed in
*bold* on the goals page. Don't know how I missed that. Thanks...


Antoine




On Mon, Mar 15, 2010 at 10:16 PM, Brett Randall <[email protected]> wrote:
> archetype:create is deprecated in favour of archetype:generate, so try
> archetype:generate. See its interactiveMode setting for a
> non-interactive option.
>
> Brett
>
>
> On 3/15/10, Antoine van Wel <[email protected]> wrote:
>> Hi,
>>
>> I'm building an archetype using "mvn archetype:create-from-project".
>> In my project there are several javascript files. Installing the
>> generated archetype works fine. The moment I try to create a project
>> from this archetype on the command-line using "mvn archetype:create",
>> I get an error, which seems to indicate Velocity cannot handle the
>> javascript files in the project.
>>
>> Which is actually a problem of Velocity, but the files should not be
>> touched by Velocity in the first place. I tried to disable filtering
>> them:
>>
>>    <fileSet filtered="false" encoding="UTF-8">
>>       <directory>src/main/webapp</directory>
>>       <includes>
>>         <include>**/*.png</include>
>>         <include>**/*.js</include>
>>         <include>**/*.css</include>
>>       </includes>
>>     </fileSet>
>>
>> and tried several alternatives, but none of them seems to be working:
>> it does not stop Velocity from touching the files, and then choking on
>> them. Any ideas if I'm doing something wrong? Version used: maven
>> 2.0.9 and maven-archetype-plugin 2.0-alpha-4.
>>
>> However, the interactive "mvn archetype:generate" seems to work
>> perfectly, which makes me believe this is a bug.
>>
>>
>> Thanks,
>>
>> Antoine.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
>
> --
> Sent from my mobile device
>
> ---------------------------------------------------------------------
> 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]

Reply via email to