I was having some bizarre issues where the jar plugin was grabbing
everything in my project folder as a resource, and I finally tracked it
down to a problem with the '/' vs. the '\' in a directory.  By default,
maven.build.dir is set to something like the following:
C:\mySource\currentDirectory/target.  Notice how every part of the path
has a '\' except the last part.  When the jar plugin called
maven:copy-resources, it apparently truncated off the '/target' portion
at some point and left it at my base directory...not what I wanted.  Up
until this point, I had generally been specifying all of my paths with
forward slashes whenever I could, but now I'm a bit concerned that there
might be more issues like this.  Is it okay for me to specify paths with
forward slashes (and this is just a bug), or I should I try and avoid
mixing the two up?  I haven't put the issue in JIRA, yet...figured I'd
wait until they finish (or stop) the move.

Thanks!

-- Sean T.

Reply via email to