Hi Valentin,

On Wed, 2018-11-07 at 21:05 +0100, Valentin Olteanu wrote:
> I just wanted to drop [1] which can give you some guidelines on where
> to
> put the tests. It shows the drawbacks of having the tests in
> src/test/ and
> it states that the preferred way is to create a separate project.
> 
> [1]
> https://maven.apache.org/plugins/maven-jar-plugin/examples/create-test-jar.html

Thanks for that link. I see that the intended drawback is

    Note: The downside of this solution is that you don't get the
transitive test-scoped dependencies automatically.

That's definitely something to keep in mind. I don't think it's a huge
drawback for us since we will be reassembling multiple test artifacts
with similar requirements into a single module. 

Actually, I would say that it's a plus since we get to control the
dependencies rather than get a mess from potentially different
dependencies from the test modules.

Robert

Reply via email to