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]

Reply via email to