Reputation: 9374
Currently I'm working on open source project. There exists bunch of java classes which are simple examples.
How should I organize this project with maven. Should I provide some packaging for them ?
Upvotes: 3
Views: 91
Reputation: 32407
Put the examples in a separate project and add your main project as a dependency. Package them according to what kind of code they are. (e.g. if the samples build a webapp, make the packaging a war)
Upvotes: 3