Maven: where to store the source code of the examples?

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?

+3
source share
1 answer

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)

+3
source

All Articles