-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I'd like to use the same directory for Java and resource files
(src/main/java) instead of the default directory layout that Maven
suggests. So far this works with a minor drawback:

When executing "mvn resources:resources", Maven also copies all Java
source files into the target directory. I'm using the following entry in
my POM:

<resources>
  <resource>
    <directory>src/main/java</directory>
    <filtering>false</filtering>
    <excludes>
      <exclude>*.java</exclude>
    </excludes>
  </resource>
</resources>


I already did a search on the list, but couldn't figure out how to tell
Maven to exclude the sources... Is this possible? If yes, can someone
please explain how to achieve this?


Regards

Thorsten Heit

-----BEGIN PGP SIGNATURE-----
Version: PGP 8.1

iQA/AwUBQ/r8pELzm5IAnA3tEQLSXQCfeR0M3HBa6yS8+u1Qr5/sauZDuY8AoKAw
inrZ02PjE5Psh3pFemQAzv1e
=lv5r
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to