>-----Original Message-----
>From: Helle, Guillaume [mailto:guillaume.he...@capgemini.com]
>
>I have shell script in my resources folder.
>During the build, maven copies them in the target but the executable bit is
>lost so my tests fails...
>
>Have you an idea for that?

The way I "fix" this is by using the maven-assembly-plugin and creating a 
tarball as the output of my build.  In the assembly descriptor file (e.g. 
something like src/main/assembly/assembly.xml) you can specify permissions for 
what gets included.
That means that there's the extra step of un-tarring the tarball when I need to 
test things, rather than being able to run directly from the target directory, 
which can be a bit annoying.
However, in some ways that's a good thing: it helps ensure that the way 
developers test things is similar to how things get deployed to production.

eric

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to