March 07, 2012

Sharing tests in maven multi modules projects

   [Here] is an article which describes how to keep sources and tests in one maven project and to access them from another (sibling) project.
    Project structure example:
componentA
|
|-moduleA
|         /src/main/java
|         /src/main/resources
|         /src/test/java
|         /src/test/resources
|-moduleB
|         /src/main/java
|         /src/main/resources
|         /src/test/java
|         /src/test/resources

No comments:

Post a Comment