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 <antoine.van....@gmail.com> 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: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > > -- Sent from my mobile device --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org