Uploaded image for project: 'Directory ApacheDS'
  1. Directory ApacheDS
  2. DIRSERVER-2066

Maven 3.3.x produces Invalid installers/archives

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • 2.0.0.AM26
    • installer-plugin
    • None

    Description

      Installer tests fail with following error:

      org.apache.directory.api.ldap.schema.extractor.UniqueResourceException: Problem locating LDIF file in schema repository
      Multiple copies of resource named 'schema/ou=schema/cn=apachedns/ou=objectclasses/m-oid=1.3.6.1.4.1.18060.0.4.2.3.9.ldif' located on classpath at urls
          jar:file:/xxx/installers/target/installers/apacheds-archive-tar.gz/apacheds-2.0.0-M21-SNAPSHOT/lib/apacheds-service-2.0.0-M21-SNAPSHOT.jar!/schema/ou%3dschema/cn%3dapachedns/ou%3dobjectclasses/m-oid%3d1.3.6.1.4.1.18060.0.4.2.3.9.ldif
          jar:file:/xxx/installers/apacheds-archive-tar.gz/apacheds-2.0.0-M21-SNAPSHOT/lib/api-ldap-schema-data-1.0.0-M31-SNAPSHOT.jar!/schema/ou%3dschema/cn%3dapachedns/ou%3dobjectclasses/m-oid%3d1.3.6.1.4.1.18060.0.4.2.3.9.ldif
              at org.apache.directory.api.ldap.schema.extractor.impl.DefaultSchemaLdifExtractor.getUniqueResource(DefaultSchemaLdifExtractor.java:372)
              at org.apache.directory.api.ldap.schema.extractor.impl.DefaultSchemaLdifExtractor.getUniqueResourceAsStream(DefaultSchemaLdifExtractor.java:349)
              at org.apache.directory.api.ldap.schema.extractor.impl.DefaultSchemaLdifExtractor.extractFromClassLoader(DefaultSchemaLdifExtractor.java:387)
              at org.apache.directory.api.ldap.schema.extractor.impl.DefaultSchemaLdifExtractor.extractOrCopy(DefaultSchemaLdifExtractor.java:163)
              at org.apache.directory.api.ldap.schema.extractor.impl.DefaultSchemaLdifExtractor.extractOrCopy(DefaultSchemaLdifExtractor.java:183)
              at org.apache.directory.server.ApacheDsService.initSchemaManager(ApacheDsService.java:239)
              at org.apache.directory.server.ApacheDsService.start(ApacheDsService.java:169)
              at org.apache.directory.server.UberjarMain.start(UberjarMain.java:76)
              at org.apache.directory.server.UberjarMain.main(UberjarMain.java:54)
      

      Attachments

        Activity

          People

            seelmann Stefan Seelmann
            seelmann Stefan Seelmann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: