directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Seelmann <>
Subject Re: [ApacheDS] Move classes of module core-mock to src/test/java of core-api
Date Thu, 03 Jun 2010 21:27:41 GMT
Felix Knecht wrote:
> On 06/03/10 23:04, Stefan Seelmann wrote:
>> Hi dev,
>> the core-mock module includes some mock implementations of ApacheDS
>> core-api classes (CoreSession, DirectoryService, etc.). It is only used
>> as test dependency in ldif-partition.
>> To get rid of the core-mock module I'd like to suggest to move those
>> classes to src/test/java in core-api. To be able to use the test classes
>> outside of the core-api module we just need to deploy the test jar of
>> core-api. The using module then needs to specify a dependency with
>> classifier "tests", see [1] for details.
>> Thoughts?
> +1
> Regards
> Felix

Should we declare the deployment of test jar for the core-api module
only or should we deploy the test jars of all modules? In the latter
case we can declare the maven-jar-module in the project pom, similar to
the maven-source-plugin.

Kind Regards,

View raw message