directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Seelmann <seelm...@apache.org>
Subject Re: Pb with trunk when running tests
Date Tue, 09 Feb 2010 21:46:27 GMT
Hi Emmanuel,

my idea with shared-all was to add it as single shared reference to the 
apacheds parent pom and remove all other shared dependencies from the 
apacheds module poms. I hoped that would help to reduce the total number 
of dependencies, because in the end apacheds uses all shared modules.

I'm not sure if it works. But for sure as soon as another shared 
dependency is declared in an apacheds module it won't work.

Kind Regards,
Stefan


Emmanuel Lecharny wrote:
> Is anyone experimenting the same problem ?
> 
> When I do a project/resources/superclean.sh and run mvn clean install, I 
> get always this error :
> 
> ------------------------------------------------------------------------------- 
> 
> Test set: org.apache.directory.server.suites.StockServerISuite
> ------------------------------------------------------------------------------- 
> 
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.425 
> sec <<< FAILURE!
> org.apache.directory.server.suites.StockServerISuite  Time elapsed: 0 
> sec <<< ERROR!
> org.apache.directory.shared.ldap.schema.ldif.extractor.UniqueResourceException: 
> Problem locating LDIF file in schema repository
> Multiple copies of resource named 
> 'schema/ou=schema/cn=apachemeta/ou=matchingrules/m-oid=1.3.6.1.4.1.18060.0.4.0.1.3.ldif'

> located on classpath at urls
>     
> jar:file:/Users/elecharny/apacheds/trunk/shared/all/target/shared-all-0.9.18-SNAPSHOT.jar!/schema/ou%3dschema/cn%3dapachemeta/ou%3dmatchingrules/m-oid%3d1.3.6.1.4.1.18060.0.4.0.1.3.ldif

> 
>     
> jar:file:/Users/elecharny/apacheds/trunk/shared/ldap-schema/target/shared-ldap-schema-0.9.18-SNAPSHOT.jar!/schema/ou%3dschema/cn%3dapachemeta/ou%3dmatchingrules/m-oid%3d1.3.6.1.4.1.18060.0.4.0.1.3.ldif

> 
> ...
> 
> It seems that we refer to shared-all which includes the schemas, and 
> it's wrong at some point.
> 
> Anyone ?
> 


Mime
View raw message