Does some Java specification require `resources` content to be copied into `target`?

37 views Asked by At

Or is it just my IntelliJ IDEA's voluntary behavior? I have 8 files, each 3.5 GiB in size and IDEA copies them from src/main/resources into target/classes/resources during the make task. Is it possible to avoid such a behaviour?

1

There are 1 answers

1
user2684301 On BEST ANSWER

The resources directory is for files that get built into the .jar output.

For large files, you should probably store them outside the resources directory and outside the .jar file.