directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aleksander Adamowski <apache-direct...@olo.org.pl>
Subject 2.0.0-M4 - resource conflict between artifacts used by integration test framework
Date Sun, 29 Jan 2012 16:49:48 GMT
The integration test framework is dependent on an LDIF file which
contains matching rules.

However, between some dependencies there exist a conflict because the
file is duplicated - it's present in both
org.apache.directory.shared:shared-ldap-schema-data:jar:1.0.0-M9 and
org.apache.directory.server:apacheds-all:jar:2.0.0-M4.

The dependency path to these conflicting artifacts is (as shown by mvn
dependency:tree):

+- org.apache.directory.server:apacheds-all:jar:2.0.0-M4:compile
(direct dependency)
...
+- org.apache.directory.server:apacheds-core-integ:jar:2.0.0-M4:compile
  ...
 |  \- org.apache.directory.shared:shared-ldap-schema-data:jar:1.0.0-M9:compile



This causes an error upon initialization of the testing framework:
[2012-01-29 17:17:54] ERROR
[org.apache.directory.server.core.integ.FrameworkRunner] - ERR_181
Failed to run the class
pl.org.olo.krbldap.apacheds.test.KrbLdapIntegrationTest
[2012-01-29 17:17:54] ERROR
[org.apache.directory.server.core.integ.FrameworkRunner] - 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:/home/olo/.m2/repository/org/apache/directory/server/apacheds-all/2.0.0-M4/apacheds-all-2.0.0-M4.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:/home/olo/.m2/repository/org/apache/directory/shared/shared-ldap-schema-data/1.0.0-M9/shared-ldap-schema-data-1.0.0-M9.jar!/schema/ou%3dschema/cn%3dapachemeta/ou%3dmatchingrules/m-oid%3d1.3.6.1.4.1.18060.0.4.0.1.3.ldif

-- 
Best Regards,
  Aleksander Adamowski
  http://olo.org.pl

Mime
View raw message