I have an Eclipse plugin project that employs unit tests. My unit tests are under the source code folder along with my other source, but in its own package. I would normally give the project the “Export… -> Deployable plugin-ins and fragments” treatment to create a plugin jar file. When I do that though, it is trying to compile my unit tests (which fails, even though the JUnit libraries are on my Module path). The resulting jar includes my unit tests. There does not seem to be a way to exclude this source from compilation. Any thoughts?