On 2010-07-28, Stefan Seelmann wrote: > On Wed, Jul 28, 2010 at 9:22 AM, Stefan Bodewig <[email protected]> wrote:
>> On 2010-07-27, Stefan Seelmann wrote: >>> Anyway, you are right. Direct dependencies should be added to the pom. >>> I checked with mvn dependency:analyze and added >>> apacheds-protocol-shared and shared-asn1. Could you please test again? >> Looks as if you'd also need apacheds-core-constants. > I added this dependency. Thanks, it works now. > It is reported as 'unused declared' by dependency:analyze, but used. I don't know how dependency:analyze works, but it likely analyzes the bytecode of your compiled classes. Since you only use "static final" constants the compiler will inline any references and the bytecode doesn't contain any traces of the dependency anymore. Stefan
