I am currently working on an open source project. There are a bunch of java classes that are simple examples.
How do I organize this project using maven. Should I provide them with some kind of packaging?
Put the examples in a separate project and add your main project to the dependency. Pack them according to which code. (for example, if the samples create a webapp, make the packaging war)