Skip to content

Instantly share code, notes, and snippets.

@ErnestoRB
Created June 10, 2022 04:06
Show Gist options
  • Save ErnestoRB/85f96e87f9859c1e52bc01c1eb5d5d83 to your computer and use it in GitHub Desktop.
Save ErnestoRB/85f96e87f9859c1e52bc01c1eb5d5d83 to your computer and use it in GitHub Desktop.
Include all files into java packages with Maven
...
<build>
...
<resources>
...
<resource>
<directory>src/main/java</directory>
<excludes>
<exclude>**/*.java</exclude>
</excludes>
</resource>
...
</resources>
...
</build>
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment